Re: Help required in defining new string Attribute

2009-07-15 Thread Alan DeKok
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.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Help required in defining new string Attribute

2009-07-14 Thread Ila Palanisamy
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.

 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html