summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-12-19 23:43:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:33 -0500
commitda46c762af1ef62081d47a2b3d94e6c18ada97c0 (patch)
treecd4d0d29ac2a8c02fb3f0a9c1b173bf8a24e30b1 /source4/dsdb/samdb
parent631a7c5cdd558ea1e1d62d46d1e9475361bb1a1f (diff)
downloadsamba-da46c762af1ef62081d47a2b3d94e6c18ada97c0.tar.gz
samba-da46c762af1ef62081d47a2b3d94e6c18ada97c0.tar.bz2
samba-da46c762af1ef62081d47a2b3d94e6c18ada97c0.zip
r12382: Ensure to return OK on anonymous mapping.
Andrew Bartlett (This used to be commit d61817ebb754c2a7a6783415fdf5267eaad460e9)
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/cracknames.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/cracknames.c b/source4/dsdb/samdb/cracknames.c
index 2ea93acc32..a29e611566 100644
--- a/source4/dsdb/samdb/cracknames.c
+++ b/source4/dsdb/samdb/cracknames.c
@@ -910,6 +910,7 @@ NTSTATUS crack_dn_to_nt4_name(TALLOC_CTX *mem_ctx,
if (!dn || !*dn) {
*nt4_domain = "";
*nt4_account = "";
+ return NT_STATUS_OK;
}
ldb = samdb_connect(mem_ctx, system_session(mem_ctx));