How to find if the LDAP server is not rechable
Alan DeKok
aland at deployingradius.com
Tue Apr 21 15:46:31 CEST 2015
On Apr 21, 2015, at 1:17 AM, Adarsha S <s.adarsha at gmail.com> wrote:
> But the other_database I'm holding is just a simple C-language hash table
> which is unknown to free radius process.
So... it's not a database, is it? And perhaps you could have said that at the start.
> So I've a logic where based on the result obtained from free-radius I'll
> have to proceed to query my local database which is a simple hashing table.
Which isn't accessible to the FreeRADIUS process. So.. how are you going to make FreeRADIUS query it?
> If I get same response from free-radius for not reachability and wrong
> credentials , I wont be able to proceed to lookup local database because
> only when ldap server is not reachable I should proceed for local data base.
That's what the redundant block does.
> So I need a logic where in free radius returns different error messages.
> Please guide me in the same.
$ man unlang
And read the debug output.
Alan DeKok.
More information about the Freeradius-Users
mailing list