summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-02-09 23:24:31 +0100
committerMichael Adam <obnox@samba.org>2009-02-09 23:30:42 +0100
commitecc53d0312dbe0af85ae490e4f4953e1ad4906fb (patch)
treec4cfea6975202e0e52bd242cb41d3f1b3882f93c /source3
parent69fff2d750fff7742c437d89831804afd674d9d1 (diff)
downloadsamba-ecc53d0312dbe0af85ae490e4f4953e1ad4906fb.tar.gz
samba-ecc53d0312dbe0af85ae490e4f4953e1ad4906fb.tar.bz2
samba-ecc53d0312dbe0af85ae490e4f4953e1ad4906fb.zip
Revert "s3:winbindd_user: create domain connection in winbindd_fill_pwent if necessary."
This reverts commit 487f5e7b4768cfe9e511b0ba56f16c411e21f702. I was confused about the real meaning of find_domain_from_name_noinit() vs. find_domain_from_name(). We don't need the connection established here, just the domain struct which gets initialized by rescan_trusted_domains(). Sorry for the noise. Michael
Diffstat (limited to 'source3')
-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 8b481f972c..a6740b1fb8 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(dom_name);
+ domain = find_domain_from_name_noinit(dom_name);
if (domain == NULL) {
DEBUG(5,("winbindd_fill_pwent: Failed to find domain for %s.\n",
dom_name));