Now, I am using Freeradius with LDAP.
My system GNUGK make authentication in the FreeRadius, after Freeradius
look in tne LDAP server. My authentication is Okay, but Free Radius need
to send to GNUGK the ALIAS. This ALIAS is telephone Number E.164.
In debug option in Freeraius with "-X" I look:
------------- FreeRadius --------------
rlm_ldap: bind as cn=root,dc=mydomain,dc=com/teste to 146.164.247.236:389
rlm_ldap: waiting for bind result ...
rlm_ldap: performing search in ou=users,ou=radius,dc=mydomain,dc=com, with
filter (&(uid=ufrj4)(objectclass=radiusprofile))
rlm_ldap: Added password teste in check items
rlm_ldap: looking for check items in directory...
rlm_ldap: Adding radiusAuthType as Auth-Type, value CHAP & op=21
rlm_ldap: looking for reply items in directory...
rlm_ldap: Adding CISCO-AVPair as Service-Type, value
h323-ivr-in=terminal-alias:ufrj4,025980003; & op=11
rlm_ldap: Adding CISCO-AV-Pair as Service-Type, value
h323-ivr-in=terminal-alias:ufrj4,025980003; & op=11
rlm_ldap: Adding h323-ivr-out as Service-Type, value
terminal-alias:ufrj4,025980002; & op=11
rlm_ldap: Adding h323-ivr-in as Service-Type, value
terminal-alias:ufrj4,025980001; & op=11
rlm_ldap: user ufrj4 authorized to use remote access
ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok for request 0
modcall: group authorize returns ok for request 0
rad_check_password: Found Auth-Type CHAP
auth: type "CHAP"
modcall: entering group authtype for request 0
rlm_chap: login attempt by "ufrj4" with CHAP password
rlm_chap: Using clear text password teste for user ufrj4 authentication.
rlm_chap: chap user ufrj4 authenticated succesfully
modcall[authenticate]: module "chap" returns ok for request 0
modcall: group authtype returns ok for request 0
Sending Access-Accept of id 146 to 146.164.247.235:10061
Finished request 0
Going to the next request
----------- end ---------------------------
I have other Freeradis tha make authentication in SQL server, in this
Freeradius there is line with "sending". After this line radius send
string "Cisco-AV-Pair".
----------------- Cisco-AV-Pair -----------
Sending Access-Accept of id 23 to 146.164.247.196:10201
Cisco-AVPair = "h323-ivr-in=terminal-alias:mauricio,025984444"
---------------------------------------
I don�t know how I can talk to freeradius send this string to GNUGK.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html