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

RE: (ITS#4197) DynList not return attributes



Here is the LDIF for a dynamic group:

# Wiki Users, LDAP, groups, uci.edu
# Wiki Users, LDAP, groups, uci.edu
dn: cn=Wiki Users,ou=LDAP,ou=groups,dc=uci,dc=edu
objectClass: top
objectClass: groupOfURLs
cn: Wiki Users
memberURL: ldap:///ou=people,dc=uci,dc=edu?displayName?sub?(ou=ADCOM SERVICES)

I don't know how much do you need from configuration file.  I think this
is the part you need:

include         /usr/local/openldap-2.3.11/etc/openldap/schema/core.schema
include
/usr/local/openldap-2.3.11/etc/openldap/schema/cosine.schema
include
/usr/local/openldap-2.3.11/etc/openldap/schema/inetorgperson.sch
ema
include
/usr/local/openldap-2.3.11/etc/openldap/schema/dyngroup.schema


overlay         dynlist
dynlist-oc      groupOfURLs
dynlist-ad      memberURL



Result is:

# Wiki Users, LDAP, groups, uci.edu
dn: cn=Wiki Users,ou=LDAP,ou=groups,dc=uci,dc=edu
objectClass: top
objectClass: groupOfURLs
cn: Wiki Users
memberURL: ldap:///ou=people,dc=uci,dc=edu?displayName?sub?(ou=ADCOM SERVICES)
displayName: AMIR HASHMANI


It only retrieve one result for displayName, while I am sure there are
50+ more.

if I have:

# Wiki Users, LDAP, groups, uci.edu
dn: cn=Wiki Users,ou=LDAP,ou=groups,dc=uci,dc=edu
objectClass: top
objectClass: groupOfURLs
cn: Wiki Users
memberURL: ldap:///ou=people,dc=uci,dc=edu?mail?sub?(ou=ADCOM SERVICES)

The result will back with 50+ mail addresses as expected.

Is this enough information?

Jason



On Tue, 22 Nov 2005 ando@sys-net.it wrote:

> Please keep replies on the ITS.
>
> On Tue, 2005-11-22 at 11:09 -0800, Jason Lin wrote:
> > I was looking at the log.  It only search employeeNumber for the first
> > person.
>
> what does this mean?  please specify the search request you're trying,
> the expected results and the actual results.
>
> >   The employeeNumbers are all different.  This also happens randomly
> > to other fields as well.  Is there any test code or debugging tool?
>
> I suggest you cook a simple test with slapd.conf and LDIF data in order
> to let us understand what's the intended and the actual behavior, to
> clear out if slapd is behaving according to the overlay's design.
>
> p.
>
>
>
>
> Ing. Pierangelo Masarati
> Responsabile Open Solution
>
> SysNet s.n.c.
> Via Dossi, 8 - 27100 Pavia - ITALIA
> http://www.sys-net.it
> ------------------------------------------
> Office:   +39.02.23998309
> Mobile:   +39.333.4963172
> Email:    pierangelo.masarati@sys-net.it
> ------------------------------------------
>
>