/var/log/sssd/
directory.
/etc/sssd/sssd.conf
file), as well as an sssd_pam.log
and an sssd_nss.log
file. This level of granularity can help you to quickly isolate and resolve any errors or issues you might experience with SSSD.
/var/log/secure
file, which logs authentication failures and the reason for the failure. For example, if you see Reason 4: System Error reported against any failure, you should increase the debug level of the log files.
debug_level
option in the /etc/sssd/sssd.conf
for the domain that is causing concern, and then restart SSSD. Refer to the sssd.conf(5) manual page for more information on how to set the debug_level
for a specific domain.
FALSE
in the /etc/sssd/sssd.conf
file:
--debug-timestamps=FALSE
# sssd -d4
[sssd] [ldb] (3): server_sort:Unable to register control with rootdse! [sssd] [confdb_get_domains] (0): No domains configured, fatal error! [sssd] [get_monitor_config] (0): No domains configured.
/etc/sssd/sssd.conf
file and ensure you have at least one properly configured domain, and then try to start SSSD.
# sssd -d4
[sssd] [ldb] (3): server_sort:Unable to register control with rootdse! [sssd] [get_monitor_config] (0): No services configured!
/etc/sssd/sssd.conf
file and ensure you have at least one available service providers, and then try to start SSSD.
services
entry in the /etc/sssd/sssd.conf
file. If services are listed in multiple entries, only the last entry is recognized by SSSD.
NSS
, their symptoms, and how to resolve them.
NSS
fails to return user information
# service sssd status
sssd (pid 21762) is running...
[nss]
section of the /etc/sssd/sssd.conf
file. For example, ensure that you have not misconfigured the filter_users
or filter_groups
attributes. Refer to the NSS configuration options section of the sssd.conf(5) manual page for information on how to configure these attributes.
nss
in the list of services that sssd
should start
/etc/nsswitch.conf
file. Refer to the section Section 8.2.3.2.1, “Configuring NSS” for information on how to correctly configure this file.
PAM
, their symptoms, and how to resolve them.
[root@clientF11 tmp]# passwd user1000 Changing password for user user1000. New password: Retype new password: New Password: Reenter new Password: passwd: all authentication tokens updated successfully.
use_authtok
option is correctly configured in your /etc/pam.d/system-auth
file.
nscd
daemon, and will likely generate warnings in the SSSD log files. Even though SSSD does not directly conflict with nscd
, the use of both at the same time can result in unexpected behavior (specifically with how long entries are being cached).
resolv.conf
file. This file is typically only read once, and so any changes made to this file are not automatically applied.
nscd
service is running, unless that service is manually restarted.
hosts
and services
in the /etc/nscd.conf
file, and to rely on the SSSD cache for the passwd
and group
entries. With nscd
answering hosts
and services
requests, these entries would have been cached and returned by nscd
during the boot process.
use_fully_qualified_domains
attribute to TRUE
in the /etc/sssd/sssd.conf
file.
sssd.conf(5)
sssd-ipa(5)
sssd-krb5(5)
sssd-ldap(5)
sssd(8)
sssd_krb5_locator_plugin(8)
pam_sss(8)