From:             [EMAIL PROTECTED]
Operating system: Linux Debian
PHP version:      4.3.0
PHP Bug Type:     LDAP related
Bug description:  binary value not returned correctly

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 bug report at http://bugs.php.net/?id=21606&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21606&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21606&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21606&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21606&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21606&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21606&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21606&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21606&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21606&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21606&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21606&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21606&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21606&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21606&r=gnused

Reply via email to