added configuration for unix module.
authoraland <aland>
Wed, 3 May 2000 18:16:32 +0000 (18:16 +0000)
committeraland <aland>
Wed, 3 May 2000 18:16:32 +0000 (18:16 +0000)
raddb/radiusd.conf

index 543f430..69e5663 100644 (file)
@@ -1,5 +1,9 @@
-#
-# radiusd.conf Radius config file.
+##
+## radiusd.conf        -- FreeRADIUS server configuration file.
+##
+##     http://www.freeradius.org/
+##
+
 #
 #      The location of other config files and
 #      logfiles are declared in this file
@@ -70,7 +74,7 @@ max_requests          = 1024
 #  It can either contain "*", or an IP address, or a fully qualified
 #  Internet domain name.  The default is "*"
 #
-#bind_address            = *
+bind_address            = *
 
 #
 #  port: Allows you to bind FreeRADIUS to a specific port.
@@ -344,40 +348,35 @@ client 10.10.10.10 {
 
 #######################################################################
 #
-#  Configuration for an SQL module.
+#  Configuration for the Unix module
 #
-sql auth {
-       # Password is mapped through the "secrets" file.
-       server      = sql.domain.com
-       username    = radius
-       password    = sql-passwd
-
-       database    = radiusd
-       table       = users
-
-       username    = username
-       password    = pass
-}
 
-sql acct {
-       # Password is mapped through the "secrets" file.
-       server      = sql.domain.com
-       username    = radius
-       password    = sql-passwd
+module unix {
 
-       database    = radiusd
-       table       = logs
-
-       when        = "Start,Update,Stop"
+#
+#  Cache /etc/passwd, /etc/shadow, and /etc/group
+#
+#  The default is to NOT cache them.  However, caching them can
+#  speed up system authentications by a substantial amount.
+#
+# allowed values: {no, yes}
+       cache           = no
 
-       field       = "Acct-Status-Type status"
-       field       = "User-Name username"
-       field       = "NAS-Port-Type type"
-       field       = "Acct-Session-Time"
-       field       = "Acct-Input-Octets input"
-       field       = "Acct-Output-Octets output"
+#
+#  Define the locations of the normal passwd, shadow, and group files.
+#
+#  'shadow' is commented out by default, because not all systems have
+#  shadow passwords.
+#
+       passwd          = /etc/passwd
+#      shadow          = /etc/shadow
+       group           = /etc/group
 }
 
+#######################################################################
+#
+#  Configuration for the LDAP module.
+#
 module ldap {
        server   = localhost
        login    = "cn=admin,o=My Org,c=US"
@@ -386,31 +385,10 @@ module ldap {
        filter   = "(uid=%u)"
 }
 
-module example {
-#
-#  Boolean variabled.
-#
-# allowed values: {no, yes}
-#
-       boolean         = yes
-
-#
-#  An integer, of any value.
-#
-       integer         = 16
-
-#
-#  A string.
+#######################################################################
 #
-       string          = "This is an example configuration string"
-
+#  Configuration for the SQL module.
 #
-# An IP address, either in dotted quad (1.2.3.4) or hostname (example.com)
-#
-       ipaddr          = 127.0.0.1
-}
-
-
 module sql {
 
        # Connect info
@@ -442,3 +420,34 @@ module sql {
        # Print all SQL statements when in debug mode (-x)
        sqltrace        = no
 }
+
+#######################################################################
+#
+#      Configuration for the example module.  Changing these values
+#      won't affect anything.
+#
+module example {
+#
+#  Boolean variable.
+#
+# allowed values: {no, yes}
+#
+       boolean         = yes
+
+#
+#  An integer, of any value.
+#
+       integer         = 16
+
+#
+#  A string.
+#
+       string          = "This is an example configuration string"
+
+#
+# An IP address, either in dotted quad (1.2.3.4) or hostname (example.com)
+#
+       ipaddr          = 127.0.0.1
+}
+
+