记录 OpenLDAP 上的身份验证失败

Dan*_*ral 5 openldap authentication

我需要在 OpenLDAP 上记录身份验证失败。正确的日志级别位是什么?或者对于这样的事情还有其他配置吗?

qua*_*nta 3

身份验证失败记录为err=49-Invalid Credential默认为loglevel256 - (0x100 stats)统计日志连接/操作/结果:

$ grep 'err=49' -B1 /path/to/ldap.log
slapd[28269]: conn=83767 op=2 BIND dn="cn=x,ou=y,dc=z,dc=t" method=128
slapd[28269]: conn=83767 op=2 RESULT tag=97 err=49 text= 
Run Code Online (Sandbox Code Playgroud)