strupper() on username and domain in cli_session_setup_nt1()?

jra at dp.samba.org jra at dp.samba.org
Mon Sep 23 20:24:01 GMT 2002


On Mon, Sep 23, 2002 at 05:07:14PM +1000, Tim Potter wrote:
> I'm just wondering whether it is strictly necessary to uppercase the
> username and domain name when performing a session setup.  Applying the
> following patch should not break anything and would make smbclient be
> able to test for case sensitivity bugs in the remote server.
> 
> The behaviour of uppercasing everything seems to be peculiar to Windows
> 9x.  According to some testing done by the HP guys and girls, NT and
> 2000 send across the case of the username as it was created in the SAM,
> whereas XP sends the case the user logged in with.

This looks good to me - want to apply it ?

Jeremy.



More information about the samba-technical mailing list