[Pkg-samba-maint] Bug#423971: Bug#423971: cifs: -o guest yields root login

Steve Langasek vorlon at debian.org
Tue May 15 19:43:10 UTC 2007


On Tue, May 15, 2007 at 06:51:54PM +0200, Christian Perrier wrote:

> mount.cifs supports "-o user=foo" while mount.smbfs doesn't and
> requires "-o username=foo"

> As far as I know "-o foo" does not work with mount.smbfs either:

> root at mykerinos:~> mount -t smbfs -o spongebob //localhost/public /mnt
> Password:
> 20700: tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
> SMB connection failed

Note that '-o guest' is not intended to be an instance of '-o <username>',
it's meant to specify an anonymous connection to the server with *no*
username.  There are various methods that might allow you to specify a
username and fall back to this connection method, but only with the
cooperation of the server.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/




More information about the Pkg-samba-maint mailing list