error when adding Primary-DNS
aland at deployingradius.com
Mon Dec 18 22:17:15 CET 2017
On Dec 18, 2017, at 4:14 PM, J E H A N Z A I B <jehanzaib.kiani at gmail.com> wrote:
> I am getting below error when I add in my radgroupreply . I am using other
> parameter like Framed-Pool and its working fine. Anyidea what it could be ?
> | 5 | testgroup | Primary-DNS | := | xx.xx.xx.xx
What's a "Primary-DNS" ?
> (80) sql: Executing select query: SELECT id, groupname, attribute, value,
> op FROM radgroupreply WHERE groupname ='testgroup' ORDER BY id
> (80) sql: ERROR: Failed to create the pair: Unknown name "Primary-DNS"
That should be clear.
You need to add attributes using well-known names. i.e. names which are in the dictionaries.
You can't just invent names and expect them to do what you want.
More information about the Freeradius-Users