s4:dsdb/samdb/ldb_modules/objectclass.c - move LSA specific object checks into "objec...
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 21 Dec 2010 11:24:30 +0000 (12:24 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 25 Jan 2011 11:27:20 +0000 (12:27 +0100)
commit3468f8de1e408389bd12f2d3f5294bd835431a05
tree65b1d2c24ee564a42e4e58be87dde342deff026f
parentc9f4fad75cf9749709cbebfe55c59f3c2d01858e
s4:dsdb/samdb/ldb_modules/objectclass.c - move LSA specific object checks into "objectclass_attrs" LDB module

LSA object classes are protected on both LDAP add and LDAP modify
operations, so I've refactored the previous check in the objectclass LDB
module only for LDAP adds in a new one in the objectclass_attrs LDB
module for both adds and modifies.
This is the result of the investigations done by Hongwei Sun and I in
the last months.
Interestingly these protection mechansim doesn't apply on LDAP deletes!

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/objectclass.c
source4/dsdb/samdb/ldb_modules/objectclass_attrs.c