Re: [PHP] Problem retrieving CN with ldap_search()

2010-02-18 Thread Marcel Loose
=userPassword,userPKCS12,cn by self write by * auth Removing 'cn' from 'attrs' solved the problem. Best regards, Marcel Loose. On 2/17/10, Marcel Loose lo...@astron.nl wrote: Hi all, I've posted this question to comp.lang.php a couple of days ago, but up till now didn't

[PHP] Problem retrieving CN with ldap_search()

2010-02-17 Thread Marcel Loose
) inetOrgPerson } [0]= string(11) objectclass [gecos]= array(2) { [count]= int(1) [0]= string(12) Marcel Loose } [1]= string(5) gecos [uid]= array(2) { [count]= int(1) [0]= string(5) loose } [2]= string(3) uid [sn]= array(2) { [count]= int(1) [0]= string(5) Loose } [3]= string(2) sn [givenname