(RADIATOR) AuthBy LDAP2: Hangs for 10 minutes when LDAP Server down

Mike McCauley mikem at open.com.au
Sat Jun 29 01:17:44 CDT 2002


Hello Ralph,

what version of Perl and Net::LDAP do you have? What OS?

Cheers.

On Sat, 29 Jun 2002 14:31, Hugh Irvine wrote:
> Hello Ralph -
>
> I have copied this mail to Mike for his comments.
>
> regards
>
> Hugh
>
> On Sat, 29 Jun 2002 01:07, r.helfenberger at comlight.ch wrote:
> > Hello everybody
> > I found a timeout problem with Radiator when the LDAP server is down. The
> > Radiator is completely blocked for about 13 minutes instead of the
> > configured 10 seconds in the configuration file. This happens when one of
> > the OpenLDAP serves is completely down (say LDAP_HOST1)
> >
> > Configuration:
> > Radiator:   2.18.3
> > Two OpenLDAP Servers.
> >
> > Configuration file:
> >
> >         <AuthBy LDAP2>
> >                 NoDefault
> >
> >                 Host           LDAP_HOST1
> >                 AuthDN     xxxx
> >                 AuthPassword  xxxx
> >                 BaseDN         xxxx
> >                 UsernameAttr   cn
> >                 PasswordAttr   userPassword
> >                 Timeout 10
> >                 FailureBackoffTime 120
> >         </AuthBy>
> >
> >         <AuthBy LDAP2>
> >                 NoDefault
> >
> >                 Host           LDAP_HOST2
> >                 AuthDN     xxxx
> >                 AuthPassword  xxxx
> >                 BaseDN         xxxx
> >                 UsernameAttr   cn
> >                 PasswordAttr   userPassword
> >                 Timeout 10
> >                 FailureBackoffTime 120
> >         </AuthBy>
> >
> > What I see in the logfile:
> > Fri Jun 28 15:06:18 2002: DEBUG: Handling with Radius::AuthLDAP2:
> > Fri Jun 28 15:06:18 2002: INFO: Connecting to 192.168.190.24, port 389
> > Fri Jun 28 15:19:27 2002: ERR: Could not open LDAP connection to
> > 192.168.190.24, port 389. Backing off for 120 seconds.
> > Fri Jun 28 15:19:27 2002: DEBUG: Handling with Radius::AuthLDAP2:
> > Fri Jun 28 15:19:27 2002: INFO: Connecting to 192.168.190.236, port 389
> > Fri Jun 28 15:19:27 2002: INFO: Attempting to bind with cn=radpay,
> > ou=Users, ou=Administration, ou=Sunrise, o=Sunrise, c=ch, radpay (ser
> >
> > The problem: between line 2 und 3 there is a gap of 13 minutes where the
> > radiator was completely blocked.
> >
> > Did anybody else encounter such a problem? Is there a solution?
> >
> > Thank you for your help
> >
> > Best regards
> >
> > Ralph Helfenberger

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
Phone +61 3 9598-0985                       Fax   +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc 
on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X etc etc

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list