[Samba] Winbind UID/GID mismatch!!

Guenther Deschner gd at samba.org
Tue Aug 23 15:35:01 GMT 2005


Hi Ross,

On Tue, Aug 23, 2005 at 03:29:20PM +0100, Ross McInnes wrote:
> Hi the list (again)
> 
> Got a pretty major issue now
> 
> Did the samba link to AD on a couple of redhat es3 servers using samba
> 3.0.14a
> Everything seems ok
> 
> Except when I do a getent passwd username
> 
> Server 3
>  getent passwd ross
> ross:x:10006:10000:ross:/home/ACADEMIC/ross:/bin/false
> 
> Server 2
> getent passwd ross
> ross:x:10006:10000:ross:/home/ACADEMIC/ross:/bin/false
> 
> Server 1
> getent passwd ross
> ross:x:10195:10000:ross:/home/ACADEMIC/ross:/bin/false
> 
> Er... Why does server 1 have username ross as uid 10195?! :)

The idmap-mapping (as stored in your local tdbs) assignes uids and gids in
the order they were requested on your system.

If you want to have unified mapping on all your servers then you must use
one of the idmap-modules described here:

http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/idmapper.html

Guenther
-- 
Günther Deschner                    GPG-ID: 8EE11688
Novell / SUSE LINUX                       gd at suse.de
Samba Team                              gd at samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20050823/7466df4a/attachment.bin


More information about the samba mailing list