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

Re: ACLparse: variables replacment (ITS#2794)



Suggest you just use your favorite macro processor (cpp, m4,
whatever) to do such substitutions.  

Adding built-in preprocessor support to slapd.conf(5) handling
would be problematic since there are many programs, most not
maintained by the project, which parse slapd.conf(5) files.

Kurt

At 03:10 PM 10/23/2003, ace@suares.nl wrote:
>Full_Name: Ace SU-ares 
>Version: 2.1.22
>OS: Linux ?
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (216.152.170.224)
>
>
>Feautre request
>
>Another feature that could make ACL's more simple to maintain, would be the 
>define of some constants at the top of the ACL file. It would be really handy 
>to, for example, specify:
>
>PEOPLETREE: ou=people,dc=example,dc=com
>ADMIN: cn=admin,$PEOPLETREE$
>
>at the top of the file and later use it like this:
>
>access to $PEOPLETREE$
>        by $ADMIN$ write
>        by users read
>        by anonymous auth
>        by * none
>
>What do you think ?
>
>_Ace