[linux-cifs-client] mount error 13 = Permission denied -> what is the correct samba configuration for guest access from windows client

Jeff Layton jlayton at redhat.com
Fri Sep 4 12:01:16 MDT 2009


On Thu, 03 Sep 2009 09:15:35 +0200
c.monty at web.de wrote:


> the share is defined like this:
> [install]
> 	comment = Unattended 4.8
> 	path = /mnt/iso/unattended-4.8/install
> 	guest ok = Yes
> 	locking = No
> 
> when I execute the command on the client machine 
> user at client:~$ sudo mount -t cifs -o username=guest //<ip-samba-server>/install /mnt/share/
> the following error is returned
> mount error 13 = Permission denied
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) 

CIFS doesn't understand that username=guest means that you want to
mount anonymously. Try using "-o sec=none".

-- 
Jeff Layton <jlayton at redhat.com>


More information about the linux-cifs-client mailing list