[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-3226-g284b3e5
Michael Adam
obnox at samba.org
Thu Dec 4 12:21:26 GMT 2008
The branch, v3-2-test has been updated
via 284b3e50435d4450008031e00b7290a1970a0cc4 (commit)
via b8e94c56a68cb3525682e24de6078608a1146240 (commit)
from 05fbd5f87cb39cffe0acc5c3132e13f2d471edf2 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 284b3e50435d4450008031e00b7290a1970a0cc4
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 3 16:38:55 2008 +0100
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
commit b8e94c56a68cb3525682e24de6078608a1146240
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 3 15:59:17 2008 +0100
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
-----------------------------------------------------------------------
Summary of changes:
source/winbindd/winbindd_group.c | 2 +-
source/winbindd/winbindd_user.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/winbindd/winbindd_group.c b/source/winbindd/winbindd_group.c
index c212294..9307250 100644
--- a/source/winbindd/winbindd_group.c
+++ b/source/winbindd/winbindd_group.c
@@ -707,7 +707,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);
diff --git a/source/winbindd/winbindd_user.c b/source/winbindd/winbindd_user.c
index 19feec3..2c73fea 100644
--- a/source/winbindd/winbindd_user.c
+++ b/source/winbindd/winbindd_user.c
@@ -384,7 +384,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. "
--
Samba Shared Repository
More information about the samba-cvs
mailing list