[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Patch to support configuration directories (ITS#4530)
--Apple-Mail-6--628652231
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
On 11 mei 2006, at 1:05, Quanah Gibson-Mount wrote:
> I do that already without any such patch.
>
> You simply put
>
> include /path/to/file/with/acls
>
> in slapd.conf. ;)
>
I know. :-) Thought of that, but in this project we want to be able to
automatically create some new subtrees and add replication- and
ACL-configuration directives for them. And then I prefer creating a
file that gets parsed automatically over having to insert some new
rules into a file (not just appending them).
And by prefixing files with number they get loaded in the right order,
like in most Unix things that do this.
IMHO this is cleaner than having to open a file, read it until some
specific place in the middle and writing it all to a tempfile, then
writing some additional content to that tempfile, and then copying the
rest of the input file there, and then to rename the tempfile to the
new conffile.
Wilmer van der Gaast.
--
+-------- .''`. - -- ---+ + - -- --- ---- ----- ------+
| wilmer : :' : gaast.net | | OSS Programmer www.bitlbee.org |
| lintux `. `~' debian.org | | Full-time geek wilmer.gaast.net |
+--- -- - ` ---------------+ +------ ----- ---- --- -- - +
--Apple-Mail-6--628652231
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFEYtzeeYWXmuMwQFERAmYlAJ9vBccetINPaC3pqdKZfq7oQQYt2wCgkFI2
9oJlmhLTEsxuJrAS1duICrE=
=52C8
-----END PGP SIGNATURE-----
--Apple-Mail-6--628652231--