diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-06-06 17:19:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:08:55 -0500 |
commit | 629d6ad3cf98deba6b9e15701ed0c5d908b9fe11 (patch) | |
tree | 51cfa41b3bbbf5c26f8aa165b770570ba0f5461d /source4/dsdb | |
parent | 1335e8f5f181e4d06a85a0f0b572b4bc9c42ef8e (diff) | |
download | samba-629d6ad3cf98deba6b9e15701ed0c5d908b9fe11.tar.gz samba-629d6ad3cf98deba6b9e15701ed0c5d908b9fe11.tar.bz2 samba-629d6ad3cf98deba6b9e15701ed0c5d908b9fe11.zip |
r16061: Prove that removing the objectClass list in the samldb module breaks things.
With this fix, we now correctly detect computers again, and get the
correct objectCategory, which is important for the OSX AD plugin.
Andrew Bartlett
(This used to be commit 4e39d7bb245bc337ac496c7e39a510d1c5611c71)
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/samldb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/samldb.c b/source4/dsdb/samdb/ldb_modules/samldb.c index 52433b6249..464d08068f 100644 --- a/source4/dsdb/samdb/ldb_modules/samldb.c +++ b/source4/dsdb/samdb/ldb_modules/samldb.c @@ -615,9 +615,6 @@ static int samldb_fill_user_or_computer_object(struct ldb_module *module, const return LDB_ERR_OPERATIONS_ERROR; } - /* remove objectclasses so that they will be added in the right order for MMC to be happy */ - ldb_msg_remove_attr(msg, "objectclass"); - if (samldb_find_attribute(msg, "objectclass", "computer") != NULL) { ret = samldb_copy_template(module, msg2, "(&(CN=TemplateComputer)(objectclass=userTemplate))"); |