Describe the bug
In May 2023 I debugged an issue for the login of an user with ldap authentication.
With the enabling of the vault debug log I got the following lines in the vault logs:
May 17 10:34:15 vault-server01 vault[402703]: 2023-05-17T10:34:15.331Z [DEBUG] auth.ldap.auth_ldap_0f21e7f8: user binddn fetched: username=xxxxxxxxx binddn="cn=xxxxxxxxx,ou=usr,o=employee"
May 17 10:34:18 vault-server01 vault[402703]: 2023-05-17T10:34:18.350Z [DEBUG] auth.ldap.auth_ldap_0f21e7f8: ldap bind failed: error="LDAP Result Code 49 \"Invalid Credentials\": NDS error: failed authentication (-669)"
Today I tried to repeat the same thing and I also see debug - log output, but even if I login via ldap by myself there is no logline regards auth.ldap anymore.
To Reproduce
Steps to reproduce the behavior:
Have a setup with working ldap authentication
Enable debug logging by adding log_level = "Debug" to /etc/vault.d/vault.hcl
Restart & unseal vault
Try to login via ldap - for example with a wrong password
There are no debug loglines for auth.ldap anymore
Expected behavior
Debug logs should show logs for auth.ldap
Environment:
Vault Server Version (retrieve with vault status): 1.17.2
Vault CLI Version (retrieve with vault version): 1.17.2
Server Operating System/Architecture: Ubuntu 22.04 / x86_64
Describe the bug In May 2023 I debugged an issue for the login of an user with ldap authentication. With the enabling of the vault debug log I got the following lines in the vault logs:
Today I tried to repeat the same thing and I also see debug - log output, but even if I login via ldap by myself there is no logline regards auth.ldap anymore.
To Reproduce Steps to reproduce the behavior:
log_level = "Debug"
to /etc/vault.d/vault.hclExpected behavior Debug logs should show logs for auth.ldap
Environment:
vault status
): 1.17.2vault version
): 1.17.2Vault server configuration file(s):