[Samba] problems setting a public share

Michael Heydon michaelh at jaswin.com.au
Wed Apr 9 08:28:52 GMT 2008

Luca Ferrari wrote:
> On Wednesday 9 April 2008 your cat, walking on the keyboard, wrote:
>> you will need to show us your entire config, not just the share
>> do you have a map to guest line? does your guest user exist?
> <snip>
Your config looks reasonable to me...
> However, if I try to log in specifying the guest.samba account, then I 
> succeed, but if I try to login without specifying a username, then I got a 
> smbclient //sedeldap/pub_smb 
> WARNING: The "printer admin" option is deprecated
> Password:
> Domain=[LDAP] OS=[Unix] Server=[Samba 3.0.26a]
> tree connect failed: NT_STATUS_ACCESS_DENIED
SMB connections always have a username (when using user level security). 
Is there a user called "guest" on the server? Is $USER set on the client 

What happens if you do a:

smbclient //sedeldap/pub_smb -U SomeNameThatDefinitelyDoesntExist

> and if I try to login as guest.samba (or another registered user) I got access 
> to the share.
> Any idea?
> Thanks,
> Luca

More information about the samba mailing list