mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
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@samba.org> Autobuild-Date: Mon May 16 11:42:55 CEST 2011 on sn-devel-104
This commit is contained in:
parent
068f847fe2
commit
20179bb550
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user