[debian-edu-commits] debian-edu/pkg-team/ 01/01: debian/patches: Add 1017_get-ogroups-ou-fix.patch. Use correct GOsa² API call to obtain ogroupRDN string.

Mike Gabriel sunweaver at debian.org
Tue Oct 13 11:17:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository gosa.

commit 38d440f49e999e91946d3e3ea59dd94476be4a6d
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Oct 13 13:16:27 2015 +0200

    debian/patches: Add 1017_get-ogroups-ou-fix.patch. Use correct GOsa² API call to obtain ogroupRDN string.
---
 debian/patches/1017_get-ogroups-ou-fix.patch | 14 ++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/1017_get-ogroups-ou-fix.patch b/debian/patches/1017_get-ogroups-ou-fix.patch
new file mode 100644
index 0000000..f4a3152
--- /dev/null
+++ b/debian/patches/1017_get-ogroups-ou-fix.patch
@@ -0,0 +1,14 @@
+Description: Use correct API call to obtain ogroupRDN string
+Author: Mike Gabriel <mike.gabriel at 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"       ,
diff --git a/debian/patches/series b/debian/patches/series
index 7c534f6..0d2e931 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -19,6 +19,7 @@
 1014_fix-description-of-new-prim-groups.patch
 1015_allow-iso8601-date-format-in-user-API.patch
 1016_allow-same-user-ids-as-adduser.patch
+1017_get-ogroups-ou-fix.patch
 2001_fix-smarty-location.patch
 2002_fix-template-location.patch
 2003_fix-class-mapping.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git



More information about the debian-edu-commits mailing list