no match between unix and windows users

Arne Henningsen ahenningsen at
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
and write in each line, which user names should be mapped:
   LinuxUser1 = WindowsUser1
   LinuxUser2 = WindowsUser2
   LinuxUser3 = WindowsUser3
and so on.

Best wishes,

> Thank you
> Adi
> --
> View this message in context:
>#a4607996 Sent from the Samba - smb-clients forum at

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

More information about the smb-clients mailing list