[Date Prev][Date Next] [Chronological] [Thread] [Top]

Perl Backend



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I get a segmentation fault using the perl-Backend in OL 2.3.7.

The perl script is the provided SampleLDAP.pm with the modification that
each function prints its parameters.

The "XXXXXXX init XXXXXXX" is at the begin of the init()-function, so the
perl-file parses correctly

After the "slapd starting" the system waits.

I get the rest of the output if I issue a search. It should show "XXXXXXX
search XXXXXXX" and the parameters

Boris

debug output with -d 1:

backend_startup_one: starting "cn=config"
backend_startup_one: starting "o=AnyOrg,c=US"
XXXXXXX init XXXXXXX
slapd starting
ldap_pvt_gethostbyname_a: host=ldap2.xxx.org, r=0
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
|>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
send_ldap_result: conn=0 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush: 14 bytes to sd 7
do_bind: v3 anonymous bind
connection_get(7): got connid=0
connection_read(7): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 50 contents:
ber_get_next
ber_get_next on fd 7 failed errno=11 (Resource temporarily unavailable)
do_search
ber_scanf fmt ({miiiib) ber:
|>> dnPrettyNormal: <o=AnyOrg,c=US>
=> ldap_bv2dn(o=AnyOrg,c=US,0)
ldap_err2string
<= ldap_bv2dn(o=AnyOrg,c=US)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(o=AnyOrg,c=US)=0 Success
=> ldap_dn2bv(272)
ldap_err2string
<= ldap_dn2bv(o=anyorg,c=us)=0 Success
<<< dnPrettyNormal: <o=AnyOrg,c=US>, <o=anyorg,c=us>
ber_scanf fmt (m) ber:
ber_scanf fmt ({M}}) ber:
==> limits_get: conn=0 op=1 dn="[anonymous]"
Segmentation fault

- --
*----------------------------------------------------------------------*
| Boris Stobbe * Informatik Rechner Betrieb Universität Paderborn      |
*----------------------------------------------------------------------*
| Sungurus * DB-Gurus/Benutzerverwaltung * http://irb.uni-paderborn.de |
*----------------------------------------------------------------------*
| Email:     bstobbe@upb.de * sungurus@upb.de * dbgurus@upb.de         |
*----------------------------------------------------------------------*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDGjj9MgxfPeS5o6ERAkSRAKCUg/qnARsIUOkKhpq1PLH0Oy0xXACfWMvg
VbSIu7cckMeRgPwfMo3WsYs=
=5Vyo
-----END PGP SIGNATURE-----