summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2013-06-30 02:04:20 -0700
committerMatthieu Patou <mat@matws.net>2013-08-06 21:22:07 -0700
commit029e80da9d1ab5096cd0981110b588245f8fd50d (patch)
treed307f23f2f27a78b9781613c28ac7c1c20009641
parent552b4f3e022dca594e1dada7979fe351eee8cf9b (diff)
downloadsamba-029e80da9d1ab5096cd0981110b588245f8fd50d.tar.gz
samba-029e80da9d1ab5096cd0981110b588245f8fd50d.tar.bz2
samba-029e80da9d1ab5096cd0981110b588245f8fd50d.zip
drs-crackname: Fix error code so that we have the same as windows
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abarlett@samba.org>
-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 628546e959..caafd2fda7 100644
--- a/source4/dsdb/samdb/cracknames.c
+++ b/source4/dsdb/samdb/cracknames.c
@@ -934,6 +934,7 @@ static WERROR DsCrackNameOneFilter(struct ldb_context *sam_ctx, TALLOC_CTX *mem_
struct ldb_result *res;
uint32_t dsdb_flags = 0;
struct ldb_dn *real_search_dn;
+ info1->status = DRSUAPI_DS_NAME_STATUS_NOT_FOUND;
if (domain_res) {
if (!search_dn) {