summaryrefslogtreecommitdiff
path: root/source4/lib/ldb-samba/ldif_handlers.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-10-10 17:15:11 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-10-10 23:09:06 +0200
commit938cb40290af72bdd887d964f46ccc00d80ab744 (patch)
tree86921dc70f4f69c784871571f416b90d68cfe9c6 /source4/lib/ldb-samba/ldif_handlers.c
parent93126b3315a70d1beaeaa64d05cdbfb167acbabe (diff)
downloadsamba-938cb40290af72bdd887d964f46ccc00d80ab744.tar.gz
samba-938cb40290af72bdd887d964f46ccc00d80ab744.tar.bz2
samba-938cb40290af72bdd887d964f46ccc00d80ab744.zip
ldb-samba: Add convenience function for doing a Samba-style LDB init.
Diffstat (limited to 'source4/lib/ldb-samba/ldif_handlers.c')
-rw-r--r--source4/lib/ldb-samba/ldif_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb-samba/ldif_handlers.c b/source4/lib/ldb-samba/ldif_handlers.c
index 7cb42e36dc..b2a0adc550 100644
--- a/source4/lib/ldb-samba/ldif_handlers.c
+++ b/source4/lib/ldb-samba/ldif_handlers.c
@@ -369,7 +369,7 @@ static int ldif_read_ntSecurityDescriptor(struct ldb_context *ldb, void *mem_ctx
(ndr_pull_flags_fn_t)ndr_pull_security_descriptor);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
/* If this does not parse, then it is probably SDDL, and we should try it that way */
-
+
const struct dom_sid *sid = samdb_domain_sid(ldb);
talloc_free(sd);
sd = sddl_decode(mem_ctx, (const char *)in->data, sid);