[linux-cifs-client] Re: Sending passwords unencrypted

Steve French smfltc at us.ibm.com
Tue Oct 31 16:17:50 GMT 2006


>I have to connect to a very old samba server (v2.2.7) that only
> accepts unencrypted passwords. Unfortunately I do not find
> an option in cifs to send the password unencrypted. Is
> this correct? If yes could such an option be provided?

There is support in cifs for sending password unencrypted (it was added 
in version 1.44 or 1.45 cifs IIRC).  Since this can be less secure
(obviously) support for this must be configured when the cifs.ko
module was built (which IIRC it is on most distros now, but
it can be enabled in the kernel menuconfig and rebuilt if not).
In addition to mount this older (lanman style) you would specify "sec=lanman" 
on the mount common or enable the corresponding global cifs security flag
in proc (see fs/cifs/README for more information).  For plaintext support you
also would need to enable plaintext authentication in 
/proc/fs/cifs/ExtendedSecurity e.g. 
	"echo 0x37 > /proc/fs/cifs/ExtendedSecurity"



More information about the linux-cifs-client mailing list