[Samba] Samba4 + Winbind

Lukz Ferris lukz_95 at hotmail.com
Thu Jan 5 12:14:00 UTC 2017

Hello Marc,

Thanks for your documentation.

Well I followed what you wrote, perhaps my wbinfo command fails when I try to test the connectivity.

# wbinfo --ping-dc
checking the NETLOGON dc connection failed
failed to call wbcPingDc: WBC_ERR_WINBIND_NOT_AVAILABLE
Could not ping our DC

My smb.conf is now this:

# Global parameters
        netbios name = DEVLUCAS1
        realm = LUCAS.UFES.BR
        workgroup = LUCAS
        server role = active directory domain controller
        winbind nss info = template
        template shell = /bin/bash
        template homedir = /home/%U

        path = /usr/local/samba/var/locks/sysvol/lucas.ufes.br/scripts
        read only = No

        path = /usr/local/samba/var/locks/sysvol
        read only = No

I think that idmap is missing, but I didn't understand that properly (I also read other documentations). If you could help me what is missing I will be grateful.


Hi Lukz,

I'm replying off list, because I haven't finally validated the procedure
for all supported Samba versions yet.

I published a new documentation about Winbindd on a Samba AD DC this
evening. I think this was what you're are looking for:

I have validated the procedure including PAM authentication on a 4.5.3
DC but I expect that it works on 4.4 and 4.3, too.

Please let me know if you have any comments or suggestions on the doc.


More information about the samba mailing list