[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-699-gecc53d0

Michael Adam obnox at samba.org
Mon Feb 9 22:39:27 GMT 2009


The branch, master has been updated
       via  ecc53d0312dbe0af85ae490e4f4953e1ad4906fb (commit)
      from  69fff2d750fff7742c437d89831804afd674d9d1 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ecc53d0312dbe0af85ae490e4f4953e1ad4906fb
Author: Michael Adam <obnox at samba.org>
Date:   Mon Feb 9 23:24:31 2009 +0100

    Revert "s3:winbindd_user: create domain connection in winbindd_fill_pwent if necessary."
    
    This reverts commit 487f5e7b4768cfe9e511b0ba56f16c411e21f702.
    
    I was confused about the real meaning of find_domain_from_name_noinit()
    vs. find_domain_from_name(). We don't need the connection established
    here, just the domain struct which gets initialized by rescan_trusted_domains().
    
    Sorry for the noise.
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source3/winbindd/winbindd_user.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_user.c b/source3/winbindd/winbindd_user.c
index 8b481f9..a6740b1 100644
--- a/source3/winbindd/winbindd_user.c
+++ b/source3/winbindd/winbindd_user.c
@@ -80,7 +80,7 @@ static bool winbindd_fill_pwent(TALLOC_CTX *ctx, char *dom_name, char *user_name
 	if (!pw || !dom_name || !user_name)
 		return False;
 
-	domain = find_domain_from_name(dom_name);
+	domain = find_domain_from_name_noinit(dom_name);
 	if (domain == NULL) {
 		DEBUG(5,("winbindd_fill_pwent: Failed to find domain for %s.\n",
 			 dom_name));


-- 
Samba Shared Repository


More information about the samba-cvs mailing list