php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8929 ldap modify and add operations send trailing garbage to iplanet in dn's
Submitted: 2001-01-26 02:52 UTC Modified: 2001-11-09 14:58 UTC
From: veli-pekka dot suuronen at kuulalaakeri dot fi Assigned:
Status: Closed Package: LDAP related
PHP Version: 4.0.4pl1 OS: Linux 2.2.13 / Solaris 8
Private report: No CVE-ID: None
 [2001-01-26 02:52 UTC] veli-pekka dot suuronen at kuulalaakeri dot fi
Using ldap_mod_replace() and ldap_add() causes trailing
garbage to be sent to iPlanet Directory Server in the
dn-parameter. In the script the strings are fine but when
tracking the accesslog of the iPlanet there is a few
characters of trailing garbage in the DN's.

The configuration is:

--with-apache=../apache_1.3.14
--with-mysql=/usr
--with-oci8
--with-mcrypt=/usr/local
--with-imap=../imap/c-client
--with-ttf=/usr/local
--with-zlib=/usr/local
--with-jpeg-dir=/usr/local
--with-gd=/usr/local
--with-xpm-dir=/usr/X11R6
--with-ming=/usr/local/lib
--with-ldap=/usr/local
--with-dom=/usr/local
--with-config-file-path=/etc/httpd
--disable-session
--disable-debug
--disable-pear
--enable-sigchild
--enable-static=yes
--enable-shared=no
--enable-safe-mode=yes
--enable-track-vars=yes
--enable-magic-quotes=yes
--enable-force-cgi-redirect=yes
--enable-discard-path=yes
--enable-url-include=yes

LDAP client library used is openldap 2.0.7

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-09 14:29 UTC] sander@php.net
Can you include a sample script?
 [2001-11-09 14:58 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Oct 07 23:05:54 2022 UTC