R: Guest user - different password

Stefano Colombo s_colombo at iol.it
Mon Jan 3 09:01:09 GMT 2000


Hi Giulio ,
	with guest user I meant a generic user which must have no password because
it should be used for all the users I didn't allow particular rights.

	I didn't find the "map to guest " parameter in any docs , even using samba,
so what's "bad user " stands for ? A real user or is a keyword ?

	The problem with my configuration is that the map is done correctly , any
user is mapped to the guest apsf , but since the passwords don't match the
connection is refused .

	However I 'll try your advice and keep you ( all ) informed .

Stefano Colombo  ( scolombo at cdmtc.it )
System / Network Engineer
CDM Tecnoconsulting SPA
v. M.L.King 38/2
40132, Bologna
Italy
tel      : +39 051 4132611
fax     : +39 051 4132627
WEB : http://www.cdmtc.it




-----Messaggio originale-----
Da: samba-ntdom at samba.org [mailto:samba-ntdom at samba.org]Per conto di
Giulio Orsero
Inviato: venerdi 31 dicembre 1999 21.07
A: Multiple recipients of list SAMBA-NTDOM
Oggetto: Re: Guest user - different password


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