config memberOf in idpv4

John C. Pfeifer pfeifer at umd.edu
Wed May 13 14:56:09 UTC 2020


Try:

   <AttributeDefinition id=“groups" xsi:type="Mapped">
        <InputDataConnector ref="directory" attributeNames="memberOf" />

        <DefaultValue passThru="false" />
        <ValueMap>
            <ReturnValue>$1</ReturnValue>
            <SourceValue ignoreCase="true”>cn=([^,]+), ou=groups,dc=example,dc=com </SourceValue>
        </ValueMap>
    </AttributeDefinition>


> On May 13, 2020, at 10:52 AM, leosimon <leosimon at digital-nirvana.com> wrote:
> 
> Nope, not like that. I have returned the operational attribute and that
> returns the value as 
> cn=group1,ou=groups,dc=example,dc=com
> 
> I won't need this whole data, I would like to just export the group name
> like. 
> 
> group1 
> 
> Any ideas on how to do this?
> 
> 
> 
> --
> Sent from: https://shibboleth.1660669.n2.nabble.com/Shibboleth-Users-f1660767.html
> -- 
> For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg
> To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


//
John Pfeifer
Division of Information Technology
University of Maryland, College Park



More information about the users mailing list