Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-18-2016, 06:58 PM   #1
Registered: Jan 2006
Posts: 59

Rep: Reputation: 16
SSSD and SSHD authentication failure


I am trying to set up my SSSD to authenticate against an LDAP server. So far I have gotten getent and id to draw from LDAP, which tells me at least the identity part of things is working.

When I try to SSH into the box with my LDAP account though, it just gives an "access denied". I've tried ldapsearch against the LDAP and it comes back fine, and I am stumped. Here is my sssd.conf file:

autofs_provider = ldap
cache_credentials = True
ldap_search_base = ou=xxxx,dc=xxxxx,dc=xxxx
id_provider = ldap
auth_provider = ldap
chpass_provider = ldap
ldap_uri = ldaps://
ldap_id_use_start_tls = True
ldap_tls_cacertdir = /etc/openldap/cacerts
debug_timestamps = True
ldap_default_authtok_type = password
ldap_default_bind_dn= uid=xxxxx,ou=xxxx,dc=xxxxx,dc=xxxx
ldap_default_authtok = xxxxxxxxxxx

services = nss, pam, autofs
config_file_version = 2
domains = default

filter_users = root,ldap,named,avahi,haldaemon,dbus,radiusd,news,nscd
homedir_substring = /home







Also, here is nsswitch.conf

passwd: files sss
shadow: files sss
group: files sss
#initgroups: files

hosts: files dns

If anyone has any thoughts about what might be going on, I'd appreciate it. Thanks in advance.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentication with AD Using SSSD pies Linux - Server 1 12-15-2015 08:41 AM
Winbind or SSSD for Active Directory authentication megamaced Linux - Networking 2 12-20-2014 02:39 PM
[SOLVED] sssd ldap authentication against samba4 not working anindyameister Linux - Newbie 1 09-30-2013 07:16 AM
sshd with sssd help needed Aaron.D Linux - Server 7 11-15-2012 11:52 PM
Repeated Log Entry: sshd: authentication failure; logname= uid=0 360 Linux - Security 1 10-07-2005 12:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration