Net::LDAP::Extension::Refresh doesn't understand responce from server

"Zeus Panchenko" <[email protected]> Tue, 26 Dec 2017 15:49:10 +0200
Newsgroups gmane.comp.lang.perl.modules.ldap
Organization I.B.S. LLC
Message-ID <[email protected]>
=2D----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=3D..." 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 (>=3D) at /usr/local/lib/perl=
5/site_perl/Convert/ASN1/_decode.pm line 626.
Use of uninitialized value $end in numeric eq (=3D=3D) at /usr/local/lib/pe=
rl5/site_perl/Convert/ASN1/_decode.pm line 63.

after setting dds-max-ttl to some big enough value, same code works well
=2D --=20
Zeus V. Panchenko				jid:[email protected]
IT Dpt., I.B.S. LLC					  GMT+2 (EET)
=2D----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlpCU1YACgkQr3jpPg/3oyrENgCgi6dkpLt3uX/vX2Vtn3XMHbg2
eMUAoPx+8ZNCRxs9TKRIY+3nvN0ph8M4
=3DfBjQ
=2D----END PGP SIGNATURE-----