Groups | Search | Server Info | Login | Register


Groups > perl.ldap > #635

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

Newsgroups perl.ldap
Subject Net::LDAP::Extension::Refresh doesn't understand responce from server
Organization I.B.S. LLC
Date 2017-12-26 15:49 +0200
Message-ID <20171226154910.5210@relay.xx> (permalink)
From zeus@ibs.dn.ua ("Zeus Panchenko")

Show all headers | View raw


-----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:zeus@im.ibs.dn.ua
IT Dpt., I.B.S. LLC					  GMT+2 (EET)
-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlpCU1YACgkQr3jpPg/3oyrENgCgi6dkpLt3uX/vX2Vtn3XMHbg2
eMUAoPx+8ZNCRxs9TKRIY+3nvN0ph8M4
=fBjQ
-----END PGP SIGNATURE-----

Back to perl.ldap | Previous | NextNext in thread | Find similar


Thread

Net::LDAP::Extension::Refresh doesn't understand responce from server zeus@ibs.dn.ua ("Zeus Panchenko") - 2017-12-26 15:49 +0200
  Re: Net::LDAP::Extension::Refresh doesn't understand responce from server peter@adpm.de (Peter Marschall) - 2017-12-28 12:59 +0100
    Re: Net::LDAP::Extension::Refresh doesn't understand responce from server zeus@ibs.dn.ua ("Zeus Panchenko") - 2017-12-28 14:58 +0200
      Re: Net::LDAP::Extension::Refresh doesn't understand responce from server peter@adpm.de (Peter Marschall) - 2017-12-28 21:02 +0100

csiph-web