projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
867374d
)
Minor comments updated
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 21 May 2009 12:55:06 +0000
(14:55 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 21 May 2009 12:55:06 +0000
(14:55 +0200)
raddb/sqlippool.conf
patch
|
blob
|
history
diff --git
a/raddb/sqlippool.conf
b/raddb/sqlippool.conf
index
b96be57
..
94fabc0
100644
(file)
--- a/
raddb/sqlippool.conf
+++ b/
raddb/sqlippool.conf
@@
-10,6
+10,9
@@
sqlippool {
#########################################
## SQL instance to use (from sql.conf) ##
#########################################
## SQL instance to use (from sql.conf) ##
+ ##
+ ## If you have multiple sql instances, such as "sql sql1 {...}",
+ ## use the *instance* name here: sql1.
#########################################
sql-instance-name = "sql"
#########################################
sql-instance-name = "sql"
@@
-27,20
+30,24
@@
sqlippool {
# pool-key = "%{Calling-Station-Id}"
################################################################
# pool-key = "%{Calling-Station-Id}"
################################################################
- ## Uncomment the appropriate config file for your SQL dialect ##
#
# WARNING: MySQL has certain limitations that means it can
# hand out the same IP address to 2 different users.
#
# We suggest using an SQL DB with proper transaction
#
# WARNING: MySQL has certain limitations that means it can
# hand out the same IP address to 2 different users.
#
# We suggest using an SQL DB with proper transaction
- # support, such as PostgreSQL.
+ # support, such as PostgreSQL, or using MySQL
+ # with InnoDB.
#
################################################################
#
################################################################
- # $INCLUDE sql/mysql/ippool.conf
- $INCLUDE sql/postgresql/ippool.conf
-
-
+ #
+ # Use the same database as configured in the "sql" module, "database"
+ # configuration item. Change the "postgresql" name below to be the
+ # same as the "database" field of the SQL module referred to in the
+ # "sql-instance-name", above.
+ #
+$INCLUDE sql/postgresql/ippool.conf
+
## Logging configuration. (Comment out to disable logging)
sqlippool_log_exists = "Existing IP: %{reply:Framed-IP-Address} \
(did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"
## Logging configuration. (Comment out to disable logging)
sqlippool_log_exists = "Existing IP: %{reply:Framed-IP-Address} \
(did %{Called-Station-Id} cli %{Calling-Station-Id} port %{NAS-Port} user %{User-Name})"