[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap 2.4.8 and autogroup contrib



Hello,

I correct a small error on the class :
objectClass ( 1.3.6.1.4.1.13175.2.13 NAME 'ezDynGroup' SUP top MUST ( cn ) MAY ( ezMemberURL $ description $ ezMember ) )


(I replace ou by cn).

But no changes.

Guy

Guy Deleeuw a écrit :
Hello,

I just compile the openldap 2.4.8 version and I try the overlay autogroup from the contrib

On my own schema I create 2 attributes description :
attributeType ( 1.3.6.1.4.1.13175.1.62 NAME 'ezMemberURL'
       SUP memberURL )

attributeType ( 1.3.6.1.4.1.13175.1.63 NAME 'ezMember'
       SUP member )

And a new objectClass :
objectClass ( 1.3.6.1.4.1.13175.2.13 NAME 'ezDynGroup' SUP top MUST ( ou ) MAY ( ezMemberURL $ description $ ezMember ) )


In slapd.conf :
overlay autogroup
autogroup-attrset ezDynGroup ezMemberURL ezMember

overlay dynlist
dynlist-attrset groupOfURLs memberURL

First question :  the ezMember is required on the class definition ?

I cannot return the  ezMember :

root@nova:~# ldapsearch -x -LLL -b "ou=dynLists,o=Eurofer,c=be" -s sub "(&(&(objectClass=ezDynGroup)))"
dn: ou=ezDynList1,ou=dynLists,o=Eurofer,c=be
objectClass: top
objectClass: ezDynGroup
ou: ezDynList1
ezMemberURL: ldap:///br=Internal,o=Eurofer,c=be??sub?(&(uid=*))
description: testgroup


Could you help me or give me a link to more informations ?

Thanks in advance

Guy