diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-10 11:37:39 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-10 11:37:39 +0100 |
commit | 8e819b7d5c1b749590ea791c25f85b7e95914e67 (patch) | |
tree | e7ba2ae399fe5442d7be8566e21ed5dc2b36bb7c | |
parent | 0402f7806a1e216f150d004d16823cbc73880fc4 (diff) | |
download | bottin-8e819b7d5c1b749590ea791c25f85b7e95914e67.tar.gz bottin-8e819b7d5c1b749590ea791c25f85b7e95914e67.zip |
Modify initial administrator account to include displayname attribute
-rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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}, |