freeradius test user fails Parse error (reply) for entry test: Expected end of line or commaMethods to diagnose why an application works for local user account but fails on a network user account?How does one disable the floppy module from loading on boot in CentOs7?Radiusd(freeradius): User only for a special clientFreeradius: No reply message for Failed AuthenticationsFreeradius Error binding to port for 0.0.0.0 port 1812Linux/Embedded Linux - Understanding the Kernel and additional BSP specific componentsUsing “su - ” to change user given “No passwd entry for user”SSH Configuration Help / Can't tunnelpasswd fails with “Authentication token manipulation error” for NISHow do I add an entry to the end of the line in bash
Why does Kotter return in Welcome Back Kotter
Is there a hemisphere-neutral way of specifying a season?
How to draw the figure with four pentagons?
What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?
Infinite Abelian subgroup of infinite non Abelian group example
What killed these X2 caps?
What about the virus in 12 Monkeys?
What is the most common color to indicate the input-field is disabled?
A reference to a well-known characterization of scattered compact spaces
1960's book about a plague that kills all white people
How can saying a song's name be a copyright violation?
Were any external disk drives stacked vertically?
I would say: "You are another teacher", but she is a woman and I am a man
Memorizing the Keyboard
Is it unprofessional to ask if a job posting on GlassDoor is real?
What mechanic is there to disable a threat instead of killing it?
What to put in ESTA if staying in US for a few days before going on to Canada
What's the difference between 'rename' and 'mv'?
Neighboring nodes in the network
I Accidentally Deleted a Stock Terminal Theme
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
When a company launches a new product do they "come out" with a new product or do they "come up" with a new product?
Intersection of two sorted vectors in C++
Did Shadowfax go to Valinor?
freeradius test user fails Parse error (reply) for entry test: Expected end of line or comma
Methods to diagnose why an application works for local user account but fails on a network user account?How does one disable the floppy module from loading on boot in CentOs7?Radiusd(freeradius): User only for a special clientFreeradius: No reply message for Failed AuthenticationsFreeradius Error binding to port for 0.0.0.0 port 1812Linux/Embedded Linux - Understanding the Kernel and additional BSP specific componentsUsing “su - ” to change user given “No passwd entry for user”SSH Configuration Help / Can't tunnelpasswd fails with “Authentication token manipulation error” for NISHow do I add an entry to the end of the line in bash
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to use the following at the top of my files authorize to test a new radius installation on default configs.
head /etc/raddb/mods-config/files/authorize
bob Cleartext-Password := "hello"
Reply-Message := "Hello, %User-Name"
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name
#
# Configuration file for the rlm_files module.
# Please see rlm_files(5) manpage for more information.
This fails to load at start up.
With the last few lines of the logs looking like this.
/sbin/radiusd -f -X -x
.....
Wed Aug 16 16:37:38 2017 : Debug: reference = "Accounting-Request.%%Acct-Status-Type:-unknown"
Wed Aug 16 16:37:38 2017 : Debug: }
Wed Aug 16 16:37:38 2017 : Debug: (Loaded rlm_files, checking if it's valid)
Wed Aug 16 16:37:38 2017 : Debug: # Loaded module rlm_files
Wed Aug 16 16:37:38 2017 : Debug: # Instantiating module "files" from file /etc/raddb/mods-enabled/files
Wed Aug 16 16:37:38 2017 : Debug: files
Wed Aug 16 16:37:38 2017 : Debug: filename = "/etc/raddb/mods-config/files/authorize"
Wed Aug 16 16:37:38 2017 : Debug: usersfile = "/etc/raddb/mods-config/files/authorize"
Wed Aug 16 16:37:38 2017 : Debug: acctusersfile = "/etc/raddb/mods-config/files/accounting"
Wed Aug 16 16:37:38 2017 : Debug: preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy"
Wed Aug 16 16:37:38 2017 : Debug: compat = "cistron"
Wed Aug 16 16:37:38 2017 : Debug:
Wed Aug 16 16:37:38 2017 : Debug: reading pairlist file /etc/raddb/mods-config/files/authorize
Wed Aug 16 16:37:38 2017 : Error: /etc/raddb/mods-config/files/authorize[5]: Parse error (reply) for entry test: Expected end of line or comma
Wed Aug 16 16:37:38 2017 : Error: Failed reading /etc/raddb/mods-config/files/authorize
Wed Aug 16 16:37:38 2017 : Error: /etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"
linux centos configuration radius freeradius
add a comment |
I am trying to use the following at the top of my files authorize to test a new radius installation on default configs.
head /etc/raddb/mods-config/files/authorize
bob Cleartext-Password := "hello"
Reply-Message := "Hello, %User-Name"
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name
#
# Configuration file for the rlm_files module.
# Please see rlm_files(5) manpage for more information.
This fails to load at start up.
With the last few lines of the logs looking like this.
/sbin/radiusd -f -X -x
.....
Wed Aug 16 16:37:38 2017 : Debug: reference = "Accounting-Request.%%Acct-Status-Type:-unknown"
Wed Aug 16 16:37:38 2017 : Debug: }
Wed Aug 16 16:37:38 2017 : Debug: (Loaded rlm_files, checking if it's valid)
Wed Aug 16 16:37:38 2017 : Debug: # Loaded module rlm_files
Wed Aug 16 16:37:38 2017 : Debug: # Instantiating module "files" from file /etc/raddb/mods-enabled/files
Wed Aug 16 16:37:38 2017 : Debug: files
Wed Aug 16 16:37:38 2017 : Debug: filename = "/etc/raddb/mods-config/files/authorize"
Wed Aug 16 16:37:38 2017 : Debug: usersfile = "/etc/raddb/mods-config/files/authorize"
Wed Aug 16 16:37:38 2017 : Debug: acctusersfile = "/etc/raddb/mods-config/files/accounting"
Wed Aug 16 16:37:38 2017 : Debug: preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy"
Wed Aug 16 16:37:38 2017 : Debug: compat = "cistron"
Wed Aug 16 16:37:38 2017 : Debug:
Wed Aug 16 16:37:38 2017 : Debug: reading pairlist file /etc/raddb/mods-config/files/authorize
Wed Aug 16 16:37:38 2017 : Error: /etc/raddb/mods-config/files/authorize[5]: Parse error (reply) for entry test: Expected end of line or comma
Wed Aug 16 16:37:38 2017 : Error: Failed reading /etc/raddb/mods-config/files/authorize
Wed Aug 16 16:37:38 2017 : Error: /etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"
linux centos configuration radius freeradius
add a comment |
I am trying to use the following at the top of my files authorize to test a new radius installation on default configs.
head /etc/raddb/mods-config/files/authorize
bob Cleartext-Password := "hello"
Reply-Message := "Hello, %User-Name"
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name
#
# Configuration file for the rlm_files module.
# Please see rlm_files(5) manpage for more information.
This fails to load at start up.
With the last few lines of the logs looking like this.
/sbin/radiusd -f -X -x
.....
Wed Aug 16 16:37:38 2017 : Debug: reference = "Accounting-Request.%%Acct-Status-Type:-unknown"
Wed Aug 16 16:37:38 2017 : Debug: }
Wed Aug 16 16:37:38 2017 : Debug: (Loaded rlm_files, checking if it's valid)
Wed Aug 16 16:37:38 2017 : Debug: # Loaded module rlm_files
Wed Aug 16 16:37:38 2017 : Debug: # Instantiating module "files" from file /etc/raddb/mods-enabled/files
Wed Aug 16 16:37:38 2017 : Debug: files
Wed Aug 16 16:37:38 2017 : Debug: filename = "/etc/raddb/mods-config/files/authorize"
Wed Aug 16 16:37:38 2017 : Debug: usersfile = "/etc/raddb/mods-config/files/authorize"
Wed Aug 16 16:37:38 2017 : Debug: acctusersfile = "/etc/raddb/mods-config/files/accounting"
Wed Aug 16 16:37:38 2017 : Debug: preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy"
Wed Aug 16 16:37:38 2017 : Debug: compat = "cistron"
Wed Aug 16 16:37:38 2017 : Debug:
Wed Aug 16 16:37:38 2017 : Debug: reading pairlist file /etc/raddb/mods-config/files/authorize
Wed Aug 16 16:37:38 2017 : Error: /etc/raddb/mods-config/files/authorize[5]: Parse error (reply) for entry test: Expected end of line or comma
Wed Aug 16 16:37:38 2017 : Error: Failed reading /etc/raddb/mods-config/files/authorize
Wed Aug 16 16:37:38 2017 : Error: /etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"
linux centos configuration radius freeradius
I am trying to use the following at the top of my files authorize to test a new radius installation on default configs.
head /etc/raddb/mods-config/files/authorize
bob Cleartext-Password := "hello"
Reply-Message := "Hello, %User-Name"
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name
#
# Configuration file for the rlm_files module.
# Please see rlm_files(5) manpage for more information.
This fails to load at start up.
With the last few lines of the logs looking like this.
/sbin/radiusd -f -X -x
.....
Wed Aug 16 16:37:38 2017 : Debug: reference = "Accounting-Request.%%Acct-Status-Type:-unknown"
Wed Aug 16 16:37:38 2017 : Debug: }
Wed Aug 16 16:37:38 2017 : Debug: (Loaded rlm_files, checking if it's valid)
Wed Aug 16 16:37:38 2017 : Debug: # Loaded module rlm_files
Wed Aug 16 16:37:38 2017 : Debug: # Instantiating module "files" from file /etc/raddb/mods-enabled/files
Wed Aug 16 16:37:38 2017 : Debug: files
Wed Aug 16 16:37:38 2017 : Debug: filename = "/etc/raddb/mods-config/files/authorize"
Wed Aug 16 16:37:38 2017 : Debug: usersfile = "/etc/raddb/mods-config/files/authorize"
Wed Aug 16 16:37:38 2017 : Debug: acctusersfile = "/etc/raddb/mods-config/files/accounting"
Wed Aug 16 16:37:38 2017 : Debug: preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy"
Wed Aug 16 16:37:38 2017 : Debug: compat = "cistron"
Wed Aug 16 16:37:38 2017 : Debug:
Wed Aug 16 16:37:38 2017 : Debug: reading pairlist file /etc/raddb/mods-config/files/authorize
Wed Aug 16 16:37:38 2017 : Error: /etc/raddb/mods-config/files/authorize[5]: Parse error (reply) for entry test: Expected end of line or comma
Wed Aug 16 16:37:38 2017 : Error: Failed reading /etc/raddb/mods-config/files/authorize
Wed Aug 16 16:37:38 2017 : Error: /etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"
linux centos configuration radius freeradius
linux centos configuration radius freeradius
asked Aug 16 '17 at 16:52
nelaaronelaaro
6052816
6052816
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
After many hours and a lot of googling.
I fixed this by taking a harder look at the lines in my authorise
bob Cleartext-Password := "hello"
Reply-Message := "Hello, %User-Name"
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name
The problem was the trailing "
was missing on my test user.
Googling for the error did not get me to any useful answers.
Error: /etc/raddb/mods-config/files/authorize[5]: Parse error (reply) for entry test: Expected end of line or comma
I just added the missing "
after %User-Name"
and everything worked.
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name"
I hope this save somebody some time in the future.
$ radtest "test" test 127.0.0.1 1812 testing123
Sent Access-Request Id 25 from 0.0.0.0:59986 to 127.0.0.1:1812 length 74
User-Name = "test"
User-Password = "test"
NAS-IP-Address = 127.0.1.1
NAS-Port = 1812
Message-Authenticator = 0x00
Cleartext-Password = "test"
Received Access-Accept Id 25 from 127.0.0.1:1812 to 0.0.0.0:0 length 33
Reply-Message = "Hello, test"
You might find it easier to hardcode a couple of test users using unlang. It is easier to follow the debug trace.
– Rui F Ribeiro
Aug 16 '17 at 17:06
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f386487%2ffreeradius-test-user-fails-parse-error-reply-for-entry-test-expected-end-of-l%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
After many hours and a lot of googling.
I fixed this by taking a harder look at the lines in my authorise
bob Cleartext-Password := "hello"
Reply-Message := "Hello, %User-Name"
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name
The problem was the trailing "
was missing on my test user.
Googling for the error did not get me to any useful answers.
Error: /etc/raddb/mods-config/files/authorize[5]: Parse error (reply) for entry test: Expected end of line or comma
I just added the missing "
after %User-Name"
and everything worked.
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name"
I hope this save somebody some time in the future.
$ radtest "test" test 127.0.0.1 1812 testing123
Sent Access-Request Id 25 from 0.0.0.0:59986 to 127.0.0.1:1812 length 74
User-Name = "test"
User-Password = "test"
NAS-IP-Address = 127.0.1.1
NAS-Port = 1812
Message-Authenticator = 0x00
Cleartext-Password = "test"
Received Access-Accept Id 25 from 127.0.0.1:1812 to 0.0.0.0:0 length 33
Reply-Message = "Hello, test"
You might find it easier to hardcode a couple of test users using unlang. It is easier to follow the debug trace.
– Rui F Ribeiro
Aug 16 '17 at 17:06
add a comment |
After many hours and a lot of googling.
I fixed this by taking a harder look at the lines in my authorise
bob Cleartext-Password := "hello"
Reply-Message := "Hello, %User-Name"
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name
The problem was the trailing "
was missing on my test user.
Googling for the error did not get me to any useful answers.
Error: /etc/raddb/mods-config/files/authorize[5]: Parse error (reply) for entry test: Expected end of line or comma
I just added the missing "
after %User-Name"
and everything worked.
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name"
I hope this save somebody some time in the future.
$ radtest "test" test 127.0.0.1 1812 testing123
Sent Access-Request Id 25 from 0.0.0.0:59986 to 127.0.0.1:1812 length 74
User-Name = "test"
User-Password = "test"
NAS-IP-Address = 127.0.1.1
NAS-Port = 1812
Message-Authenticator = 0x00
Cleartext-Password = "test"
Received Access-Accept Id 25 from 127.0.0.1:1812 to 0.0.0.0:0 length 33
Reply-Message = "Hello, test"
You might find it easier to hardcode a couple of test users using unlang. It is easier to follow the debug trace.
– Rui F Ribeiro
Aug 16 '17 at 17:06
add a comment |
After many hours and a lot of googling.
I fixed this by taking a harder look at the lines in my authorise
bob Cleartext-Password := "hello"
Reply-Message := "Hello, %User-Name"
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name
The problem was the trailing "
was missing on my test user.
Googling for the error did not get me to any useful answers.
Error: /etc/raddb/mods-config/files/authorize[5]: Parse error (reply) for entry test: Expected end of line or comma
I just added the missing "
after %User-Name"
and everything worked.
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name"
I hope this save somebody some time in the future.
$ radtest "test" test 127.0.0.1 1812 testing123
Sent Access-Request Id 25 from 0.0.0.0:59986 to 127.0.0.1:1812 length 74
User-Name = "test"
User-Password = "test"
NAS-IP-Address = 127.0.1.1
NAS-Port = 1812
Message-Authenticator = 0x00
Cleartext-Password = "test"
Received Access-Accept Id 25 from 127.0.0.1:1812 to 0.0.0.0:0 length 33
Reply-Message = "Hello, test"
After many hours and a lot of googling.
I fixed this by taking a harder look at the lines in my authorise
bob Cleartext-Password := "hello"
Reply-Message := "Hello, %User-Name"
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name
The problem was the trailing "
was missing on my test user.
Googling for the error did not get me to any useful answers.
Error: /etc/raddb/mods-config/files/authorize[5]: Parse error (reply) for entry test: Expected end of line or comma
I just added the missing "
after %User-Name"
and everything worked.
test Cleartext-Password := "test"
Reply-Message := "Hello, %User-Name"
I hope this save somebody some time in the future.
$ radtest "test" test 127.0.0.1 1812 testing123
Sent Access-Request Id 25 from 0.0.0.0:59986 to 127.0.0.1:1812 length 74
User-Name = "test"
User-Password = "test"
NAS-IP-Address = 127.0.1.1
NAS-Port = 1812
Message-Authenticator = 0x00
Cleartext-Password = "test"
Received Access-Accept Id 25 from 127.0.0.1:1812 to 0.0.0.0:0 length 33
Reply-Message = "Hello, test"
answered Aug 16 '17 at 16:52
nelaaronelaaro
6052816
6052816
You might find it easier to hardcode a couple of test users using unlang. It is easier to follow the debug trace.
– Rui F Ribeiro
Aug 16 '17 at 17:06
add a comment |
You might find it easier to hardcode a couple of test users using unlang. It is easier to follow the debug trace.
– Rui F Ribeiro
Aug 16 '17 at 17:06
You might find it easier to hardcode a couple of test users using unlang. It is easier to follow the debug trace.
– Rui F Ribeiro
Aug 16 '17 at 17:06
You might find it easier to hardcode a couple of test users using unlang. It is easier to follow the debug trace.
– Rui F Ribeiro
Aug 16 '17 at 17:06
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f386487%2ffreeradius-test-user-fails-parse-error-reply-for-entry-test-expected-end-of-l%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown