git.samba.org
/
obnox
/
samba-ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f360a6
)
s3: Actually stop guessing in lookup_name if we were given a domain
author
Volker Lendecke
<vl@samba.org>
Thu, 8 Sep 2011 12:54:57 +0000
(14:54 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 11 Oct 2011 13:21:10 +0000
(15:21 +0200)
source3/passdb/lookup_sid.c
patch
|
blob
|
history
diff --git
a/source3/passdb/lookup_sid.c
b/source3/passdb/lookup_sid.c
index a8c30835d172038156eb66f6fd7757fdef36b71a..29b86c01155fcb0fc27986fa6a30620c5e75a61f 100644
(file)
--- a/
source3/passdb/lookup_sid.c
+++ b/
source3/passdb/lookup_sid.c
@@
-150,6
+150,11
@@
bool lookup_name(TALLOC_CTX *mem_ctx,
return false;
}
+ if (domain[0] != '\0') {
+ TALLOC_FREE(tmp_ctx);
+ return false;
+ }
+
DEBUG(10, ("guesswork for domain [%s] begins\n", domain));
/* Now the guesswork begins, we haven't been given an explicit