Results 1 to 2 of 2

Thread: Problem authinticating LDAP through ssh on CentOS 6

  1. #1
    Junior Member
    Join Date
    Jan 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question Problem authinticating LDAP through ssh on CentOS 6

    Right now I am trying to get a CentOS server to allow users from an LDAP database to be able to authenticate through SSH. I can run the 'getent passwd' while I am sitting on the server and see all of the LDAP users that have access to the CentOS 6 server but when I try to ssh in as a user it will not allow me in. To me it seems like something in the sshd.conf file is not pointing to the right place to authenticate, I cannot find anywhere that this should be set. Does anyone else have any insight to this issue? Also, I am currently not using TLS.

  2. #2
    Senior Member Rahul.Patil's Avatar
    Join Date
    Feb 2012
    Location
    Mumbai india
    Posts
    485
    Thanks
    10
    Thanked 49 Times in 46 Posts
    Rep Power
    8

    Default

    Hi,

    There is no settings in sshd.conf related to LDAP, the main things are pam_ldap and /etc/nsswitch.conf which manage it.

    So please give us information on :

    1. LDAP Client settings, how you configured ldap client.
    2. Check /var/log/secure logs at the time of log in.
    3. also check /var/log/messages

    If you find any error logs then post it in this post, so that we can help you with the same.
    Rahul Patil <http://www.linuxian.com>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem about squid auth with LDAP
    By hkjack in forum Networking, Firewalls and Security
    Replies: 7
    Last Post: 16th July 2012, 06:29 PM
  2. LDAP client Authentication problem
    By tuxb in forum CentOS / RHEL / Fedora
    Replies: 0
    Last Post: 22nd September 2011, 01:17 AM
  3. ldap+samba authentication problem
    By capibolso in forum Linux software
    Replies: 0
    Last Post: 4th December 2008, 09:19 PM
  4. open ldap autentication problem
    By kasimani in forum Linux software
    Replies: 0
    Last Post: 14th October 2006, 11:17 PM
  5. LDAP auth problem
    By vasanth in forum Linux software
    Replies: 1
    Last Post: 16th February 2005, 09:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •