git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6e3ee
)
s3:winbindd_user: create domain connection in winbindd_fill_pwent if necessary.
author
Michael Adam
<obnox@samba.org>
Mon, 9 Feb 2009 12:50:31 +0000
(13:50 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 9 Feb 2009 13:16:26 +0000
(14:16 +0100)
Calling find_domain_from_name_noinit() might not be enough here.
This makes winbindd_getpwent() behave the same as winbindd_getgrent().
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
source/winbindd/winbindd_user.c
patch
|
blob
|
history
diff --git
a/source/winbindd/winbindd_user.c
b/source/winbindd/winbindd_user.c
index a6740b1fb8659db14a284c776420218d034391db..8b481f972c6f5a953ca16c733e43011fecbcf8a4 100644
(file)
--- a/
source/winbindd/winbindd_user.c
+++ b/
source/winbindd/winbindd_user.c
@@
-80,7
+80,7
@@
static bool winbindd_fill_pwent(TALLOC_CTX *ctx, char *dom_name, char *user_name
if (!pw || !dom_name || !user_name)
return False;
- domain = find_domain_from_name
_noinit
(dom_name);
+ domain = find_domain_from_name(dom_name);
if (domain == NULL) {
DEBUG(5,("winbindd_fill_pwent: Failed to find domain for %s.\n",
dom_name));