Re: PHP4 & LDAP
| From: | Matt Williams | Date: | Thu, 21 Mar 2002 09:02:46 +0000 |
| Subject: | Re: PHP4 & LDAP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17794@lists.php.net to get a copy of this message | ||
On Wednesday 20 March 2002 17:15, David Christensen wrote:
> The problem arises when I try to read back all of the attributes within
> the PHP script. I can see only certain attributes: uid, mail, cn (the
> normal stuff) but if I try to read these fields that I want to use for
> the session, they don't print in PHP, but the show up from the LDAP
> command line util. The fields include: employeeNumber, carLicense,
> departmentNumber.
>
> Like I said earlier, I can update them from PHP, just can't read them back.
Try accessing them in lowercase ie. employeenumber
There's a note on the ldap man page, it's not very clear but it helped me get
at the stuff I needed.
matt