1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-02 13:25:03 +00:00

[LDAP] Change confusing warning to debug message.

This commit is contained in:
Jonathan Xu
2017-01-03 11:11:35 +08:00
parent 99cdad1d11
commit 11d40f339d

View File

@@ -401,7 +401,7 @@ static int ldap_verify_user_password (CcnetUserManager *manager,
}
if (!dn) {
ccnet_warning ("Can't find user %s in LDAP.\n", uid);
ccnet_debug ("Cannot find user %s in LDAP.\n", uid);
ret = -1;
goto out;
}
@@ -416,7 +416,7 @@ static int ldap_verify_user_password (CcnetUserManager *manager,
#endif
dn, password);
if (!ld) {
ccnet_warning ("Password check for %s failed.\n", uid);
ccnet_debug ("Password incorrect for %s in LDAP.\n", uid);
ret = -1;
}