Actually it's a lot simpler than that: slap_overinst *on = (slap_overinst *)op->o_bd->bd_info; if (!op->o_conn->c_authz_backend || op->o_conn->c_authz_backend->bd_info != (BackendInfo *)on->on_info) { /* Not ours */ return -1; } -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support > -----Original Message----- > From: owner-openldap-devel@OpenLDAP.org > [mailto:owner-openldap-devel@OpenLDAP.org]On Behalf Of David Parker > Sent: Thursday, April 08, 2004 6:15 PM > To: openldap-devel@OpenLDAP.org > Subject: RE: checking for bound user > > > That's a big help. Thanks for the code! > > - DAP > > > -----Original Message----- > > From: Howard Chu [mailto:hyc@highlandsun.com] > > Sent: Thursday, April 08, 2004 9:08 PM > > To: David Parker; openldap-devel@OpenLDAP.org > > Subject: RE: checking for bound user > > > > > > OK. You'll need to scan through with something like this: >
<<attachment: winmail.dat>>