summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-12-03 15:59:17 +0100
committerMichael Adam <obnox@samba.org>2008-12-04 13:39:05 +0100
commitdb59cbfba8018d5b8eaf71d6a4441c5914baca4c (patch)
tree1ef96bad02d8a095fc782778959ac2b0b425dfdd /source3
parent6c9b0298a99ba14d832b30d9396bed64ae4ebd3e (diff)
downloadsamba-db59cbfba8018d5b8eaf71d6a4441c5914baca4c.tar.gz
samba-db59cbfba8018d5b8eaf71d6a4441c5914baca4c.tar.bz2
samba-db59cbfba8018d5b8eaf71d6a4441c5914baca4c.zip
s3:winbindd: don't open a new dc connection in winbindd_getgrnam (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_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c
index 3422fdba1c..8b4d4d6dec 100644
--- a/source3/winbindd/winbindd_group.c
+++ b/source3/winbindd/winbindd_group.c
@@ -800,7 +800,7 @@ void winbindd_getgrnam(struct winbindd_cli_state *state)
/* Get info for the domain */
- if ((domain = find_domain_from_name(name_domain)) == NULL) {
+ if ((domain = find_domain_from_name_noinit(name_domain)) == NULL) {
DEBUG(3, ("could not get domain sid for domain %s\n",
name_domain));
request_error(state);