Handle schema reloading request.
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Wed, 23 Jul 2008 06:59:17 +0000 (09:59 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 24 Jul 2008 01:54:30 +0000 (11:54 +1000)
commit39f9184ddf215f2b512319211c0a05702218ef87
treecb52899677f3cc27160a9e1c7fda5164abfa9693
parenta7bfa1fb1bc6fb8e412990b7ff4c3ce9bc55099d
Handle schema reloading request.
The ldif for that operation looks like this:

dn:
changetype: Modify
add: schemaUpdateNow
schemaUpdateNow: 1

It uses the rootdse's object functional attribute schemaUpdateNow.
In rootdse_modify() this command is being recognized and it is send as extended operation with DSDB_EXTENDED_SCHEMA_UPDATE_NOW_OID.
In the partition module its dispatched to the schema_fsmo module.
The request is processed in the schema_fsmo module by schema_fsmo_extended().
source/dsdb/samdb/ldb_modules/partition.c
source/dsdb/samdb/ldb_modules/rootdse.c
source/dsdb/samdb/ldb_modules/schema_fsmo.c
source/dsdb/samdb/samdb.h