[SCM] Samba Shared Repository - branch master updated

Christian Ambach ambi at samba.org
Mon May 16 03:43:01 MDT 2011


The branch, master has been updated
       via  20179bb s3:libsmb convert user-specified domain to uppercase
      from  068f847 s3: Fix return check in nss_wins

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


- Log -----------------------------------------------------------------
commit 20179bb5508cddca917732b6a459afa1d7136789
Author: Christian Ambach <christian.ambach at de.ibm.com>
Date:   Fri May 6 13:16:26 2011 +0200

    s3:libsmb convert user-specified domain to uppercase
    
    with client ntlmv2 auth = yes, there is a small difference between
    using smbclient -U user\domain and smbclient -U user -W domain
    if domain is provided in lowercase
    
    using -W will uppercase the given parameter, while picking the
    domain name from -U will not convert it to uppercase and this
    leads to failing NTLMv2 authentication
    
    with this patch, there is no difference between
    smbclient -U domain\user and smbclient -U user -W domain any more
    
    Autobuild-User: Christian Ambach <ambi at samba.org>
    Autobuild-Date: Mon May 16 11:42:55 CEST 2011 on sn-devel-104

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

Summary of changes:
 source3/libsmb/cliconnect.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 7f48aee..828cb2c 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1977,6 +1977,7 @@ NTSTATUS cli_session_setup(struct cli_state *cli,
 	    (p=strchr_m(user2,*lp_winbind_separator()))) {
 		*p = 0;
 		user = p+1;
+		strupper_m(user2);
 		workgroup = user2;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list