[Samba] How to map a user to a specific uid?

David Shapiro David.Shapiro at bcbsnc.com
Tue Aug 22 18:17:14 GMT 2006


I noticed that even after I added a username map =
/usr/local/samba/lib/users.map to smb.conf
 
...added to users.map:
 
joe MYDOMAIN+joe
 
The MYDOMAIN+joe home directory still shows the rid uid of 100000
instead of the the unix user joe's uid of 785755.  What am I doing
wrong?
 
David
 
 
David Shapiro
Distributed Systems
Unix Team Lead
office: 919-765-2011
cellphone: 730-0538

>>> "Gerald (Jerry) Carter" <jerry at samba.org> 8/22/2006 10:29:37 AM
>>>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Shapiro wrote:

> I need to nfs share the samba home directory of a 
> user on the samba server over to another server,
> but the uid it is giving is for example
> 100000 instead of the standard uid for the user on all 
> the other servers.  How can I make samba use
> whatever uid I want for the user (i.e., the uid the user
> is known as on other servers)?  Is there a map
> type command or file I can use?  

See 'username map' in smb.conf(5).





cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE6xTRIR7qMdg1EfYRAjJcAKDdecx052G1PYWpJAlQGqvvFLB4QwCg1CNW
v8O6qKu0HbK9wSWCZGhq5dU=
=n1GS
-----END PGP SIGNATURE-----



More information about the samba mailing list