Code

Updated shared naming attribute detection .
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Aug 2008 11:13:10 +0000 (11:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Aug 2008 11:13:10 +0000 (11:13 +0000)
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

index 49276bb49c4326029d73de992e8a9b5d44bbf89a..0c3afb897f0cf78b4b17ecedae3026c9982d359d 100644 (file)
@@ -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 = "";