Guest user - different password

Giulio Orsero giulioo at pobox.com
Fri Dec 31 18:36:05 GMT 1999


On Thu, 30 Dec 1999 03:25:11 +1100, hai scritto:

>	I did setup a guest user which must have no password , so I manually
>edited the apfs's password field in the private/smbpasswd file and set it to
>NO PASSWORDXXXXXXXXXXXXXX 
>
>	Now I mapped several windows users to the apsf guest user in the
>username.map file 

If by "guest user" you mean the samba "guest user", then do it in
another way:

- don't do any manual mappings
- take out apsf from smbpasswd
- in smb.conf:

====
security = user
map to guest = bad user
guest account = apsf  (or another user)

[myshare]
path = /path/dir
guest ok = yes
writable = yes
====

make /path/dir readable by the apsf (or another user) user.

User which don't provide a good userid will be mapped to the guest user
and will be able to access the share.


If by "guest user" you mean something else then ignore what I've written
:)

-- 
giulioo at pobox.com


More information about the samba-ntdom mailing list