no match between unix and windows users

Arne Henningsen ahenningsen at agric-econ.uni-kiel.de
Mon May 29 09:29:45 GMT 2006


On Monday 29 May 2006 11:02, adicohen wrote:
> I have an linux computer ( samba server ) and users on it .
> I am interested to share a file system and view it from an Windows (
> windows2000 ) workstation .
> On the windows 2000 I have different domain and other users.
> if the name of the user ( in the both systems)  is the same  The samba
> connects and I can view the files .
> My problem is with the users which their user names are not identical in
> the both system . How can I do the correlation of the two names of the same
> user

Add in the "[global]" section of /etc/samba/smb.conf following line:
   username map = /etc/samba/smbusermap.conf
(you can choose also a different file name.) Then create this file
   /etc/samba/smbusermap.conf
and write in each line, which user names should be mapped:
   LinuxUser1 = WindowsUser1
   LinuxUser2 = WindowsUser2
   LinuxUser3 = WindowsUser3
and so on.

Best wishes,
Arne

> Thank you
>
> Adi
> --
> View this message in context:
> http://www.nabble.com/no+match+between+unix+and+windows+users-t1698049.html
>#a4607996 Sent from the Samba - smb-clients forum at Nabble.com.

-- 
Arne Henningsen
Department of Agricultural Economics
University of Kiel
Olshausenstr. 40
D-24098 Kiel (Germany)
Tel: +49-431-880 4445
Fax: +49-431-880 1397
ahenningsen at agric-econ.uni-kiel.de
http://www.uni-kiel.de/agrarpol/ahenningsen/


More information about the smb-clients mailing list