~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to raddb/sql.conf

  • Committer: Bazaar Package Importer
  • Author(s): Josip Rodin
  • Date: 2009-11-23 03:57:37 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20091123035737-zsgtzhfych8hir68
Tags: 2.1.7+dfsg-1
* Adopting the package, closes: #536623.
* New upstream version, closes: #513484.
  + Fixes the blooper in unlang evaluation logic, closes: #526175.
* Used quilt (and added README.source), and moved upstream file patching
  into debian/patches/. The source is no longer in collab-maint git
  (to make it simpler for me to finally get this out the door), but
  kept the .gitignore should we need that again.
* Dropped the dialup_admin/bin/backup_radacct patch (integrated upstream).
* Dropped the raddb/Makefile patch (problem no longer exists upstream).
* Dropped the lib/packet.c lib/radius.c main/listen.c patches (was from
  upstream 2.0.5 anyway).
* Dropped references to otp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Dropped references to snmp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Ship /etc/freeradius/modules/* in the freeradius package.
* Stop shipping sites-enabled symlinks in the package and instead create
  them only on initial install, thanks to Matej Vela, closes: #533396.
* Add export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" to the init script
  at the request of John Morrissey, closes: #550143.
* Stop installing /var/run/freeradius in the package to silence Lintian.
  The init script already recreates it at will.
* Remove executable bit from example.pl to silence Lintian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
##
3
3
## sql.conf -- SQL modules
4
4
##
5
 
##      $Id: sql.conf,v 1.61 2007/12/31 03:31:16 aland Exp $
 
5
##      $Id$
6
6
 
7
7
######################################################################
8
8
#
34
34
 
35
35
        # Connection info:
36
36
        server = "localhost"
 
37
        #port = 3306
37
38
        login = "radius"
38
39
        password = "radpass"
39
40
 
79
80
        # connection (per_socket)
80
81
        connect_failure_retry_delay = 60
81
82
 
 
83
        # lifetime of an SQL socket.  If you are having network issues
 
84
        # such as TCP sessions expiring, you may need to set the socket
 
85
        # lifetime.  If set to non-zero, any open connections will be
 
86
        # closed "lifetime" seconds after they were first opened.
 
87
        lifetime = 0
 
88
 
 
89
        # Maximum number of queries used by an SQL socket.  If you are
 
90
        # having issues with SQL sockets lasting "too long", you can
 
91
        # limit the number of queries performed over one socket.  After
 
92
        # "max_qeuries", the socket will be closed.  Use 0 for "no limit".
 
93
        max_queries = 0
 
94
 
82
95
        # Set to 'yes' to read radius clients from the database ('nas' table)
83
96
        # Clients will ONLY be read on server startup.  For performance
84
97
        # and security reasons, finding clients via SQL queries CANNOT