[Samba] Winbind UID/GID mismatch!!

Ross McInnes sysrm at stvincent.ac.uk
Tue Aug 23 16:27:59 GMT 2005


In a word... "O" :/

I did read that doc before, and didn’t think it would need to apply to me.

The problem I have is that the email and file store servers are separate,
but by using NFS I am able to over come the issue of "local folders"

It was whilst diagnosing a problem I found out about the id mis map :/

Any perticular preference on which method I need to use? Which is
better/easier to use/maintain?

Many thanks

Ross

-----Original Message-----
From: Guenther Deschner [mailto:gd at samba.org] 
Sent: 23 August 2005 16:35
To: Ross McInnes
Cc: samba at lists.samba.org
Subject: Re: [Samba] Winbind UID/GID mismatch!!

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



More information about the samba mailing list