Re: cannot see LDAP userPassword and createTimestamp attr
| From: | Unknown Sender | Date: | Thu, 21 Mar 2002 18:48:05 +0000 |
| Subject: | Re: cannot see LDAP userPassword and createTimestamp attr | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-89574@lists.php.net to get a copy of this message | ||
On Tue, Feb 26, 2002 at 07:42:15PM -0800, tim tom wrote:
> why can't i see the createTimestamp and userPassword bcos i did an *authenticated bind* !
> the script:
This depends on the LDAP server. createTimestamp is an operational
attribute and is not returned by default. You can specify explicitly
that you want this attribute, or use the magical name "+" to get all
operational attributes. The userPassword attribute is normally
protected but it seems like you fixed that. I think the problem you
see is that PHP always returns attributes in lower case. It might be
a good idea to do var_dump() of array returned by ldap_get_entries()
to see what's in it.
Stig