Configuring SASL for ZNC

SASL authentication changed in ZNC versions after 1.0. Instructions for pre-1.0 and post-1.0 are below.

For ZNC ≥1.0

ZNC ≥1.0 includes an official SASL module. Details can be found on the ZNC wiki.

  1. Load the SASL module as you would any other module, following the instructions here.

  2. Configure the supported mechanisms: /msg *sasl Mechanism DH-BLOWFISH PLAIN

  3. Configure your authentication credentials. AccountName must be the primary nick, not a grouped nick. Replace Password with your Nickserv password. /msg *sasl Set AccountName Password

The next time ZNC reconnects, it should identify automatically.

For ZNC <1.0

ZNC <1.0 did not include an official SASL module. Mike Quin wrote a module, available on the ZNC wiki.

  1. The module will need to be compiled, following the normal instructions for compiling modules.

  2. Load the CAP-SASL module as you would any other module, following the instructions here. The AccountName is the first parameter. It must be the primary nick, not a grouped nick. Password is the second parameter, and should be replaced with your Nickserv password. /msg *status LoadMod cap_sasl AccountName Password

The next time ZNC reconnects, it should identify automatically.

If you know of any additions or corrections, or would like to contribute improvements, contact us at the email below.

Copyright © 2002 – 2012 by freenode Creative Commons License
Comments to email address: support at freenode dot net