Hi Wim,
I have had a report of something similar for one kind of LDAP server.
Apparently what happens is that that type of LDAP server closes the TCP
connection after a timeout of a few minutes, whereas Radiator expects the
connection to stay up.
What type of LDAP server do you have?
Can you confirm whther you are seeing similar behaviour?
Cheers.
On May 25, 4:41pm, Wim Biemolt wrote:
> Subject: (RADIATOR) AuthBy LDAP2 works only once ...
> Hi,
>
> I have a problem with radiator 2.13.1 (with patches). Part of my config
> looks like this:
>
> <Realm /.*\.ldap.nl/>
> RewriteUsername s/^([^@]+).*/$1/
>
> <AuthBy LDAP2>
> Host a.b.c.d
> Port 389
>
> AuthDN x
> AuthPassword y
>
> BaseDN
>
> # The LDAP attribute to match against User-Name
> UsernameAttr uid
> PasswordAttr Password
> CheckAttr Clip
> </AuthBy>
>
> </Realm>
>
> The first time everything goes fine if I try to authenticate [EMAIL PROTECTED]
>
> DEBUG: Handling request with Handler 'Realm=/.*\.ldap.nl/'
> DEBUG: Rewrote user name to radius
> DEBUG: Handling with Radius::AuthLDAP2
> DEBUG: Connecting to a.b.c.d, port 389
> DEBUG: LDAP got result for
> DEBUG: LDAP got cn:
> DEBUG: LDAP got Password: z
> DEBUG: LDAP got Clip:
> DEBUG: Radius::AuthLDAP2 looks for match with radius
> DEBUG: Radius::AuthLDAP2 ACCEPT:
> DEBUG: Access accepted for radius
>
> But the second time this doesn't work anymore:
>
> DEBUG: Handling request with Handler 'Realm=/.*\.ldap.nl/'
> DEBUG: Rewrote user name to radius
> DEBUG: Handling with Radius::AuthLDAP2
>
> Here it stops :-( Any idea what could be wrong???
>
> Thanks,
>
> -Wim
>
>
> ===
> Archive at http://www.thesite.com.au/~radiator/
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>-- End of excerpt from Wim Biemolt
--
Mike McCauley [EMAIL PROTECTED]
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, etc etc on Unix, Win95/8,
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.