[SCM] Samba Shared Repository - branch v3-6-test updated

Christian Ambach ambi at samba.org
Mon May 16 03:51:38 MDT 2011


The branch, v3-6-test has been updated
       via  dae276b s3:libsmb convert user-specified domain to uppercase
      from  28cba27 libcli/: Fix prototypes for all functions.(cherry picked from commit fa387825e2a4563ff85267848d8e9d206bf6db96)

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


- Log -----------------------------------------------------------------
commit dae276b5abde77df24f297149267622e7a6dcddb
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 1383978..d3b2d38 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -1976,6 +1976,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