LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 16
SSSD and SSHD authentication failure


Greetings:

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:

[domain/default]
ldap_tls_reqcert=never
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://my-ldap.example.com/
ldap_id_use_start_tls = True
ldap_tls_cacertdir = /etc/openldap/cacerts
entry_cache_timeout=600
ldap_network_timeout=3
ldap_access_filter=(&(object)(object))
debug_level=6
enumerate=false
debug_timestamps = True
ldap_default_authtok_type = password
ldap_default_bind_dn= uid=xxxxx,ou=xxxx,dc=xxxxx,dc=xxxx
ldap_default_authtok = xxxxxxxxxxx

[sssd]
services = nss, pam, autofs
config_file_version = 2
debug_level=8
domains = default

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

[pam]
debug_level=6
[sudo]

[autofs]

[ssh]

[pac]

[ifp]

=====

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.
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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