#21606 [Opn->Fbk]: binary value not returned correctly
| From: | sniper@php.net | Date: | Tue, 14 Jan 2003 01:02:07 +0000 |
| Subject: | #21606 [Opn->Fbk]: binary value not returned correctly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29955@lists.php.net to get a copy of this message | ||
ID: 21606
Updated by: sniper@php.net
Reported By: underling@yandex.ru
-Status: Open
+Status: Feedback
Bug Type: LDAP related
Operating System: Linux Debian
PHP Version: 4.3.0
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2003-01-12 23:55:19] underling@yandex.ru
binary value which is kept in LDAP (like userCertificate or jpegPhoto
attributes) not returned correctly when ldap_search call is made. In
fact it returns only a few bytes of full attribute value. The problem
is probably in some symbols in binary file which are cannot be exported
by PHP so PHP simply breaks an export.
Below is hex-dump of what is actually exported instead of full file:
for jpegPhoto attribute:
00000000 FF D8 FF 00
for userCertificate attribute:
00000000 30 82 03 68 30 82 03 0B A0 03 02 01
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21606&edit=1