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

2007-05-16 Thread Christian Perrier
 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.


Yes, sorry for overreading madduck's report. Actually, I wasn't aware
of that special mount option for cifs|smbfs. I'll have another look at
this report and, if needed, report it upstream.





signature.asc
Description: Digital signature


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

2007-05-15 Thread Steve Langasek
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:

 [EMAIL PROTECTED]:~ 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.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]