summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-09 13:50:31 +0100
committerMichael Adam <obnox@samba.org>2009-02-09 14:05:42 +0100
commit487f5e7b4768cfe9e511b0ba56f16c411e21f702 (patch)
tree5e0f7603871ebd0158d6252ae195cf7a525cb459 /source3/winbindd
parenta63f6024739e922e0bb6c929a1b9112e5e8e09de (diff)
downloadsamba-487f5e7b4768cfe9e511b0ba56f16c411e21f702.tar.gz
samba-487f5e7b4768cfe9e511b0ba56f16c411e21f702.tar.bz2
samba-487f5e7b4768cfe9e511b0ba56f16c411e21f702.zip
s3:winbindd_user: create domain connection in winbindd_fill_pwent if necessary.
Calling find_domain_from_name_noinit() might not be enough here. This makes winbindd_getpwent() behave the same as winbindd_getgrent(). Michael
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_user.c b/source3/winbindd/winbindd_user.c
index a6740b1fb8..8b481f972c 100644
--- a/source3/winbindd/winbindd_user.c
+++ b/source3/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));