diff options
author | Matthieu Patou <mat@matws.net> | 2012-04-28 15:55:06 -0700 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2012-04-29 07:35:10 +0200 |
commit | 441b20872bd4eebc47bf68223694a1f71f833bb5 (patch) | |
tree | cc894990ab93e70ac301c352c0b3bbb040aba1f4 /source4 | |
parent | e2a16909a12de08d6541ef7d4936d1ab5f46284d (diff) | |
download | samba-441b20872bd4eebc47bf68223694a1f71f833bb5.tar.gz samba-441b20872bd4eebc47bf68223694a1f71f833bb5.tar.xz samba-441b20872bd4eebc47bf68223694a1f71f833bb5.zip |
dsdb: change control from relax to dbcheck
Comment indicate that this is needed by dbcheck only and it permits
other projects to push broken schema and remain undetected
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectclass_attrs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c index d45c46fdb93..3b8d2ecd395 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass_attrs.c @@ -192,7 +192,7 @@ static int attr_handler(struct oc_context *ac) attr = dsdb_attribute_by_lDAPDisplayName(ac->schema, msg->elements[i].name); if (attr == NULL) { - if (ldb_request_get_control(ac->req, LDB_CONTROL_RELAX_OID) && + if (ldb_request_get_control(ac->req, DSDB_CONTROL_DBCHECK) && ac->req->operation != LDB_ADD) { /* we allow this for dbcheck to fix broken attributes */ |