Author: idra Date: 2005-01-16 22:41:43 +0000 (Sun, 16 Jan 2005) New Revision: 4786
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4786 Log: forgot to commit the exclusion for schema checking against our control entries Modified: branches/SAMBA_4_0/source/lib/ldb/modules/schema.c Changeset: Modified: branches/SAMBA_4_0/source/lib/ldb/modules/schema.c =================================================================== --- branches/SAMBA_4_0/source/lib/ldb/modules/schema.c 2005-01-16 22:38:41 UTC (rev 4785) +++ branches/SAMBA_4_0/source/lib/ldb/modules/schema.c 2005-01-16 22:41:43 UTC (rev 4786) @@ -384,6 +384,10 @@ Free all structures and commit the change */ + if (msg->dn[0] == '@') { /* do not check on our control entries */ + return ldb_next_add_record(module, msg); + } + entry_structs = talloc(module, struct schema_structures); if (!entry_structs) { return -1; @@ -471,6 +475,10 @@ Free all structures and commit the change. */ + if (msg->dn[0] == '@') { /* do not check on our control entries */ + return ldb_next_modify_record(module, msg); + } + /* allocate object structs */ entry_structs = talloc(module, struct schema_structures); if (!entry_structs) {
