aboutsummaryrefslogtreecommitdiff
path: root/auth_ldap.go
diff options
context:
space:
mode:
Diffstat (limited to 'auth_ldap.go')
-rw-r--r--auth_ldap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth_ldap.go b/auth_ldap.go
index 9164e93..bf2a9fb 100644
--- a/auth_ldap.go
+++ b/auth_ldap.go
@@ -101,7 +101,7 @@ func (l *ldapConnector) profile() (*ldap.Entry, error) {
}
if len(sr.Entries) != 1 {
- return nil, errors.New(fmt.Sprintf("Wrong number of LDAP entries, expected 1, got", len(sr.Entries)))
+ return nil, errors.New(fmt.Sprintf("Wrong number of LDAP entries, expected 1, got %d", len(sr.Entries)))
}
return sr.Entries[0], nil