Is there an easy way to override the Samba "template shell = /bin/bash" setting on a per-user basis?
This is for Linux systems joined to an Active Directory domain. Some users want /bin/bash. Others including myself want /bin/zsh. Is there some AD attribute I can set?
Anything I've found via googling seems hackish at best (writing a script to replace /bin/sh -- maintenance hassle).
A similar serverfault question Override LDAP shell seems OpenLDAP-oriented (but if someone knows how to get it working with AD, please say so).