diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-10-11 11:00:16 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2005-10-11 11:00:16 +0000 |
commit | 660c8616b0d67c649e136135aec8bbc514fd4a65 (patch) | |
tree | f814e57fb827a1a4b007820bd92450d85de9348c /source/lib/gendb.c | |
parent | 6e98c6694c7f254b138c16eb03a8b377c738ff18 (diff) | |
download | samba-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/gendb.c')
-rw-r--r-- | source/lib/gendb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/gendb.c b/source/lib/gendb.c index a5fe7c3bced..e0fb9662bbd 100644 --- a/source/lib/gendb.c +++ b/source/lib/gendb.c @@ -90,7 +90,7 @@ int gendb_search_dn(struct ldb_context *ldb, struct ldb_message ***res, const char * const *attrs) { - return gendb_search(ldb, mem_ctx, dn, res, attrs, "dn=%s", ldb_dn_linearize(mem_ctx, dn)); + return gendb_search(ldb, mem_ctx, dn, res, attrs, NULL); } /* |