Re: ispman-agent querying LDAP-slave

Joerg Delker <[email protected]> Tue, 20 Sep 2005 23:47:36 +0200
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
Hi Simon,

I'm currently unaware wether Net::LDAP handles LDAP referrals properly.
Unfortunately, I never had the chance to test this.

Besides some possibly nasty side effects in such scenarios (delayed
replication to consumer might irretate client when writing/reading in
succession) I would strongly recommend to use a LDAP master for ispman
(multi master is ok, too).

Joerg

Simon Liebold wrote:
> Hi,
> 
> can ispman-agent be enabled to use a locally installed LDAP-replica for
> the regular process-queries? 
> 
> Problems arise when processes are finished and are to be deleted from
> the DIT. It appears that ispman-agent cannot follow referrals pointing
> to the master, as i am getting errors like this: 
> 
> <br>Package: ISPMan::LDAP
> <br>Filename: /opt/ispman-1.2/bin/../lib/ISPMan/LDAP.pm
> <br>Line: 710
> DN passed:
> <pre>
> Return code: 10
> Error name: LDAP_REFERRAL
> Error text:
> Error desc: Referral received
> MessageID: 19343
> Error: Referral received
> Server Error:
> DN:
> Canonical DN:
> 
> Is there a workaround or is it wise to make ispman-agent use the master
> solely?
smime.p7s (application/x-pkcs7-signature, 3.1 KB) - not displayed