r16062: objectCategory is a DN, and needs to be matched as such.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 6 Jun 2006 17:54:10 +0000 (17:54 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:08:55 +0000 (14:08 -0500)
Andrew Bartlett
(This used to be commit 1a868b451a47798dc539e0754ab2b075813ed368)

source4/lib/ldb/common/ldb_attributes.c

index 13e721a266eab6c0bf1932bc565b20bbc6db462f..679a05f244001a8cff38d66805677ed5b5e74c51 100644 (file)
@@ -166,6 +166,7 @@ int ldb_setup_wellknown_attributes(struct ldb_context *ldb)
                { "dn", LDB_SYNTAX_DN },
                { "ncName", LDB_SYNTAX_DN },
                { "distinguishedName", LDB_SYNTAX_DN },
+               { "objectCategory", LDB_SYNTAX_DN },
                { "cn", LDB_SYNTAX_DIRECTORY_STRING },
                { "dc", LDB_SYNTAX_DIRECTORY_STRING },
                { "ou", LDB_SYNTAX_DIRECTORY_STRING },