-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
while playing with refresh()/get_ttl() I found that
Net::LDAP::Extension::Refresh doesn't understand OpenLDAP server reply
in case when option dds-max-ttl is less than ttl I want to set with
refresh()
if in slapd.conf I set `dds-max-ttl 1d' and try to refresh ttl ->
5754911 with:
ldapexop ... "refresh" "uid=..." 5754911
I receive:
ldap_parse_result: Size limit exceeded (4)
additional info: time-to-live for dynamicObject exceeds limit
but code with Net::LDAP::Extension::Refresh spawns this:
Use of uninitialized value $end in numeric ge (>=) at
/usr/local/lib/perl5/site_perl/Convert/ASN1/_decode.pm line 626.
Use of uninitialized value $end in numeric eq (==) at
/usr/local/lib/perl5/site_perl/Convert/ASN1/_decode.pm line 63.
after setting dds-max-ttl to some big enough value, same code works well
- --
Zeus V. Panchenko jid:[email protected]
IT Dpt., I.B.S. LLC GMT+2 (EET)
-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAlpCU1YACgkQr3jpPg/3oyrENgCgi6dkpLt3uX/vX2Vtn3XMHbg2
eMUAoPx+8ZNCRxs9TKRIY+3nvN0ph8M4
=fBjQ
-----END PGP SIGNATURE-----