share security passwords

Brian Keith Kowolowski bkk5 at cornell.edu
Wed Nov 17 13:00:27 GMT 1999


 Mac (dmccann at nibsc.ac.uk):
> Hi Brian (and all you avid Samba readers)
> 
> 
> >> The most important thing that will make this work is running the whole
> >> server in 'security = share' mode.  This is awful for most purposes
> >> (because the Win clients don't give a username to a server running in
> >> 'share' mode, and so Samba has to guess which UNIX user you are.)
> >
> >hmm.  this is close.  i now have a share that is accessible via password for
> >any user.  unfortunately, it's accessible to anyuser who uses *any* password
> >in the samba password file.  can i stop this so it only will allow access if
> >the *correct* password is given?
> 
> 
> Indeed.  If I may quote my own message back at you for a moment:-
> 
>  > You can make it easier though by having exactly one entry in the 'valid
>  > users' list, (which is a special user you create just for this share)
> 
> 
> You have to use the 'valid users' configuration statement in order to
> restrict the user names that can connect to the share.
...
> And here's my suggested modification to it:-
> 
>   valid users = newgalik
> 
> 
> and then you create the user  'newgalik' like this :-

this didn't work.  with valid users =     i couldn't connect using the
password for newgalik.  i can only connect using my own password.
what am i missing here?


-- 
brian kowolowski
gpg key / infos			http://members.xoom.com/midknite/
gpg print: 	      F6B6 076D 4BFC CD14 7C14  1A2F 61DA BDE5 7A88 D6C3


More information about the samba mailing list