[Samba] winbind auth, specifying shell

Dale Schroeder dale at BriannasSaladDressing.com
Tue Nov 8 12:21:08 MST 2011


On 11/08/2011 11:35 AM, Eddy Sturg wrote:
> 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?
Eddy,

I found this.  Hopefully, it's still accurate.

http://serverfault.com/questions/224340/override-template-shell-on-linux-system-in-active-directory-domain

Dale


More information about the samba mailing list