mirror of
https://github.com/haiwen/ccnet-server.git
synced 2025-08-10 17:01:37 +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) {
|
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;
|
ret = -1;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
@ -416,7 +416,7 @@ static int ldap_verify_user_password (CcnetUserManager *manager,
|
|||||||
#endif
|
#endif
|
||||||
dn, password);
|
dn, password);
|
||||||
if (!ld) {
|
if (!ld) {
|
||||||
ccnet_warning ("Password check for %s failed.\n", uid);
|
ccnet_debug ("Password incorrect for %s in LDAP.\n", uid);
|
||||||
ret = -1;
|
ret = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user