[Samba] winbind uid problem

Herb Lewis hlewis at panasas.com
Fri Aug 24 18:15:46 GMT 2007


You probably need to remove the winbindd_idmap.tdb file and restart
winbindd. Be advised this will delete all current mappings so any
files with those UID/GID's may get different "owners". The other more
complicated option is to run tdbtool on the file and only delete the
"bad" mappings.

If you don't know where to find that file run

smbd -b | grep LOCKDIR

jhall at vandaliamo.net wrote:
> I have installed winbind and it is working, but I need to change the
> uid/gid being used by winbind since I am running into some conflicts with
> UIDs.
> 
> UID 10071 is being used by my spamfilter and winbindd is also mapping one
> of the user IDs from the W2K3 server to 10071.
> 
> In an attempt to change this, I modified my smb.conf file as follows.
> 
> [global]
>         workgroup = MO
>         idmap gid = 15000-20000
>         idmap uid = 15000-20000
>         winbind enum users = yes
>         winbind enum groups = yes
>         winbind separator = +
>         security = domain
>         password server = 10.129.10.41
>         wins server = 10.129.10.41
> 
> I restarted the server thinking my users would be remapped in the range
> 15000-20000.  However, they are still mapped in the 10000-20000 as I had
> originally set in the smb.conf file.  I confirmed this using getent
> passwd.
> 
> I am running 3.0.23c on FreeBSD 6.2.
> 
> Any suggestions would be greatly appreciated.
> 
> Thanks,
> 
> 
> Jay
> 


More information about the samba mailing list