diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-09-24 14:13:48 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@sn-devel-104.sn.samba.org> | 2010-10-03 15:23:18 +0000 |
commit | 6c9b25ea5c1d61db2265ba1d8735ffc27a256f6b (patch) | |
tree | 7af9f74c1812bc159b24a94867e91751cbb6964f | |
parent | 4b16cc9eef62171a7df276ec88064084147e2f8f (diff) | |
download | samba-6c9b25ea5c1d61db2265ba1d8735ffc27a256f6b.tar.gz samba-6c9b25ea5c1d61db2265ba1d8735ffc27a256f6b.tar.bz2 samba-6c9b25ea5c1d61db2265ba1d8735ffc27a256f6b.zip |
s4:objectclass LDB module - fix the delete behaviour of server containers
A typo prevented the right behaviour.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c index 7541e1d03d..9ff20319b6 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass.c @@ -709,8 +709,8 @@ static int objectclass_do_add(struct oc_context *ac) if (ldb_attr_cmp(objectclass->lDAPDisplayName, "server") == 0) { systemFlags |= (int32_t)(SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE | SYSTEM_FLAG_CONFIG_ALLOW_RENAME | SYSTEM_FLAG_CONFIG_ALLOW_LIMITED_MOVE); } else if (ldb_attr_cmp(objectclass->lDAPDisplayName, "site") == 0 - || ldb_attr_cmp(objectclass->lDAPDisplayName, "serverContainer") == 0 - || ldb_attr_cmp(objectclass->lDAPDisplayName, "ntDSDSA") == 0) { + || ldb_attr_cmp(objectclass->lDAPDisplayName, "serversContainer") == 0 + || ldb_attr_cmp(objectclass->lDAPDisplayName, "nTDSDSA") == 0) { systemFlags |= (int32_t)(SYSTEM_FLAG_DISALLOW_MOVE_ON_DELETE); } else if (ldb_attr_cmp(objectclass->lDAPDisplayName, "siteLink") == 0 |