cannot get ssh session to work with Active Directory

View: New views
1 Messages — Rating Filter:   Alert me  

cannot get ssh session to work with Active Directory

by dstensrud :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have an Active Directory server setup here in my office.  I can ssh into a linux box, gentoo, it checks the users password against the AD using pam_ldap, and works fine.  The AD that I have is a fresh install of windows 2003 enterprise ed., Domain controller, and is running DNS.  That is the only thing I have done to it, no other permissions changes or anything.  I can bind as any user through pam_ldap and it verifies the password passed through ssh when logging in and then I get a shell.  Now here is my problem.  I have the exact same setup in a different location, except it's not my domain controller.  It is 2003 AD, and I can ldapsearch against it without any issue, but I can not get pam_ldap to work.  It binds correctly, but then it fails the authentication of the user trying to ssh in.  The only error I get from the debug of pam is this:

sshd[10865]: error: PAM: Authentication failure for tminy from 192.168.55.41

Any ideas, I'm at the end of a big project and this is the one thing that could tank the whole thing.  Please help if you can.  Thanks in advance.
LightInTheBox - Buy quality products at wholesale price