summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSascha Wilde <wilde@intevation.de>2009-12-16 15:42:11 (GMT)
committerSascha Wilde <wilde@intevation.de>2009-12-16 15:42:11 (GMT)
commitdc7cbfc9bb9702cedfd5be2e895e52707dab3c35 (patch)
treec978905d3c7f32325832b85992d44fb173a25f27 /lib
parent9be5a0899889d4cb76876c29b9748dd384b54f30 (diff)
downloadperl-Kolab-dc7cbfc9bb9702cedfd5be2e895e52707dab3c35.tar.gz
kolab/issue3940 (Deleting users does not work if master Kolab server is not master LDAP (rt5889))
Diffstat (limited to 'lib')
-rw-r--r--lib/Kolab/LDAP.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kolab/LDAP.pm b/lib/Kolab/LDAP.pm
index 7acb2e0..855a00f 100644
--- a/lib/Kolab/LDAP.pm
+++ b/lib/Kolab/LDAP.pm
@@ -644,8 +644,8 @@ sub deleteObject
my $dn = $object->dn;
my $del = $object->get_value($Kolab::config{$p . '_field_deleted'}, asref => 1);
my $masterldap;
- if( lc($Kolab::config{'is_master'}) eq 'true' ) {
- # We are the master, just go ahead
+ if( $Kolab::config{'ldap_master_uri'} eq $Kolab::config{'ldap_uri'} ) {
+ # We are the LDAP master, just go ahead
$masterldap = $ldap;
} else {
$masterldap = createMasterLDAP;