Configuring SASL for XChat
There are multiple scripts available to support SASL in XChat. The Perl script is the most comprehensive, and most likely to work. Because of distribution-specific patches introduced in Debian and Ubuntu, the Python script may break in these distributions. The "lite" script is mostly kept for historical interest.
Configuring SASL for XChat: Perl script
This script is based on the SASL script for irssi, and was ported by Lian Wan Situ.
Copy the script, cap_sasl_xchat.pl, into your ~/.xchat directory, C:\Users\USERNAME\AppData\Roaming\X-Chat directory, or from wherever XChat loads startup scripts.
Load the script using the /load command, or select load script from the Scripts and Plugins menu.
The script needs to be configured with /sasl set. The network name (e.g. freenode — case matters), your primary registered nickname, NickServ password, and authentication mechanism will need to be provided. The authentication mechanism will be one of those returned by /sasl mechanisms.
If you don't mind your password being saved to your hard drive or if you don't want to type the /sasl set command every time before you connect, you will need to do /sasl save.
If everything has been configured correctly, the next time you connect you should see the message:
SASL authentication successful
To see other options available, you can run just /sasl.
Configuring SASL for XChat: Python script
This script is by Roberto Leandrini.
Copy the script, cap_sasl_xchat.py, into your ~/.xchat directory, C:\Users\USERNAME\AppData\Roaming\X-Chat directory, or from wherever XChat loads startup scripts.
Load the script using the /load command, or select load script from the Scripts and Plugins menu.
The script needs to be configured with /sasl set. The network name (e.g. freenode — case matters), your primary registered nickname, and NickServ password will need to be provided.
If everything has been configured correctly, the next time you connect you should see the message:
SASL authentication successful
To see other options available, you can run just /sasl.
Alternative Configuration for SASL
Download the script: sasl-lite-xchat.pl
Open the script in your favorite editor, and change EDIT in my $sasl_user = "EDIT"; to be your primary nick. Then change EDIT in my $sasl_password = "EDIT"; to be your NickServ password.
Copy the script into the directory from which XChat loads startup scripts. The next time you connect, you should see the message:
SASL authentication successful
If you know of any additions or corrections, or would like to contribute improvements, contact us at the email below.
Copyright © 2002 – 2013
by freenode
![]()
Comments to email address: support at freenode dot net