[SAMBA4] Possible task: LDAP backend improvements

Andrew Bartlett abartlet at samba.org
Fri Apr 3 11:14:44 GMT 2009

On Fri, 2009-04-03 at 07:26 +0200, Michael Ströder wrote:
> 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.

The provision system is built around using (reading/writing) a live
database, so we are not able to simply slapcat in an LDIF file, as at no
point does it construct a single LDIF.

As such, we need a live slapd.

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20090403/b665df8a/attachment.bin

More information about the samba-technical mailing list