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

Re: status of dyngroup/dynlist?



* Aaron Richton <richton@nbcs.rutgers.edu> [20050519 15:07]:
> >     ldap_compare: No such attribute (16)
> > What am I missing?
> 
> Cosmetically, the latest version of dyngroup.c. Follow the thread
> "dyngroup return codes" on openldap-devel and check out the related change
> from CVS.

Thanks, that's in interesting thread.

> Now, if you're not able to ever get TRUE, there's a deeper issue. Perhaps
> turn on some debugging and see what is (or, more importantly, isn't) hitting?

I must be having a deeper (or shallower) issue.  It doesn't look like my
memberURL is being processed at all.  When I turn logging up all the way
I see only the slightest mention of memberURL (and it doesn't look like
it's triggering any sort of search):  

________________________________________________________________________
=> access_allowed: compare access granted by write(=wrscx)
send_ldap_result: conn=0 op=4 p=3
send_ldap_result: err=16 matched="" text=""
=> bdb_entry_get: ndn: "cn=dyngroup,ou=group,dc=example,dc=com"
=> bdb_entry_get: oc: "(null)", at: "memberURL"
bdb_dn2entry("cn=dyngroup,ou=group,dc=example,dc=com")
=> bdb_entry_get: found entry: "cn=dyngroup,ou=group,dc=example,dc=com"
bdb_entry_get: rc=0
=> bdb_entry_get: ndn: "uid=benp,ou=people,dc=example,dc=com"
=> bdb_entry_get: oc: "(null)", at: "(null)"
bdb_dn2entry("uid=benp,ou=people,dc=example,dc=com")
=> bdb_dn2id( "ou=people,dc=example,dc=com" )
<= bdb_dn2id: got id=0x00000008
=> bdb_dn2id( "uid=benp,ou=people,dc=example,dc=com" )
<= bdb_dn2id: got id=0x000003ac
entry_decode: "uid=benp,ou=People,dc=example,dc=com"
<= entry_decode(uid=benp,ou=People,dc=example,dc=com)
=> bdb_entry_get: found entry: "uid=benp,ou=people,dc=example,dc=com"
bdb_entry_get: rc=0
send_ldap_response: msgid=5 tag=111 err=16
conn=0 op=4 RESULT tag=111 err=16 text=
do_unbind
________________________________________________________________________


My memberURL entries look like:

memberURL: ldap:///ou=People,dc=example,dc=com?sub?(&(objectClass=posixaccount)
 (gidnumber=123))

memberURL: ldap:///ou=People,dc=example,dc=com?sub?(objectclass=groupofnames)

Am I flubbing the syntax?

Ben