summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-03-22 16:03:33 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-03-22 20:24:41 +1100
commitfe3e1af901c970f738bee92baac5d7d4f5736e17 (patch)
tree88666ac36e3d7041b24592600f361c412aaa5c3f /source4/dsdb/schema/schema.h
parentd0b54476fc9f855d1e482597538a7ec60e04f331 (diff)
downloadsamba-fe3e1af901c970f738bee92baac5d7d4f5736e17.tar.gz
samba-fe3e1af901c970f738bee92baac5d7d4f5736e17.tar.bz2
samba-fe3e1af901c970f738bee92baac5d7d4f5736e17.zip
s4:dsdb Rework schema loading and add schema reloading
This commit reworks Samba4's schema loading code to detect when it needs to reload the schema. This is done by watching the @REPLCHANGED special DN. The reload happens by means of a callback, which is only set when the schema is loaded from the ldb - not when loaded from an LDIF file or DRS. We also rework the global schema handling - instead of storing the pointer to the global schema in each ldb, we store a flag indicating that the global schema should be returned at run time. This makes it much easier to switch to a new global schema. Andrew Bartlett
Diffstat (limited to 'source4/dsdb/schema/schema.h')
0 files changed, 0 insertions, 0 deletions