Modules/1.2/sqlauth
From the makers of InspIRCd.
sqlauth module (InspIRCd-1.2 version)
| 1.1 Documentation | 1.2 Documentation | 2.0 Documentation | 2.1 Documentation |
| Return to the 1.2 Module List | |||
| Description
|
| This module allows you to allow and deny connections to your irc servers using a backend database, and is customizable to work with the majority of popular web based software. If software has both a username and a password field in one of its tables, it is likely to work with this module. |
| Configuration Tags
| ||||||||||||||||||||||
<sqlauth dbid="1"
query="SELECT username FROM testusers WHERE username='$nick' AND password='$md5pass' LIMIT 1"
killreason="Access denied"
allowpattern="Guest*"
verbose="1">
The variables in the tag have the following meanings:
For a list of settings which are known to work with certain popular software, please see our Integrating m_sqlauth.so with other software page.
|
| Modes
|
| This module does not implement any extra user or channel modes. |
| Extended Bans (Extbans)
|
| This module implements no extended bans. |
| Commands
|
| This module adds no extra commands. |
| Special Notes
|
This module will check the user's nickname against the user field, and their password against the password field. The password is collected using the RFC 1459 notation, e.g.
PASS :password The user will not be prompted for their password, if this is not clear enough to your users, you should place it into the kill message. It is highly recommended that if you are using a system such as this, you should disable nick changing once users are connected with the following syntax in your configuration file: <disabled commands="NICK"> With such a setting in place, you can be sure that everyone who connects is registered, and they cannot possibly impersonate others. Beware of mixing this system with other systems which may force user nickchanges. If a users nick is changed when such a system is in place, they will be unable to change it back without reconnecting! |
| This module is an 'extra' module. This means that by default it is not compiled when you type make to build your IRCd. To enable this module follow these steps. |
| Dependencies
|
|

















