[Samba] winbind auth, specifying shell

Eddy Sturg tride2009 at gmail.com
Tue Nov 8 10:35:25 MST 2011


On Thu, Nov 3, 2011 at 10:22 AM, Eddy Sturg <tride2009 at gmail.com> wrote:

> Hey folks,
>
> I'm using winbind authentication against MS Active Directory, and it's
> working great.  Because of
>
> template shell = /bin/bash
>
> in smb.conf, new users are getting assigned the bash shell, which is great
> in most cases.  Some users, however, prefer a different shell (tcsh).
>
> How can I specify, on a user by user basis, the preferred shell?
>
> I'm guessing this is an attribute in AD somewhere, but what's the best way
> to get at that?
>
> (Windows AD 2008)
>
> Thanks,
>
> Eddy
>

I think I've determined that the user's shell is not stored in AD.  Can
winbind / samba provide different shells to different users when using
winbind / AD integrated authentication?


More information about the samba mailing list