PHP 4.0 Bug #2888: LDAP_MODIFY Segmentation Fault 11

From: Date: Wed, 01 Dec 1999 23:15:07 +0000
Subject: PHP 4.0 Bug #2888: LDAP_MODIFY Segmentation Fault 11
Groups: php.dev 
Request: Send a blank email to php-dev+get-13365@lists.php.net to get a copy of this message
From: sjm@cisco.com Operating system: Linux RH6.0 PHP version: 4.0 Beta 3 PHP Bug Type: Reproduceable crash Bug description: LDAP_MODIFY Segmentation Fault 11 Two previous bugs were submitted for ldap_add, and ldap_modify. Here is a test script that can be used to demonstrate this problem. #-- first, get the necessary ldap info $li = ldap_connect ($LDAPhost, $LDAPport); $sr = ldap_search ($li, $LDAPsbase, "uid=testuid"); $rei = ldap_first_entry ($li, $sr); $br = ldap_bind ($li, $LDAPBindDn, $LDAPDnPW); $dn = ldap_get_dn ($li, $rei); #-- build the array and to the modify $newattribute_ar["attribute"] = "value"; array_display($newattribute_ar); ldap_modify ($li, $dn, $newattribute_ar);

« previous php.dev (#13365) next »