summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b38ff6b)
raw | patch | inline | side by side (parent: b38ff6b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 May 2010 14:59:53 +0000 (14:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 May 2010 14:59:53 +0000 (14:59 +0000) |
-Fixed ACL set for the admin account
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18558 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18558 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/setup/class_setupStep_Migrate.inc | patch | blob | history |
diff --git a/gosa-core/setup/class_setupStep_Migrate.inc b/gosa-core/setup/class_setupStep_Migrate.inc
index fa0abbc863a0747e56e775fbd40de09af71ec60d..4b888535f708a2540b164e50f80fe295a2d2b9ba 100644 (file)
foreach($members as $member){
$member = base64_decode($member);
if(isset($users[$member])){
- if(preg_match("/all;cmdrw/i",$tmp[3])){
+ if(preg_match("/all\/all;cmdrw/i",$tmp[3])){
$valid_users .= $users[$member].", ";
$GOsa_26_found = TRUE;
}
}
if(isset($groups[$member])){
- if(preg_match("/all;cmdrw/i",$tmp[3])){
+ if(preg_match("/all\/all;cmdrw/i",$tmp[3])){
$ldap->cat($member);
$group_attrs = $ldap->fetch();
$val_users = "";
for($e = 0 ; $e < $cnt ; $e++){
$a_str = $ret['gosaAclTemplate'][$e];
- if(preg_match("/^[0-9]*:psub:/",$a_str) && preg_match("/:all;cmdrw$/",$a_str)){
+ if(preg_match("/^[0-9]*:psub:/",$a_str) && preg_match("/:all\/all;cmdrw$/",$a_str)){
$members = explode(",",$tmp[3]);
foreach($members as $member){
}
}
- $acl = "0:psub:".base64_encode($dn).":all;cmdrw";
+ $acl = "0:psub:".base64_encode($dn).":all/all;cmdrw";
$attrs_new['gosaAclEntry'][] = $acl;
if(isset($attrs['gosaAclEntry'])){
for($i = 0 ; $i < $attrs['gosaAclEntry']['count']; $i ++){