Subject: | the plugin fails to authenticate to the master when checking replication |
so if both your master and your slave require authentication to query
for contextCSN it only authenticates to the slave (assuming the slave is
the -H value)
below is a contextual diff that will fix it for the case when you can
login to the master and the slave using the same auth data.
--- plugin.ldap.pm.orig 2009-01-14 02:29:40.000000000 +0000
+++ LDAP.pm 2009-01-15 02:17:56.000000000 +0000
@@ -257,7 +257,7 @@
return 1 unless $warning or $critical;
my $src_ldap = $self->_ldap_connect($master) or return;
-
+ $self->_ldap_bind($src_ldap);
my $src_entry =
$self->_ldap_do_search($src_ldap,
'(&(objectClass=*)(contextCSN=*))', 'contextCSN')
or return;