summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb')
-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));