[sr-dev] git:master:5ede1abc: acc Removing radius configuration files

Olle E. Johansson oej at edvina.net
Thu Jan 5 10:36:31 CET 2017


Module: kamailio
Branch: master
Commit: 5ede1abcce861f453f3806442e6c8d6ae7d2853c
URL: https://github.com/kamailio/kamailio/commit/5ede1abcce861f453f3806442e6c8d6ae7d2853c

Author: Olle E. Johansson <oej at edvina.net>
Committer: Olle E. Johansson <oej at edvina.net>
Date: 2017-01-05T10:32:12+01:00

acc Removing radius configuration files

---

Removed: src/modules/acc/etc/radiusclient.conf
Removed: src/modules/acc/etc/servers

---

Diff:  https://github.com/kamailio/kamailio/commit/5ede1abcce861f453f3806442e6c8d6ae7d2853c.diff
Patch: https://github.com/kamailio/kamailio/commit/5ede1abcce861f453f3806442e6c8d6ae7d2853c.patch

---

diff --git a/src/modules/acc/etc/radiusclient.conf b/src/modules/acc/etc/radiusclient.conf
deleted file mode 100644
index ac0ab3d..0000000
--- a/src/modules/acc/etc/radiusclient.conf
+++ /dev/null
@@ -1,85 +0,0 @@
-# General settings
-
-# specify which authentication comes first respectively which
-# authentication is used. possible values are: "radius" and "local".
-# if you specify "radius,local" then the RADIUS server is asked
-# first then the local one. if only one keyword is specified only
-# this server is asked.
-auth_order	radius,local
-
-# maximum login tries a user has
-login_tries	4
-
-# timeout for all login tries
-# if this time is exceeded the user is kicked out
-login_timeout	60
-
-# name of the nologin file which when it exists disables logins.
-# it may be extended by the ttyname which will result in
-# a terminal specific lock (e.g. /etc/nologin.ttyS2 will disable
-# logins on /dev/ttyS2)
-nologin /etc/nologin
-
-# name of the issue file. it's only display when no username is passed
-# on the radlogin command line
-issue	/usr/local/etc/radiusclient/issue
-
-# RADIUS settings
-
-# RADIUS server to use for authentication requests. this config
-# item can appear more then one time. if multiple servers are
-# defined they are tried in a round robin fashion if one
-# server is not answering.
-# optionally you can specify a the port number on which is remote
-# RADIUS listens separated by a colon from the hostname. if
-# no port is specified /etc/services is consulted of the radius
-# service. if this fails also a compiled in default is used.
-#authserver 	localhost
-authserver 	localhost
-
-# RADIUS server to use for accounting requests. All that I
-# said for authserver applies, too. 
-#
-acctserver 	localhost
-
-# file holding shared secrets used for the communication
-# between the RADIUS client and server
-servers		/home/jiri/sip_router/modules/acc/etc/servers
-
-
-
-# dictionary of allowed attributes and values
-# just like in the normal RADIUS distributions
-dictionary 	/home/jiri/sip_router/modules/acc/etc/sip_dictionary
-
-# program to call for a RADIUS authenticated login
-login_radius	/usr/local/sbin/login.radius
-
-# file which holds sequence number for communication with the
-# RADIUS server
-#seqfile		/var/run/radius.seq
-#
-# if openser don't run as root, this directory should be used
-# the debian init script for example use this location
-seqfile		/var/run/kamailio/kamailio_radius.seq
-
-# file which specifies mapping between ttyname and NAS-Port attribute
-mapfile		/usr/local/etc/radiusclient/port-id-map
-
-# default authentication realm to append to all usernames if no
-# realm was explicitly specified by the user
-# the radiusd directly form Livingston doesnt use any realms, so leave
-# it blank then
-default_realm
-
-# time to wait for a reply from the RADIUS server
-radius_timeout	10
-
-# resend request this many times before trying the next server
-radius_retries	3
-
-# LOCAL settings
-
-# program to execute for local login
-# it must support the -f flag for preauthenticated login
-login_local	/bin/login
diff --git a/src/modules/acc/etc/servers b/src/modules/acc/etc/servers
deleted file mode 100644
index 92270f9..0000000
--- a/src/modules/acc/etc/servers
+++ /dev/null
@@ -1,3 +0,0 @@
-#Server Name or Client/Server pair		Key		
-#----------------				---------------
-localhost 						testing123




More information about the sr-dev mailing list