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
[global]
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
[netlogon]
path = /usr/local/samba/var/locks/sysvol/lucas.ufes.br/scripts
read only = No
[sysvol]
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.
Lucas
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:
https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC
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.
Regards,
Marc