From 11d40f339da8f23e876969ad63161ee20f8fbf14 Mon Sep 17 00:00:00 2001 From: Jonathan Xu Date: Tue, 3 Jan 2017 11:11:35 +0800 Subject: [PATCH] [LDAP] Change confusing warning to debug message. --- net/server/user-mgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/server/user-mgr.c b/net/server/user-mgr.c index 7cebd0f..bc312f1 100644 --- a/net/server/user-mgr.c +++ b/net/server/user-mgr.c @@ -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; }