PHP 4.0 Bug #5433: LDAP "Decoding error" when requesting non-existent attributes in a search op.

From: Date: Fri, 07 Jul 2000 11:02:41 +0000
Subject: PHP 4.0 Bug #5433: LDAP "Decoding error" when requesting non-existent attributes in a search op.
Groups: php.dev 
Request: Send a blank email to php-dev+get-23693@lists.php.net to get a copy of this message
From: johan.troedsson@ei.sigma.se Operating system: Linux Redhat 6.2 PHP version: 4.0.1 PHP Bug Type: LDAP related Bug description: LDAP "Decoding error" when requesting non-existent attributes in a search op. When providing e.g. the ldap_search function with an array of attributes to be returned, and an attribute in this array doesn't exist in the targeted LDAP node, an LDAP "Decoding error" occurs. In PHP3 I used to send in an array("dn") to only have the "dn" property returned. But since "dn" isn't a real LDAP attribute, I suppose I could have written any text in this array to only have the dn returned. The possibility to have only the "dn" returned would be useful in PHP4 as well. /Johan

« previous php.dev (#23693) next »