Need a schema reload in Samba4 on any Schema change

Stefan (metze) Metzmacher metze at samba.org
Thu Mar 11 02:41:41 MST 2010


Andrew Bartlett schrieb:
> As I mentioned on IRC, I've recently done the work to get us to run
> 'make test' with a vampired DC.
> 
> You can see the branch for that work at
> git://git.samba.org/abartlet/samba.git vampire-test-wip
> 
> The problem is, untested code is broken code, and our DRSUAPI server was
> segfaulting, due to 'make test' altering the schema.  We would add
> attributes to the directory, but not all cached copies of the schema
> were updated.  
> 
> We need to ensure a message is somehow sent to all users of the schema
> to update, as soon as a change is made. 

I think we need a hook that checks and reloads the schema at the start
of each add/modify/rename/delete operation.

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100311/af451b46/attachment.pgp>


More information about the samba-technical mailing list