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

2010-02-18 Thread Marcel Loose
Hi all, Sorry to reply to myself, but I finally solved the issue. In the end it turned out it *did* have something to do with the LDAP configuration. For some reason, retrieval of 'cn' attributes was disallowed, as can be seen in this snippet from /etc/openldap/slapd.conf: access to

[PHP] Problem retrieving CN with ldap_search()

2010-02-17 Thread Marcel Loose
Hi all, I've posted this question to comp.lang.php a couple of days ago, but up till now didn't get a really useful answer. So, here it is: I' m facing the following problem. I try to retrieve the Common Name (cn) from an LDAP database, using the commands: $result =

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

2010-02-17 Thread List
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 get a really useful answer. So, here it is: I' m facing the following problem. I try to retrieve the Common Name (cn) from an LDAP database, using