how to check ldap attrib and take action on accounting start
Tariq Rashid
tariq.rashid at uk.easynet.net
Fri Jun 9 16:38:09 CEST 2006
One of our systems uses a fairly basic freeradius system (based on freeradius 1.0.2). A simple LDAP databse is used to check that a password matches the supplied username.
What is the recommended way to achieve the following:
* upon receipt of accounting start check LDAP to see if an attribute has been set (possibly something like "seenLive").
* if it is set then then take no special action, continue as normal
* if it hasn't been set then do the following:
- set the attribute so that no special action is taken in future
- send a message to a specified server (possibly XML over tcp). this i suspect will be done by calling an executable? or should the python/C modules be used for this?
your experience or advice appreciated.
tariq
More information about the Freeradius-Users
mailing list