[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha6-659-g487f5e7

Michael Adam obnox at samba.org
Mon Feb 9 13:19:05 GMT 2009


The branch, master has been updated
       via  487f5e7b4768cfe9e511b0ba56f16c411e21f702 (commit)
       via  a63f6024739e922e0bb6c929a1b9112e5e8e09de (commit)
      from  3ce895181be9f0a91c17c1c5261a92159f154a86 (commit)

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


- Log -----------------------------------------------------------------
commit 487f5e7b4768cfe9e511b0ba56f16c411e21f702
Author: Michael Adam <obnox at samba.org>
Date:   Mon Feb 9 13:50:31 2009 +0100

    s3:winbindd_user: create domain connection in winbindd_fill_pwent if necessary.
    
    Calling find_domain_from_name_noinit() might not be enough here.
    This makes winbindd_getpwent() behave the same as winbindd_getgrent().
    
    Michael

commit a63f6024739e922e0bb6c929a1b9112e5e8e09de
Author: Michael Adam <obnox at samba.org>
Date:   Mon Feb 9 11:07:11 2009 +0100

    s3:winbindd_user: fix a debug message.
    
    find_domain_from_name_noinit() is no longer called only for
    name alias support.
    
    Michael

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

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


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_user.c b/source3/winbindd/winbindd_user.c
index 28c1c01..8b481f9 100644
--- a/source3/winbindd/winbindd_user.c
+++ b/source3/winbindd/winbindd_user.c
@@ -80,10 +80,10 @@ 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_noinit(dom_name);
+	domain = find_domain_from_name(dom_name);
 	if (domain == NULL) {
-		DEBUG(5,("winbindd_fill_pwent: Failed to find domain for %s.  "
-			 "Disabling name alias support\n", dom_name));
+		DEBUG(5,("winbindd_fill_pwent: Failed to find domain for %s.\n",
+			 dom_name));
 		nt_status = NT_STATUS_NO_SUCH_DOMAIN;
 		return false;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list