Defeito #81
Atualizado por Mauricio Luiz Viani há quase 8 anos
No arquivo reports/inc/class.functions.inc.php substituir o filtro de busca ldap:
<pre>
ou=* $filter="(&(phpgwAccountType=u)(|(ou=*".$query."*)(uid=*".$query."*)(sn=*".$query."*)(cn=*".$query."*)(givenName=*".$query."*)
(mail=$query*)(mailAlternateAddress=$query*)))";
por
objectClass=organizatgionalUnit $filter="(&(phpgwAccountType=u)(|(objectClass=organizatgionalUnit".$query."*)(uid=*".$query."*)(sn=*".$query."*)(cn=*".$query."*)(givenName=*".$query."*)
(mail=$query*)(mailAlternateAddress=$query*)))";
</pre>
Ocorrência está na função get_list_all
<pre>
ou=* $filter="(&(phpgwAccountType=u)(|(ou=*".$query."*)(uid=*".$query."*)(sn=*".$query."*)(cn=*".$query."*)(givenName=*".$query."*)
(mail=$query*)(mailAlternateAddress=$query*)))";
por
objectClass=organizatgionalUnit $filter="(&(phpgwAccountType=u)(|(objectClass=organizatgionalUnit".$query."*)(uid=*".$query."*)(sn=*".$query."*)(cn=*".$query."*)(givenName=*".$query."*)
(mail=$query*)(mailAlternateAddress=$query*)))";
</pre>
Ocorrência está na função get_list_all