Changeset 585 for trunk/expressoAdmin1_2/inc/class.ldap_functions.inc.php
- Timestamp:
- 01/08/09 16:35:48 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.ldap_functions.inc.php
r540 r585 76 76 */ 77 77 78 // Este if é para utilizar o master. (para replicação) 78 79 if ( (!empty($GLOBALS['phpgw_info']['server']['ldap_master_host'])) && ($ldap_connection = ldap_connect($GLOBALS['phpgw_info']['server']['ldap_master_host'])) ) 79 80 { … … 905 906 if (ldap_errno($ldapMasterConnect) == '50') 906 907 { 907 908 $return['msg'] = $this->functions->lang('You do not have right to create institutional accounts') . "."; 909 910 $result['msg'] = $this->functions->lang('Error on the function') . ' ldap_functions->add_user2maillist' . ".\n" . 908 $result['msg'] = $this->functions->lang('Error on the function') . ' ldap_functions->remove_user2maillist' . ".\n" . 911 909 $this->functions->lang('The user used for record on LPDA, must have write access') . ".\n"; 912 910 $this->functions->lang('The user') . ' ' . $_SESSION['phpgw_info']['expresso']['cc_ldap_server']['acc'] . ' ' . $this->functions->lang('does not have this access') . ".\n"; … … 914 912 } 915 913 else 916 $result['msg'] = $this->functions->lang('Error on function') . " ldap_functions-> add_user2maillist ($dn)" . ".\n" . $this->functions->lang('Server returns') . ': ' . ldap_error($ldapMasterConnect);914 $result['msg'] = $this->functions->lang('Error on function') . " ldap_functions->remove_user2maillist ($dn)" . ".\n" . $this->functions->lang('Server returns') . ': ' . ldap_error($ldapMasterConnect); 917 915 } 918 916 ldap_close($ldapMasterConnect); … … 1947 1945 { 1948 1946 $result['status'] = false; 1949 $result['msg'] = $this->functions->lang('Error in function') . ' ldap_functions->create_institutional_accounts';1947 $result['msg'] = $this->functions->lang('Error on function') . ' ldap_functions->create_institutional_accounts'; 1950 1948 $result['msg'] .= "\n" . $this->functions->lang('Server return') . ': ' . ldap_error($this->ldap); 1951 1949 }
Note: See TracChangeset
for help on using the changeset viewer.