-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi, and thanks for the plugin!
Although it has its limitations - what plugin doesn't have - it is fairly usable.
The biggest issue for me (besides everything related to placeholders vs API deficiencies as described in #122) is group creation.
I use this schema for Nextcloud's user and group objects. Furthermore I add uidObject
objectClass to all groups, so they have uid
field, which is used in their dn
. This makes the following Nextcloud LDAP configuration possible:
- I filter LDAP groups in Nextcloud based on
objectClass=NextcloudGroup
- I set groups' displayName to
cn
, which possibly contain non-ASCII chars (as I manage a Nextcloud instance for Hungarian members) - I set groups' UUID to
uid
which is all lowercase ASCII (and practically the English equivalent of displayName-givingcn
)
Now, group creation with this setup - obviously - fails.
Groups created through Nextcloud are added to LDAP, but they are not found and parsed back (Nextcloud reports group creation failed) because:
- they don't get the
NextcloudGroup
objectclass - they don't get the
uidObject
objectclass, so they cannot get theuid
attribute, even if creation would take my LDAP group UUID settings into account.
This could be mostly fixed with a similar template editor as given for user creation.
I'd add these two objectClasses to the template, setuid
andcn
to groupName supplied by Nextcloud. I'd still have to changecn
in LDAP later, but the non-technical board members of the NPO (for which this Nextcloud is set up) could create the groups without me, and I could "re-displayName" them when I have the time...
rasos and ffischer-lyrtron
Metadata
Metadata
Assignees
Labels
No labels