mirror of
https://github.com/haiwen/ccnet-server.git
synced 2025-08-01 21:07:45 +00:00
[LDAP] Change confusing warning to debug message.
This commit is contained in:
parent
99cdad1d11
commit
11d40f339d
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user