aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index a9b8031..975311d 100644
--- a/main.go
+++ b/main.go
@@ -295,7 +295,8 @@ func (server *Server) init() error {
admin_dn := "cn=admin," + server.config.Suffix
admin_attributes := Entry{
"objectClass": []string{"simpleSecurityObject", "organizationalRole"},
- "description": []string{"LDAP administrator"},
+ "displayname": []string{"LDAP administrator"},
+ "description": []string{"Administrator account automatically created by Bottin"},
"cn": []string{"admin"},
"structuralObjectClass": []string{"organizationalRole"},
ATTR_USERPASSWORD: []string{admin_pass_hash},