From 32c182f4481e418013568e3b8d194df44e49a0a7 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 29 Mar 2010 09:58:34 +0000 Subject: [PATCH] Updated ldif export - Updated ACLs wq git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17342 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc b/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc index 8bed2866a..dfd562cca 100644 --- a/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc +++ b/gosa-plugins/ldapmanager/addons/ldapmanager/class_export.inc @@ -61,7 +61,7 @@ class ldifexport extends plugin // Set values for optionlist in form $bases = array(); - $acl_bases = $this->ui->get_module_departments("all"); + $acl_bases = $this->ui->get_module_departments("ldapmanager"); foreach($this->config->idepartments as $base_dn => $name){ if(in_array_ics($base_dn,$acl_bases)){ $bases[$base_dn] = $name; @@ -88,7 +88,7 @@ class ldifexport extends plugin /* check alcs for given dn */ $acls =""; if(isset($dn)){ - $acls = $this->ui->get_permissions($dn,"all/all"); + $acls = $this->ui->get_permissions($dn,"ldapmanager/ldif"); } if((!preg_match("/r/",$acls)) && (isset($dn))){ -- 2.30.2