From 6a6684adab6804b50d1e427b1ab4d39c19dbb324 Mon Sep 17 00:00:00 2001 From: Robert Anderson <randerson@lbsd.net> Date: Thu, 26 Feb 2009 15:05:47 +0000 Subject: [PATCH] * Removed authentication plugins config section * Added authentication mechanisms & users config section --- smradiusd.conf | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/smradiusd.conf b/smradiusd.conf index 5185f03d..707089e2 100644 --- a/smradiusd.conf +++ b/smradiusd.conf @@ -50,7 +50,7 @@ # modules - Log detailed module running information # # There is no default for this configuration option. Options can be -# separated by commas. ie. protocols,modules +# separated by commas. ie. modules # #log_detail= @@ -95,12 +95,19 @@ EOT [authentication] -plugins=<<EOT + +mechanisms=<<EOT mod_auth_pap mod_auth_chap mod_auth_mschap EOT +users=<<EOT +mod_userdb_test +EOT + +# ======================================================================================== + sql_password_query=<<EOT SELECT ID, Password FROM Users WHERE Username = %u @@ -112,6 +119,11 @@ EOT + + + + + [authorization] sql_user_attribute_query=<<EOT SELECT Attribute, OP, Value FROM UserAttributes WHERE UserID = ${user.id} -- GitLab