[Samba] getent does not show domain user/groups

Guilherme Boing kolt+samba at frag.com.br
Fri Aug 21 12:25:24 UTC 2015


I am running Samba 4.2.3 as a ADDC on CentOS 7.
getent passwd/group does not show the domain users and groups.

However, if I try 'getent passwd domainuser' it returns the user.
# getent passwd|grep -i guilherme
# getent passwd guilherme

        workgroup = ABC
        realm = ABC.ONLINE
        netbios name = STEVE
        server role = active directory domain controller
        dns forwarder =
        log level = 3
        winbind enum users = yes
        winbind enum groups = yes
        winbind nss info = rfc2307
        template shell = /bin/bash

# ls -la /lib64/|grep winbind
lrwxrwxrwx   1 root root       40 Jul  7 16:07 libnss_winbind.so ->
lrwxrwxrwx   1 root root       40 Jul  7 16:07 libnss_winbind.so.2 ->

# grep -i winbind /etc/nsswitch.conf
passwd:     files sss winbind
shadow:     files sss winbind
group:      files sss winbind
hosts:      files dns myhostname winbind

# wbinfo -u|grep -i guilherme


Am I missing something ?
Is this going to break anything ?

More information about the samba mailing list