aboutsummaryrefslogtreecommitdiff
path: root/pkg/auth/ldap/ldap.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/auth/ldap/ldap.go')
-rw-r--r--pkg/auth/ldap/ldap.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/auth/ldap/ldap.go b/pkg/auth/ldap/ldap.go
index 0d34acb7..e88cef77 100644
--- a/pkg/auth/ldap/ldap.go
+++ b/pkg/auth/ldap/ldap.go
@@ -269,7 +269,7 @@ func (ls *Source) SearchEntry(name, passwd string, directBind bool) (string, str
log.Error(2, "LDAP: Group search failed: %v", err)
return "", "", "", "", false, false
} else if len(srg.Entries) < 1 {
- log.Error(2, "LDAP: Group search failed: 0 entries")
+ log.Trace("LDAP: Group search returned no entries")
return "", "", "", "", false, false
}
@@ -310,7 +310,7 @@ func (ls *Source) SearchEntry(name, passwd string, directBind bool) (string, str
if err != nil {
log.Error(2, "LDAP: Admin search failed: %v", err)
} else if len(sr.Entries) < 1 {
- log.Error(2, "LDAP: Admin search failed: 0 entries")
+ log.Trace("LDAP: Admin search returned no entries")
} else {
isAdmin = true
}