diff --git a/admin-guide/troubleshooting/sssd.md b/admin-guide/troubleshooting/sssd.md index 881c5815..11ab9ca7 100644 --- a/admin-guide/troubleshooting/sssd.md +++ b/admin-guide/troubleshooting/sssd.md @@ -58,6 +58,34 @@ PAM Environment: # ``` +## Check Log for AD connection + +If `/var/log/sssd/sssd_D.PSI.CH.log` complains about file issues like + +``` + * (2024-10-03 9:47:17): [be[D.PSI.CH]] [sysdb_delete_cache_entry] (0x0020): [RID#78] LDB Error: No such object (32); error message: [ldb_wait from ldb_delete with LDB_WAIT_ALL: No such object (32)] +********************** BACKTRACE DUMP ENDS HERE ********************************* + +(2024-10-03 9:47:17): [be[D.PSI.CH]] [sysdb_delete_entry] (0x0040): [RID#78] sysdb_delete_cache_entry failed: 2 +(2024-10-03 9:48:24): [be[D.PSI.CH]] [sysdb_create_ts_entry] (0x0040): [RID#90] ldb_add failed: [Entry already exists](68)[Entry name=X06SA@d.psi.ch,cn=groups,cn=D.PSI.CH,cn=sysdb already exists] + * ... skipping repetitive backtrace ... +(2024-10-03 9:48:24): [be[D.PSI.CH]] [sysdb_create_ts_entry] (0x0040): [RID#90] Error: 17 (File exists) + * ... skipping repetitive backtrace ... +(2024-10-03 9:48:24): [be[D.PSI.CH]] [sysdb_create_ts_entry] (0x0040): [RID#90] ldb_add failed: [Entry already exists](68)[Entry name=gac-x07da@d.psi.ch,cn=groups,cn=D.PSI.CH,cn=sysdb already exists] + * ... skipping repetitive backtrace ... +(2024-10-03 9:48:24): [be[D.PSI.CH]] [sysdb_create_ts_entry] (0x0040): [RID#90] Error: 17 (File exists) + * ... skipping repetitive backtrace ... +(2024-10-03 9:48:24): [be[D.PSI.CH]] [sysdb_create_ts_entry] (0x0040): [RID#90] ldb_add failed: [Entry already exists](68)[Entry name=X07DA@d.psi.ch,cn=groups,cn=D.PSI.CH,cn=sysdb already exists] +``` + +delete the `sssd` files: + +``` +systemctl stop sssd.service +rm -f /var/lib/sss/db/* +systemctl start sssd.service +``` + ## Extended Logging To get more logging messages you may raise the log level to 6, either permanently in Hiera with key `aaa::sssd_debuglevel` or temporary on the host itself with