Web lists-archives.com

[Samba] "getent passwd" works, "getent passwd username" does not




Domain member server (Debian stretch with 4.8 from the Van Belle repo)

getent passwd| grep nprice

GIBB\nprice:*:1001104:1000513::/home/GIBB/nprice:/bin/false

getent passwd GIBB\\nprice

(returns nothing)

getent passwd 1001104 also returns nothing

wbinfo -u works fine

wbinfo --uid-info 1001104
GIBB\nprice:*:1001104:1000513::/home/GIBB/nprice:/bin/false

wbinfo -i GIBB\\nprice
GIBB\nprice:*:1001104:1000513::/home/GIBB/nprice:/bin/false

log files on level 5 do not see any errors

smb.conf:

[global]
        log file = /var/log/samba/log.%m
        logging = file

        map to guest = Bad User
        max log size = 1000
        panic action = /usr/share/samba/panic-action %d
        realm = AD.GIBB.CO.ZA
        security = ADS
        server role = member server
        username map = /etc/samba/user.map
        winbind enum groups = Yes
        winbind enum users = Yes
        winbind refresh tickets = Yes
        winbind request timeout = 120
        workgroup = GIBB
        idmap config gibb : range = 1000000-1599999
        idmap config gibb : backend = rid
        idmap config * : range = 3000-7999
        idmap config * : backend = tdb




--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba