Help required in defining new string Attribute
Hi, I'm new to free radius. I'm trying to assign a new string attribute for a user, but the radius server is not coming up. Can someone help me in defining new string Attribute in freeradius. I have added a new attribute Foundry-INM-Role-AOR-List as string in dictionary and I'm trying to set this attribute for a user. With the below configuration radius server is not coming up. Any help in resolving this issue will be greatly appreciated. My changes are In users =-======== "ila" User-Password := "ila123" Foundry-INM-Privilege:= 4, Foundry-INM-Role-AOR-List := "InmRoles=Fremont ; InmAORs=AOR1" In dictionary.foundry =-============== ATTRIBUTE Foundry-INM-Role-AOR-List 9 string When I start the server, it gives the below message. /etc/raddb/users[107]: Parse error (reply) for entry ila: Invalid octet string "InmRoles=Fremont ; InmAORs=AOR1" for attribute name "Foundry-INM-Role-AOR-List" Errors reading /etc/raddb/users /etc/raddb/modules/files[7]: Instantiation failed for module "files" /etc/raddb/sites-enabled/inner-tunnel[111]: Failed to find module "files". /etc/raddb/sites-enabled/inner-tunnel[34]: Errors parsing authorize section. } With integer attribute alone the radius server is coming up fine. Thanks, Ila.
Ila Palanisamy wrote:
Can someone help me in defining new string Attribute in freeradius.
Edit the dictionaries that the server is using.
I have added a new attribute Foundry-INM-Role-AOR-List as string in dictionary and I’m trying to set this attribute for a user. With the below configuration radius server is not coming up.
You are editing a dictionary that the server isn't using.
Any help in resolving this issue will be greatly appreciated.
Run the server in debugging mode. It will print out the path to the dictionaries it's using. Edit those. Alan DeKok.
participants (2)
-
Alan DeKok -
Ila Palanisamy