summaryrefslogtreecommitdiffstats
path: root/source/winbindd/winbindd_user.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-12-03 16:38:55 +0100
committerKarolin Seeger <kseeger@samba.org>2008-12-11 10:27:15 +0100
commit70d181994f4920e02f608a9d5bdc60e28a42808b (patch)
tree134bb9b54674088516b96c717c0a2fbcbccbca84 /source/winbindd/winbindd_user.c
parent16bcd4d8bcffe80f30f30edef0b736ac9cacdf45 (diff)
downloadsamba-70d181994f4920e02f608a9d5bdc60e28a42808b.tar.gz
samba-70d181994f4920e02f608a9d5bdc60e28a42808b.tar.xz
samba-70d181994f4920e02f608a9d5bdc60e28a42808b.zip
winbindd: don't open a new dc connection in winbindd_getpwnam (main winbindd)
This is just to find the corresponding domain struct. Actual connection is handled by the domain child. Michael (cherry picked from commit 23f493795ce506f9dae5468edcd6c49de91c57a6)
Diffstat (limited to 'source/winbindd/winbindd_user.c')
-rw-r--r--source/winbindd/winbindd_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/winbindd/winbindd_user.c b/source/winbindd/winbindd_user.c
index e5d0a22a732..fd1fdd36998 100644
--- a/source/winbindd/winbindd_user.c
+++ b/source/winbindd/winbindd_user.c
@@ -456,7 +456,7 @@ void winbindd_getpwnam(struct winbindd_cli_state *state)
/* Get info for the domain */
- domain = find_domain_from_name(domname);
+ domain = find_domain_from_name_noinit(domname);
if (domain == NULL) {
DEBUG(7, ("could not find domain entry for domain %s. "