Changeset 422 for trunk/expressoAdmin1_2/inc
- Timestamp:
- 09/12/08 16:53:08 (16 years ago)
- Location:
- trunk/expressoAdmin1_2/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.ldap_functions.inc.php
r414 r422 1137 1137 function get_maillist_info($uidnumber) 1138 1138 { 1139 1140 1139 /* folling referral connection */ 1141 1140 $ldap_conn_following_ref = ldap_connect($_SESSION['phpgw_info']['expresso']['cc_ldap_server']['host']); … … 1170 1169 $result['cn'] = $entry[0]['cn'][0]; 1171 1170 $result['mail'] = $entry[0]['mail'][0]; 1171 $result['description'] = utf8_decode($entry[0]['description'][0]); 1172 1172 $result['accountStatus'] = $entry[0]['accountstatus'][0]; 1173 1173 $result['phpgwAccountVisible'] = $entry[0]['phpgwaccountvisible'][0]; … … 1987 1987 $info['uid'] = $uid; 1988 1988 $info['mail'] = $params['mail']; 1989 $info['description'] = utf8_encode($params['description']); 1989 1990 1990 1991 if ($params['accountStatus'] == 'on') … … 2070 2071 2071 2072 $uid = $params['uid']; 2072 $justthese = array("accountStatus", "phpgwAccountVisible", "cn", "mail", "mailForwardingAddress");2073 2074 $institutional_accounts = ldap_search($this->ldap, $GLOBALS['phpgw_info']['server']['ldap_context'], ("(&(phpgwAccountType=i)(uid=$uid))") , $justthese);2073 //$justthese = array("accountStatus", "phpgwAccountVisible", "cn", "mail", "mailForwardingAddress", "description"); 2074 2075 $institutional_accounts = ldap_search($this->ldap, $GLOBALS['phpgw_info']['server']['ldap_context'], ("(&(phpgwAccountType=i)(uid=$uid))")); 2075 2076 $entrie = ldap_get_entries($this->ldap, $institutional_accounts); 2076 2077 … … 2092 2093 $return['cn'] = $entrie[0]['cn'][0]; 2093 2094 $return['mail'] = $entrie[0]['mail'][0]; 2095 $return['description'] = utf8_decode($entrie[0]['description'][0]); 2094 2096 2095 2097 if ($entrie[0]['mailforwardingaddress']['count'] > 0) -
trunk/expressoAdmin1_2/inc/class.maillist.inc.php
r414 r422 80 80 $maillist_info['loginShell'] = '/bin/false'; 81 81 $maillist_info['mail'] = $params['mail']; 82 $maillist_info['description'] = $params['description']; 82 83 $maillist_info['objectClass'][0] = 'posixAccount'; 83 84 $maillist_info['objectClass'][1] = 'inetOrgPerson'; … … 180 181 } 181 182 183 /* Always replace description */ 184 $ldap_mod_replace['description'] = utf8_encode($new_values['description']); 185 182 186 if (count($ldap_mod_replace)) 183 187 { -
trunk/expressoAdmin1_2/inc/class.uimaillists.inc.php
r414 r422 298 298 'uid' => $maillist_info['uid'], 299 299 'mail' => $maillist_info['mail'], 300 'description' => $maillist_info['description'], 300 301 'cn' => $maillist_info['cn'], 301 302 'user_count' => $user_count,
Note: See TracChangeset
for help on using the changeset viewer.