[patch] Option to supress auto guest login in libsmbclient

Nielsen nielsen at memberwebs.com
Sun Nov 28 04:29:23 GMT 2004


Christopher R. Hertel wrote:
> On Sat, Nov 27, 2004 at 05:55:14AM +0000, Nielsen wrote:
> 
>>I'm working on the gnome-vfs smb module. One thing that gets in the way 
>>is when that when a user types an invalid password, libsmbclient tries 
>>to login as Guest. It appears to gnome-vfs and the user that the login 
>>worked, when in fact it didn't, and more often than not the user has the 
>>wrong access privileges.
> 
> This behavior can occur on both the client and the server side.  There's a 
> bit set in the reply packet that indicates whether the server has decided 
> to map a failed logon to guest.  Samba has configuration options for this.  
> I don't know if Windows' behavior can be modified.

Thanks for pointing this out. However if the server is setup in that 
manner then it is obviously what the administrator intended to occur. 
What is the concern in gnome-vfs is being able to tell if the last 
authentication failed or not.

Cheers,
Nate





More information about the samba-technical mailing list