forked from Deuxfleurs/bottin
Modify initial administrator account to include displayname attribute
This commit is contained in:
parent
0402f7806a
commit
8e819b7d5c
1 changed files with 2 additions and 1 deletions
3
main.go
3
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},
|
||||
|
|
Loading…
Reference in a new issue