[Samba] Unable to mount using sec=none and mount.cifs

Chris Smith smb23 at realcomputerguy.com
Wed Mar 5 21:09:01 GMT 2008


On Wednesday 05 March 2008, Christopher DeMarco wrote:
> //superman/www-pub  /smb/superman/www-pub   cifs  
>  auto,uid=33,gid=33,username=WORKGROUP/www-pub,password=sekret,sec=no
>ne   0 0

Maybe no help but try leaving "sec=none" out of your fstab entry. From 
the man page it seems "none" means "attempt to connection as a null 
user (no name)". I can connect to a guest share using "sec=none" but 
not to other shares.

Also note in addition that the man page states that the "uid= and gid=" 
parameters are ignored when the target server supports the CIFS Unix 
extensions.

And although the username appears valid you might try splitting the 
domain name from it: "user=www-pub,domain=WORKGROUP,pass=sekret", even 
better to use a credentials file.
More like:
//superman/www-pub /smb/superman/www-pub cifs auto,credentials=cfile 0 0

-- 
Chris


More information about the samba mailing list