[Samba] Samba 3.6.6 idmap problem

David Blaney David.Blaney at ogt.co.uk
Fri Aug 9 04:31:12 MDT 2013

Hi All,

I have been stuck on this problem for a day or so now and am in need of a bit of help.

I am running Samba 3.6.6 with Winbind and all operation and working correctly apart from the UID and GID mapping. There have been a few post on the net regarding this but all the solution listed do not work for me.

Here is my smb.conf
        workgroup = MYDOMAIN
        server string = Services Server
        security = ADS
        allow trusted domains = No
        password server = ps.internal.mydomain.com ps
        log level = 1
        syslog = 0
        log file = /var/log/samba/smbd.log
        max log size = 50
        server signing = auto
        local master = No
        dns proxy = No
        ldap ssl = no
        template shell = /bin/bash
        winbind enum users = yes
        winbind enum groups = yes
        winbind separator = +
        winbind use default domain = Yes
        create mask = 0774
        directory mask = 0775
        hosts allow = 192.
        hosts deny = ALL
        interfaces = eth0
        idmap config * : range = 10000-20000
        idmap config * : backend = tdb
        idmap config MYDOMAIN : default = yes
        idmap config MYDOMAIN: range = 100000-200000
        idmap config MYDOMAIN : backend = rid

When I list users using getent all users in the domain appear but there UID and GID are out by 99000 (e.g. 4108 on my machine  should be 103108)

I know this is to do with idmap but the man pages and online post have not lead me to a solution.

Any help would be greatly appreciated, thanks.

More information about the samba mailing list