[Samba] Re: [linux-cifs-client] Unable to mount using sec=none and mount.cifs

Christopher DeMarco demarco at maya.com
Thu Mar 6 16:18:40 GMT 2008


On Wed, Mar 05, 2008 at 04:40:49PM -0500, Jeff Layton wrote:

> I pushed this patch to Steve ~last may. You might want to check that
> the kernel you're working with has it. Without it, sec=none doesn't
> really do what you expect...

[snip]

> We had a customer report that attempting to make CIFS mount with a null
> username (i.e. doing an anonymous mount) doesn't work. Looking through the
> code, it looks like CIFS expects a NULL username from userspace in order
> to trigger an anonymous mount. The mount.cifs code doesn't seem to ever
> pass a null username to the kernel, however.

My mistake -- I was misusing that sec=none option; I was under the
impression that it worked as in mount.smbfs (to force cleartext
authentication).


-- 
Christopher DeMarco <demarco at maya.com>
IT Director
MAYA Group
+1-412-488-2900



More information about the samba mailing list