on a self-compiled samba 4.0.4 it is possible to get unix-access over winbind. But only "template shell" in smb.conf give a choice to set login shell and unixhomedir. Settings in samba-ldap are ignored.
idmap_ldb:use rfc2307 = Yes
in smb.conf not change the behavior.
passwd: compat winbind
group: compat winbind
shadow: compat winbind
wbinfo -i test1
User test1 has in samba4-ldap:
If I set template shell to /bin/bash users can login to linux with samba4-creditials. But I don't want give that all users.
Waht can I do?
This is a very old bug report, but even today with the latest Samba, you can only use the template lines on an AD DC. This means that all users get the same login shell and home directory path.