Test for schemaUpdateNow

Andrew Bartlett abartlet at samba.org
Tue Jul 7 22:52:14 GMT 2009


On Tue, 2009-07-07 at 17:06 +0200, Stefan (metze) Metzmacher wrote:
> Hi Anatoliy,
> 
> > What did you run to verify that schemaUpdateNow works only in single process model, I use make test TESTS=ldap to run the test.
> 
> I didn't run anything. dsdb_make_schema_global() operates on a global
> variable and can't work with the fork model.

Except that we force the LDAP server to only run in a single process.
This may be misguided, but it's what we do at the moment.  We should
send a signal to all the processes to reload their schema (which will
bloat out their memory)

> > I also tried: 
> > self.ldb = Ldb(host, credentials=creds, session_info=system_session(), lp=lp)
> > 
> > After each self.ldb.add_ldif(ldif) to get a new Ldb connection and it worked just the same
> 
> Also against Windows?
> 
> metze
> 
-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco 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/20090708/29f1ebdf/attachment.bin


More information about the samba-technical mailing list