s3:libsmb convert user-specified domain to uppercase
commitdae276b5abde77df24f297149267622e7a6dcddb
authorChristian Ambach <christian.ambach@de.ibm.com>
Fri, 6 May 2011 11:16:26 +0000 (6 13:16 +0200)
committerChristian Ambach <christian.ambach@de.ibm.com>
Mon, 16 May 2011 09:53:02 +0000 (16 11:53 +0200)
tree372f57af4eeb1b90010cd756008c1b23a795d543
parent28cba271e61245b166d002745737c5fedae80c0c
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
source3/libsmb/cliconnect.c