[SCM] Samba Shared Repository - branch master updated -
95b4baf5adc61e823a83044e9a679a6200d2f6af
Michael Adam
obnox at samba.org
Thu Dec 4 12:55:18 GMT 2008
The branch, master has been updated
via 95b4baf5adc61e823a83044e9a679a6200d2f6af (commit)
via db59cbfba8018d5b8eaf71d6a4441c5914baca4c (commit)
from 6c9b0298a99ba14d832b30d9396bed64ae4ebd3e (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 95b4baf5adc61e823a83044e9a679a6200d2f6af
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 3 16:38:55 2008 +0100
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
commit db59cbfba8018d5b8eaf71d6a4441c5914baca4c
Author: Michael Adam <obnox at samba.org>
Date: Wed Dec 3 15:59:17 2008 +0100
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
-----------------------------------------------------------------------
Summary of changes:
source3/winbindd/winbindd_group.c | 2 +-
source3/winbindd/winbindd_user.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/winbindd/winbindd_group.c b/source3/winbindd/winbindd_group.c
index 3422fdb..8b4d4d6 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);
diff --git a/source3/winbindd/winbindd_user.c b/source3/winbindd/winbindd_user.c
index e5d0a22..fd1fdd3 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. "
--
Samba Shared Repository
More information about the samba-cvs
mailing list