ID:               21974
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: Debian GNU/Linux
 PHP Version:      4.2.3
 New Comment:

Could you first try this snapshot: 
http://snaps.php.net/php4-STABLE-latest.tar.gz 
 
And post a backtrace: 
http://bugs.php.net/bugs-generating-backtrace.php 
 


Previous Comments:
------------------------------------------------------------------------

[2003-01-30 21:09:20] [EMAIL PROTECTED]

ldap_add causes php to crash. code is:

$addResult = ldap_add($ldap, "uid=$username, ou=People, dc=UCBldap",
$info);

                if ($addResult != 1) {
                        $err = ldap_error($ldap);
                        echo "$err<BR>";
                        ldap_close($ldap);
                        return(1);
                        }
and $info is an array with this in it:

dn: uid=test,ou=People,dc=UCBldap
cn: test
uid: test
objectclass[0]: account
objectclass[1]: posixAccount
objectclass[2]: top
loginshell: /bin/false
userpassword: test
homedirectory: /data/test
gidnumber: 503
uidnumber: 509


the error in /var/log/apache/error_log is

/var/log/apache/error.log:[Thu Jan 30 10:48:26 2003] [notice] child pid
31804 exit signal Segmentation fault (11)

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21974&edit=1

Reply via email to