[Samba] [PLUG] Ongoing saga with Samba and AD

Mike Leone turgon at mike-leone.com
Sun Mar 28 10:13:40 MDT 2010


>>>> What is the output of `getent passwd $user` ?  I wonder if your 
>>>> shell is
>>>> not set to an sh variant.
>>> # getent passwd DACRIB+ldap-proxy
>>> DACRIB+ldap-proxy:*:10006:10012:LDAP Proxy:/home/DACRIB:/bin/false
>>>
>>> I suppose it's that "/bin/false" that's doing it? How can I change 
>>> that, only for my AD domain users? My local Linux users show 
>>> "/bin/bash".
>>
>> So, your logins are successful.  The shell just exits immediately and
>> the user logs out!  It looks like you need "template shell = /bin/bash"
>> in your smb.conf file.  (At least that's what Google tells me.)
> 
> And it just told me the same. And that works! I was able to login. 
> WooHoo! :-)
> 
> DACRIB+ldap-proxy at workhorse:~$ pwd
> /home/DACRIB/ldap-proxy
> DACRIB+ldap-proxy at workhorse:~$
> 
> So huge progress! 
> 
> Later, I will try other things like login scripts and such. Maybe I will 
>  try to change the smb.conf to not require the domain name; that would 
> be much cleaner. I just left it that way, to make sure the local users 
> and domain users stood out visually from each other. I'm sure there are 
> other things to play with. Good practice and knowledge (maybe) for use 
> at work. 
 >
> Thanks everyone for the help.



More information about the samba mailing list