diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-14 21:58:34 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-14 21:58:34 +0100 |
commit | 151a31a4250cde38d8a66f2bfc8390f8132dc552 (patch) | |
tree | 5a5b775b4657e5d0ab44ac6f84e10b55d984bba2 /admin.go | |
parent | 768f2de9162bbf3fd0a1005554f3fd595818f1b3 (diff) | |
download | guichet-151a31a4250cde38d8a66f2bfc8390f8132dc552.tar.gz guichet-151a31a4250cde38d8a66f2bfc8390f8132dc552.zip |
Invitation mechanism with codes etc
Diffstat (limited to 'admin.go')
-rw-r--r-- | admin.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -600,9 +600,9 @@ func handleAdminCreate(w http.ResponseWriter, r *http.Request) { } else { dn := data.IdType + "=" + data.IdValue + "," + super_dn req := ldap.NewAddRequest(dn, nil) - req.Attribute("objectClass", object_class) + req.Attribute("objectclass", object_class) if data.StructuralObjectClass != "" { - req.Attribute("structuralObjectClass", []string{data.StructuralObjectClass}) + req.Attribute("structuralobjectclass", []string{data.StructuralObjectClass}) } if data.DisplayName != "" { req.Attribute("displayname", []string{data.DisplayName}) |