-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Labels
Description
Describe the bug
When creating a group in the UI, graph will always create a groupOfNames.
So if you wish to use something different like a groupOfUniqueNames and his uniqueMember attributes it will not work.
Steps to reproduce
- Use openldap as the backend of ocis
- Set
OCIS_LDAP_GROUP_OBJECTCLASStogroupOfUniqueNames - Set
OCIS_LDAP_GROUP_SCHEMA_MEMBERtouniqueMember
Expected behavior
A group with the objectClass of groupOfUniqueNames should be created
Actual behavior
Got 500 in the console because groupOfNames requires member.
Setup
OCIS_LDAP_URI: ldap://openldap:389
OCIS_LDAP_INSECURE: "true"
OCIS_LDAP_BIND_DN: "cn=admin,dc=thing,dc=com"
OCIS_LDAP_BIND_PASSWORD: "PASSWORD"
OCIS_LDAP_GROUP_BASE_DN: "ou=groups,dc=thing,dc=com"
OCIS_LDAP_GROUP_FILTER: "(objectclass=groupOfUniqueNames)"
OCIS_LDAP_GROUP_OBJECTCLASS: "groupOfUniqueNames"
OCIS_LDAP_GROUP_SCHEMA_MEMBER: "uniqueMember"
OCIS_LDAP_USER_BASE_DN: "ou=users,dc=thing,dc=com"
OCIS_LDAP_USER_FILTER: "(objectclass=ownCloud)"
OCIS_LDAP_USER_OBJECTCLASS: "inetOrgPerson"
LDAP_LOGIN_ATTRIBUTES: "uid"
OCIS_LDAP_USER_SCHEMA_USERNAME: cn
OCIS_ADMIN_USER_ID: "UUID"
IDP_LDAP_LOGIN_ATTRIBUTE: "uid"
IDP_LDAP_UUID_ATTRIBUTE: "ownCloudUUID"
IDP_LDAP_UUID_ATTRIBUTE_TYPE: textAdditional context
#11776 should fix the issue