[SAMBA4] Possible task: LDAP backend improvements
Michael Ströder
michael at stroeder.com
Fri Apr 3 05:26:21 GMT 2009
Andrew Bartlett wrote:
> An improved provision script would take a path to the slapd binary
> (possibly detected at configure time), and incorporate the code in
> master/selftest/target/Samba4.pm to generate the modules.conf for the
> slapd.conf
>
> Then, the python script should start slapd, and watch it for improper
> termination. If it starts (using the command line already suggested,
> but only listening on ldapi) and stays started, we should provision it
> normally, then shut it down.
Just an idea to consider: If you already know the path to the slapd
binary you could slapadd (slapd -T add) the LDIF data to be provisioned
instead of starting slapd. This might also be faster.
Ciao, Michael.
More information about the samba-technical
mailing list