This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
aix:user_adldap [2022/03/28 22:53] manu [Connection to Active Directory (secure SSL)] |
aix:user_adldap [2022/08/22 09:24] (current) manu [User password is expired] |
||
|---|---|---|---|
| Line 293: | Line 293: | ||
| </cli> | </cli> | ||
| ===== Errors ===== | ===== Errors ===== | ||
| + | |||
| + | ==== LDAP in debug mode ==== | ||
| + | |||
| + | Add rotation for the debug file | ||
| + | <cli prompt='#'> | ||
| + | # cat /etc/logrotate.d/system.conf | ||
| + | /var/log/syslog/ldap.debug { | ||
| + | copytruncate | ||
| + | rotate 3 | ||
| + | size=100M | ||
| + | } | ||
| + | </cli> | ||
| + | |||
| + | Create the debug file | ||
| + | <cli prompt='#'> | ||
| + | # touch /var/log/syslog/ldap.debug | ||
| + | </cli> | ||
| + | |||
| + | Restart the LDAP daemon in debug mode | ||
| + | <cli prompt='#'> | ||
| + | [root@aix01]/root# export LDAP_DEBUG=65535 | ||
| + | [root@aix01]/root# export LDAP_DEBUG_FILE=/var/log/syslog/ldap.debug | ||
| + | [root@aix01]/root# stop-secldapclntd | ||
| + | The secldapclntd daemon is successfully terminated. | ||
| + | [root@aix01]/root# start-secldapclntd | ||
| + | Starting the secldapclntd daemon. | ||
| + | The secldapclntd daemon started successfully. | ||
| + | </cli> | ||
| ==== User password is expired ==== | ==== User password is expired ==== | ||