s3:libsmb convert user-specified domain to uppercase
commite7171b54bc179fd465a7d4417929bb769816e868
authorChristian Ambach <christian.ambach@de.ibm.com>
Fri, 6 May 2011 11:16:26 +0000 (6 13:16 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 17 May 2011 07:17:08 +0000 (17 09:17 +0200)
tree7d5c505824e067a5d1d7c3a5a8fe45307b6a24b2
parent1f6990524cf54325cf76ba01bc26e7423895f578
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
(cherry picked from commit dae276b5abde77df24f297149267622e7a6dcddb)
source3/libsmb/cliconnect.c