[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3613) globbing support for slapd config's include statement



The patch doesn't qualify for direct inclusion, although it may be of 
interest.  2.2 is feature frozen, so you should rearrange it for HEAD.  
However, HEAD is undergoing major redesign in this area; see discussion 
about back-config and modifications via LDAP protocol.  File inclusion 
has been recently discussed a bit on the -devel mailing list, so fitting 
this feature into its design might not be as trivial as you expect.

p.

fake@hpc.at wrote:

>Full_Name: Thomas "fake" Jakobi
>Version: 2.2.24
>OS: linux
>URL: http://f4k3.net/~fake/openldap-slapd-config-globbing.diff
>Submission from: (NULL) (62.99.209.165)
>
>
>hi,
>
>i am a package maintainer for rock linux (www.rocklinux.org), and i needed a way
>for packages to supply additional schems and ldap configs clearly seperated from
>the openldap package, but useable like the apache config include directive.
>
>i extended slapd's config.c inlude directive processing to use posix-conformant
>globbing, so a 'sites' directory with any number of config files can be
>'included'.
>
>the INFO log output is only issued for NEW_LOGGING, because a log entry without
>the filename being included next is pretty helpless, i guess...
>
>sorry this is not against HEAD, but as you may see, it's rather trivial and
>straight-forward. patch is unified, -p1.
>  
>



    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497