Administration -> Shared Folders basically doesn't work. True?

Chanchao custom at freenet.de
Fri May 5 08:42:44 UTC 2006


On Fri, 2006-05-05 at 17:36 +1000, Adam Conrad wrote:

> Chanchao wrote:
> > 
> > # Global Parameters
> > [global]
> > workgroup = WORKGROUP
> > server string = Ubuntu
> > netbios name = Ubuntu
> > wins support = no
> > encrypt passwords = yes
> 
> Make sure to globally specify a "guest user".  This is usually the user
> "nobody", but can be any unprivileged user, really.

Ok, I added a user 'guest'.. The 'users & groups' screen in
Administration didn't work for that because that one doesn't allow you
to leave the password blank...  So went into a terminal and used 'sudo
useradd -g users guest' and left the password blank.

Then added 'guest account = guest' to smb.conf  

> > [shared]
> > path = /var/shared
> > public = yes
> > read only = no
> > available = yes
> > browseable = yes
> > writable = yes
> 
> And for the share that you want "free for all" access to, add "guest ok
> = yes"

Ok, did that.  And restarted the service.

The problem now is that I STILL get the prompt for a username and
password.  I can get in by typing 'guest' without a password but that's
not really perfect.  Thank you very much so far though... At least
people can get in now if I tell them the username. :)

Cheers,
Chanchao





More information about the ubuntu-users mailing list