[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4594-g23f4937

Michael Adam obnox at samba.org
Thu Dec 4 12:29:45 GMT 2008


The branch, v3-3-test has been updated
       via  23f493795ce506f9dae5468edcd6c49de91c57a6 (commit)
       via  53e8594714a5aa6dc5fb1379f0dc5c84b517a851 (commit)
      from  e1e76f19cf9c72abe4086965846b2d438cfbdd00 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 23f493795ce506f9dae5468edcd6c49de91c57a6
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 53e8594714a5aa6dc5fb1379f0dc5c84b517a851
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 3422fdb..8b4d4d6 100644
--- a/source/winbindd/winbindd_group.c
+++ b/source/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/source/winbindd/winbindd_user.c b/source/winbindd/winbindd_user.c
index e5d0a22..fd1fdd3 100644
--- a/source/winbindd/winbindd_user.c
+++ b/source/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