[Samba] utilizing smbpasswd with two user #######URGENT###### #

John H Terpstra jht at samba.org
Fri Oct 25 18:12:02 GMT 2002


On Fri, 25 Oct 2002, SALOME Alexandre wrote:

>
>
> Thank you for answer!!!
> I am young in this samba operattion .
> Please (for love GOD) how I am utilize this "username.map"?  Is it a
> commnad? Is it a file to edit???
> thank again

In your smb.conf [globals] add:
	username map = /etc/smbusers


then in your smbusers file:

root = administrator
cs2xxxx = eng.joebird "Joe Bird"


Now if the user logs into MS Windows as eng.joebird, or as the MS Windows
user "Joe Bird" (without the quotes) samba will see cs2xxxx.

- John T.


>
>
>
> Atenciosamente,
>
> Alexandre Salomé
> Comau System  _ Sistemas Engenharia
> tel: 0055 031 9944 8646
> fax:0055 031 3529 6533
>
>
>
>

-- 
John H Terpstra
Email: jht at samba.org




More information about the samba mailing list