I've tried to parse the string to use only the cn value with xpath using substring-after and substring-before funtions, but only works when there are only one group. With several groups i havent found a way to do it with xpath (at least with xpath 1.0):
When using the attribute groupof as groups field, i receive a value in ldap dn format:
cas:memberofcn=group1,ou=division,dc=domain,dc=com/cas:memberof
I've tried to parse the string to use only the cn value with xpath using substring-after and substring-before funtions, but only works when there are only one group. With several groups i havent found a way to do it with xpath (at least with xpath 1.0):
cas:memberofcn=group1,ou=division,dc=domain,dc=com/cas:memberof cas:memberofcn=group2,ou=division,dc=domain,dc=com/cas:memberof
Do you know a way to do it, or its possible to add a function to do it in the module?
thanks