File: 1017_get-ogroups-ou-fix.patch

package info (click to toggle)
gosa 2.7.4%2Breloaded3-16
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 38,716 kB
  • sloc: php: 87,789; perl: 14,364; xml: 4,987; javascript: 4,127; sh: 887; pascal: 306; sql: 263; python: 162; makefile: 76
file content (14 lines) | stat: -rw-r--r-- 916 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Use correct API call to obtain ogroupRDN string
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

--- a/gosa-core/plugins/admin/ogroups/class_ogroup.inc
+++ b/gosa-core/plugins/admin/ogroups/class_ogroup.inc
@@ -459,7 +459,7 @@
         $p_f= array("accounts"=> array("OBJ"=>"user", "CLASS"=>"gosaAccount"    ,
                     "DN"=> get_people_ou()           ,"ACL" => "users"), 
                 "groups"          => array("OBJ"=>"group", "CLASS"=>"posixGroup"     ,
-                    "DN"=> get_groups_ou('ogroupRDN') ,"ACL" => "groups"), 
+                    "DN"=> get_ou('group','ogroupRDN') ,"ACL" => "groups"), 
                 "departments"     => array("OBJ"=>"department", "CLASS"=>"gosaDepartment" ,
                     "DN"=> ""                        ,"ACL" => "department"), 
                 "servers"         => array("OBJ"=>"servgeneric", "CLASS"=>"goServer"       ,