When adding members to an LDAP group, and referencing one member multiple times, as exemplified by opencloud-eu/opencloud#3354, that member ends up actually being added multiple times.
The expected behaviour would be to get an error in return.
When attempting to do so against OpenLDAP, e.g. like this:
cat <<EOF | ldapmodify -x -D "cn=Administrator,dc=..." -W -H ldapi:///
dn: cn=users,ou=group,dc=...
add: member
member: uid=user,ou=people,dc=...
then OpenLDAP responds with
modifying entry "cn=users,ou=group,dc=..."
ldap_modify: Type or value exists (20)
additional info: modify/add: member: value #0 already exists
When adding members to an LDAP group, and referencing one member multiple times, as exemplified by opencloud-eu/opencloud#3354, that member ends up actually being added multiple times.
The expected behaviour would be to get an error in return.
When attempting to do so against OpenLDAP, e.g. like this:
then OpenLDAP responds with