cyrusauth mod fails to load #160

Closed
opened 2026-10-05 04:01:51 +02:00 by adam · 1 comment
Owner

Hi,

I was trying to upgrade my znc to 1.0-rc1 and have a problem with loading cyrusauth module (I am authenticating users over my LDAP server). On znc 0.206, the saslauth module works fine, but after upgrading znc to 1.0-rc1 or git master branch, I am getting the following output after starting znc (the output is taken from code compiled from git master branch, output for 1.0-rc1 downloaded from the webpage is the same):

[ ok ] Checking for list of available modules... 
[ ok ] Opening config [/etc/znc/configs/znc.conf]... 
[ ** ] Config was saved from ZNC 1.0. It may or may not work with current ZNC 0.207
[ ok ] Loading global module [webadmin]... [/usr/local/lib/znc/webadmin.so]
[ !! ] Loading global module [cyrusauth]... [ Unable to open module [cyrusauth] [/usr/local/lib/znc/cyrusauth.so: undefined symbol: sasl_dispose] ]
[ ** ] Unrecoverable config error.

I have Debian squeeze and have configured znc with --enable-cyrus. I have also installed the following SASL packages:

ii  libsasl2-2                       2.1.23.dfsg1-7               Cyrus SASL - authentication abstraction library
ii  libsasl2-dev                     2.1.23.dfsg1-7               Cyrus SASL - development files for authentication abstraction library
ii  libsasl2-modules                 2.1.23.dfsg1-7               Cyrus SASL - pluggable authentication modules
ii  sasl2-bin                        2.1.23.dfsg1-7               Cyrus SASL - administration programs for SASL users database

Below znc.conf file contents:

Version = 1.0
<Listener l>
    Port = 7777
    IPv4 = true
    IPv6 = true
    SSL = true
</Listener>
LoadModule = webadmin
LoadModule = cyrusauth saslauthd
PidFile = /var/run/znc/znc.pid
Hi, I was trying to upgrade my znc to 1.0-rc1 and have a problem with loading `cyrusauth` module (I am authenticating users over my LDAP server). On znc 0.206, the `saslauth` module works fine, but after upgrading znc to 1.0-rc1 or git `master` branch, I am getting the following output after starting znc (the output is taken from code compiled from git `master` branch, output for 1.0-rc1 downloaded from the webpage is the same): ``` bash [ ok ] Checking for list of available modules... [ ok ] Opening config [/etc/znc/configs/znc.conf]... [ ** ] Config was saved from ZNC 1.0. It may or may not work with current ZNC 0.207 [ ok ] Loading global module [webadmin]... [/usr/local/lib/znc/webadmin.so] [ !! ] Loading global module [cyrusauth]... [ Unable to open module [cyrusauth] [/usr/local/lib/znc/cyrusauth.so: undefined symbol: sasl_dispose] ] [ ** ] Unrecoverable config error. ``` I have Debian squeeze and have configured znc with `--enable-cyrus`. I have also installed the following SASL packages: ``` ii libsasl2-2 2.1.23.dfsg1-7 Cyrus SASL - authentication abstraction library ii libsasl2-dev 2.1.23.dfsg1-7 Cyrus SASL - development files for authentication abstraction library ii libsasl2-modules 2.1.23.dfsg1-7 Cyrus SASL - pluggable authentication modules ii sasl2-bin 2.1.23.dfsg1-7 Cyrus SASL - administration programs for SASL users database ``` Below `znc.conf` file contents: ``` Version = 1.0 <Listener l> Port = 7777 IPv4 = true IPv6 = true SSL = true </Listener> LoadModule = webadmin LoadModule = cyrusauth saslauthd PidFile = /var/run/znc/znc.pid ``` <!-- github-sync-id:8026186 -->
adam closed this issue 2026-10-05 04:01:51 +02:00
Author
Owner

Thanks for the detailed report

Thanks for the detailed report <!-- github-comment-id:9980883 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/znc#160