summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-06-06 17:54:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:55 -0500
commit5c3cbdbb138d44dbadced38794d41e5b659f6b55 (patch)
treeea9c9304ef05bd7bbe9765085a28969836376470 /source4/lib/ldb
parent629d6ad3cf98deba6b9e15701ed0c5d908b9fe11 (diff)
downloadsamba-5c3cbdbb138d44dbadced38794d41e5b659f6b55.tar.gz
samba-5c3cbdbb138d44dbadced38794d41e5b659f6b55.tar.bz2
samba-5c3cbdbb138d44dbadced38794d41e5b659f6b55.zip
r16062: objectCategory is a DN, and needs to be matched as such.
Andrew Bartlett (This used to be commit 1a868b451a47798dc539e0754ab2b075813ed368)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb_attributes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb_attributes.c b/source4/lib/ldb/common/ldb_attributes.c
index 13e721a266..679a05f244 100644
--- a/source4/lib/ldb/common/ldb_attributes.c
+++ b/source4/lib/ldb/common/ldb_attributes.c
@@ -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 },