Download > Scripts
In this section you'll find scripts (also known as plugins) which allow XTRadius to talk to external authentication and accounting sources, such as an SQL database. Using these scripts does not require recompiling of XTRadius, only minimal changes to the configuration.
Communication between the XTRadius server and external scripts is handled either by passing arguments through the command line, or by the script accessing the environment set by XTRadius at run-time. For information on how to setup and call scripts for authentication and accounting please see the documentation.
PostgreSQL Plugin (ver 1.2) - by Natalino Picone
Plugin written in Perl, which implements simple authentication and accounting via a PostgreSQL database. User passwords (for authentication) are stored in crypt()'ed form.
This plugin is equivalent to the cistron-postgresql patch you can find here. For more information on using this plugin, please see the README file.
[ Download pg_xtradius12.tgz ] [ View README ]
AuthLDAP (ver 1.0beta) - by Ahmad S. Al-rasheedan
Plugin written in C, which allows authentication via a Netscape LDAP server. Arguments are passed to AuthLDAP via the command line, and you will need to modify authldap.h to configure LDAP host and port etc. Detailed configuration and installation information can be found in the README file.
[ Download authldap.zip ] [ View README ]
AuthMySQL (ver 1.0) - by Ahmad S. Al-rasheedan
Plugin written in C, which implements basic authentication and accounting via a MySQL database. A compiler flag allows you to choose between using crypt()'ed (default) or cleartext passwords. For accounting purposes, this plugin populates both a login and logout table. Please see the README file for more information.
[ Download AuthAccount-1.0.tar.gz ] [ View README ]
Radauth (ver 0.5) - by Ian M Ellison
Plugin written in C, implements more advanced authentication and accounting
via a MySQL database. Based on
AuthMySQL, this plugin adds a few extra features such as account suspension,
and whitespace trimming. Only PAP authentication is supported. Please
see the README file for more information.
[ Download radauth-0.5.tar.gz ] [ View README ]