summaryrefslogtreecommitdiffstats
path: root/source/lib/ldb/common/ldb_parse.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-10-11 11:00:16 +0000
committerAndrew Tridgell <tridge@samba.org>2005-10-11 11:00:16 +0000
commit660c8616b0d67c649e136135aec8bbc514fd4a65 (patch)
treef814e57fb827a1a4b007820bd92450d85de9348c /source/lib/ldb/common/ldb_parse.c
parent6e98c6694c7f254b138c16eb03a8b377c738ff18 (diff)
downloadsamba-660c8616b0d67c649e136135aec8bbc514fd4a65.tar.gz
samba-660c8616b0d67c649e136135aec8bbc514fd4a65.tar.xz
samba-660c8616b0d67c649e136135aec8bbc514fd4a65.zip
r10894: make the handling of dn/distinguishedName much closer to real
ldap. Also ensure we put a objectclass on our private ldb's, so they have some chance of being stored in ldap if you want to
Diffstat (limited to 'source/lib/ldb/common/ldb_parse.c')
-rw-r--r--source/lib/ldb/common/ldb_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/ldb/common/ldb_parse.c b/source/lib/ldb/common/ldb_parse.c
index 27f9e1ec255..e61511ebec2 100644
--- a/source/lib/ldb/common/ldb_parse.c
+++ b/source/lib/ldb/common/ldb_parse.c
@@ -621,7 +621,7 @@ static struct ldb_parse_tree *ldb_parse_filter(void *mem_ctx, const char **s)
struct ldb_parse_tree *ldb_parse_tree(void *mem_ctx, const char *s)
{
if (s == NULL || *s == 0) {
- s = "(|(objectClass=*)(dn=*))";
+ s = "(|(objectClass=*)(distinguishedName=*))";
}
while (isspace((unsigned char)*s)) s++;