Changeset 6865 for trunk


Ignore:
Timestamp:
07/24/12 14:25:30 (12 years ago)
Author:
cristiano
Message:

Ticket #2938 - BackPort? - Proibir contas de usuário com o mesmo cpf?

File:
1 edited

Legend:

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

    r6096 r6865  
    835835                                 
    836836                                        $filter = "(&(phpgwAccountType=u)(cpf=$cpf))"; 
    837                                         $justthese = array("cn","uid"); 
     837                                        $justthese = array("cn","uid" ,"mail"); 
    838838                                        $search = ldap_search($local_ldap_connection, $context, $filter, $justthese); 
    839839                                        $entries = ldap_get_entries($local_ldap_connection,$search); 
     
    847847                                                                        { 
    848848                                                                                if (strcasecmp($uid, $entries[$i]['uid'][0]) != 0) 
    849                                                                         $result['question'] .= "- " . $entries[$i]['cn'][0] . "\n"; 
     849                                                                        $result['question'] .= "- " . $entries[$i]['cn'][0] ." - ".$entries[$i]['uid'][0] ." - ".$entries[$i]['mail'][0] . "\n"; 
    850850                                                                        } 
    851851                                                                        $result['question'] .= $this->functions->lang("Do you want to continue anyway") . "?"; 
Note: See TracChangeset for help on using the changeset viewer.