Ignore:
Timestamp:
02/10/10 09:58:44 (14 years ago)
Author:
valmir.sena
Message:

Ticket #902 - Permitir que seja definido um dominio diferente por organizacao

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/inc/class.ldap_functions.inc.php

    r1975 r1991  
    15321532        } 
    15331533 
     1534        function get_associated_domain($params) 
     1535        { 
     1536                        $justthese = array("associatedDomain"); 
     1537                        $filter="(objectClass=domainRelatedObject)";; 
     1538                        $context = $params['context']; 
     1539                        $search = ldap_search($this->ldap,$context, $filter, $justthese); 
     1540                        $entry = ldap_get_entries($this->ldap, $search); 
     1541                        return $entry[0]['associateddomain'][0]; 
     1542        } 
    15341543         
    15351544        function change_user_context($dn, $newrdn, $newparent) 
Note: See TracChangeset for help on using the changeset viewer.