[cifs-discuss] Username case sensitivity in cifs authentication

Martin Gisch opensolaris at mg77.net
Thu Jul 10 17:27:17 PDT 2008


Thanks for responses Afshin.

The username is defined in Windows as 'Martin'.

When I try to access it first time, thats what it appears to send:
Jul 11 10:16:08 reaver smbd[619]: [ID 653746 daemon.notice] SmbLogon[Goliath\Martin]: NO_SUCH_USER

Fails and pops up login box. From then on it appears to send it as I type it in:

Jul 11 10:19:25 reaver smbd[619]: [ID 653746 daemon.notice] SmbLogon[Goliath\MARTIN]: NO_SUCH_USER
Jul 11 10:19:42 reaver smbd[619]: [ID 653746 daemon.notice] SmbLogon[Goliath\MaRtIn]: NO_SUCH_USER

If I type it in lower case to match the Solaris entry all is well, but it shows it as all caps in the success message.

Maybe have a configurable option somewhere to specify whether smbd should translate it to lowercase before matching? And have the success message reflect the passing version rather than uppercase it, as you mentioned.

-M.
--
This messages posted from opensolaris.org


More information about the cifs-discuss mailing list