git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db59cbf
)
s3:winbindd: don't open a new dc connection in winbindd_getpwnam (main winbindd)
author
Michael Adam
<obnox@samba.org>
Wed, 3 Dec 2008 15:38:55 +0000
(16:38 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 4 Dec 2008 12:39:05 +0000
(13:39 +0100)
This is just to find the corresponding domain struct.
Actual connection is handled by the domain child.
Michael
source3/winbindd/winbindd_user.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_user.c
b/source3/winbindd/winbindd_user.c
index e5d0a22a7324e03c905d1832fa526de3121f8f56..fd1fdd36998e62aaa5442d9bfcf239089f03d76b 100644
(file)
--- 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. "