From 11b2b4b5b5e9bd8ebb61f1fe247870586d72bf85 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 27 Aug 2008 11:13:10 +0000 Subject: [PATCH] Updated shared naming attribute detection . git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12289 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/mail/admin/groups/mail/class_groupMail.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc index 49276bb49..0c3afb897 100644 --- a/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc +++ b/gosa-plugins/mail/admin/groups/mail/class_groupMail.inc @@ -117,7 +117,12 @@ class mailgroup extends plugin /* Build account name */ $uattrib = $method->uattrib; + + /* Map uid to cn, because we are in a group currently */ + if($uattrib == "uid") $uattrib ="cn"; + if (isset($this->attrs[$uattrib][0])){ + $this->account_name= $this->attrs[$uattrib][0]; if(preg_match("/@/",$this->account_name)){ $cn = ""; -- 2.30.2