ID: 9019
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: LDAP related
Description: Segmentation fault using ldap_mod_del()

I should also note that php is running on Mandrake 7.2 with a stock install, and that 
the directory is Netscape Directory Server 4.12 on a solaris 8 box.

Previous Comments:

[2001-01-31 08:04:52] [EMAIL PROTECTED]
I also tried the function 'ldap_mod_add()' and the same thing happens.


[2001-01-30 21:07:10] [EMAIL PROTECTED]
Here is the code segment:


    if($ACCESS == "No") {
        for ($i=0; $i<$attrs["uniquemember"]["count"]; $i++) {
          if($attrs["uniquemember"][$i] == $dn) {

        $result=ldap_mod_del($ds, "cn=FTP,ou=groups,", $setvar);

Here is the apache log:

[Tue Jan 30 21:02:28 2001] [notice] child pid 3807 exit signal Segmentation fault (11)
[Tue Jan 30 21:02:49 2001] [notice] child pid 3808 exit signal Segmentation fault (11)
[Tue Jan 30 21:02:56 2001] [notice] child pid 3812 exit signal Segmentation fault (11)
[Tue Jan 30 21:05:08 2001] [notice] child pid 3806 exit signal Segmentation fault (11)
[Tue Jan 30 21:05:10 2001] [notice] child pid 3809 exit signal Segmentation fault (11) 

Everytime I click my submit button to send my form (which then calls said code above), 
I get back  "The document contained no data..." 
and apache dumps another seg fault line in the error log.                            


Full Bug description available at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to