[Samba] smbclient thinks passwordless account is anonymous

Gerald (Jerry) Carter jerry at samba.org
Thu Jan 2 19:21:02 GMT 2003

Hash: SHA1

On Thu, 26 Dec 2002, John Tyner wrote:

> I want to use a passwordless account on my windows box to connect to 
> from my linux box.
> When I do a smbclient "" -L host -U name, smbclient always prints 
> "Anonymous login successful" even though I supplied a username. If I 
> supply a password on the command line instead, then I don't get the 
> Anonymous login message. Neither way works since the account actually 
> doesn't have a password, but if I set a password and use it with 
> smbclient then everything works as expected.
> It seems that if you don't supply smbclient with a password, then it 
> assumes anonymous login regardless of whether or not the -U option was 
> given. Is this the intended behavior or a bug?

This sounds like our bug.  Do you have a patch?  If not, it will
be al ittle while before I get caught up and can look into it.

cheers, jerry
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2         "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/


More information about the samba mailing list