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

Michael Adam obnox at samba.org
Mon Feb 9 22:52:16 GMT 2009


The branch, v3-3-test has been updated
       via  c8e295a1b5216c1190ec5d555606b3eadabab82a (commit)
      from  b16d6aaf981e6b0b7c706f6abd659dc3cde30094 (commit)

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


- Log -----------------------------------------------------------------
commit c8e295a1b5216c1190ec5d555606b3eadabab82a
Author: Michael Adam <obnox at samba.org>
Date:   Mon Feb 9 23:26:36 2009 +0100

    Revert "s3:winbindd_user: create domain connection in winbindd_fill_pwent if necessary."
    
    This reverts commit 3981603761a1cc6fb74ff135fadf4ab3340be1c5.
    
    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:
 source/winbindd/winbindd_user.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/winbindd_user.c b/source/winbindd/winbindd_user.c
index 8b481f9..a6740b1 100644
--- a/source/winbindd/winbindd_user.c
+++ b/source/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