summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-12-03 16:38:55 +0100
committerMichael Adam <obnox@samba.org>2008-12-04 13:39:05 +0100
commit95b4baf5adc61e823a83044e9a679a6200d2f6af (patch)
tree95c07021d427c5ba3fd01abfd3614e0facd5ef77 /source3
parentdb59cbfba8018d5b8eaf71d6a4441c5914baca4c (diff)
downloadsamba-95b4baf5adc61e823a83044e9a679a6200d2f6af.tar.gz
samba-95b4baf5adc61e823a83044e9a679a6200d2f6af.tar.bz2
samba-95b4baf5adc61e823a83044e9a679a6200d2f6af.zip
s3: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
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 e5d0a22a73..fd1fdd3699 100644
--- a/source3/winbindd/winbindd_user.c
+++ b/source3/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. "