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-pr...@workhorse:~$ pwd
/home/DACRIB/ldap-proxy
dacrib+ldap-pr...@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.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to