#771 Error initializing module 'auth_cyrus': sasl_listmech failed

Reporter S.Bonnegent
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Priority-Medium
  • Type-Defect
  • Status-Invalid
  1. S.Bonnegent on

    What steps will reproduce the problem? 1. yum install lua-cyrussasl 2. add 'authentication = "cyrus"' in VirtualHost section 3. systemctl restart prosody What is the expected output? What do you see instead? modulemanager error Error initializing module 'auth_cyrus' on 'mydomain.fr': sasl_listmech failed stack traceback: /usr/lib64/prosody/core/modulemanager.lua:29: in function </usr/lib64/prosody/core/modulemanager.lua:29> [C]: in function 'listmech' /usr/lib64/prosody/util/sasl_cyrus.lua:108: in function </usr/lib64/prosody/util/sasl_cyrus.lua:85> (tail call): ? /usr/lib64/prosody/modules/mod_auth_cyrus.lua:34: in main chunk (tail call): ? [C]: in function 'xpcall' /usr/lib64/prosody/core/modulemanager.lua:29: in function 'pcall' /usr/lib64/prosody/core/modulemanager.lua:171: in function 'do_load_module' /usr/lib64/prosody/core/modulemanager.lua:249: in function 'load' /usr/lib64/prosody/core/usermanager.lua:67: in function '?' /usr/lib64/prosody/util/events.lua:67: in function 'fire_event' /usr/lib64/prosody/core/hostmanager.lua:98: in function 'activate' /usr/lib64/prosody/core/hostmanager.lua:44: in function '?' /usr/lib64/prosody/util/events.lua:67: in function 'fire_event' /usr/lib64/prosody/../../bin/prosody:337: in function 'prepare_to_start' /usr/lib64/prosody/../../bin/prosody:403: in main chunk [C]: ? What version of the product are you using? On what operating system? We use Prosody on Centos 7 Prosody 0.9.10 # Prosody directories Data directory: /var/lib/prosody Plugin directory: /usr/lib64/prosody/modules/ Config directory: /etc/prosody Source directory: /usr/lib64/prosody # Lua environment Lua version: Lua 5.1 Lua module search paths: /usr/lib64/prosody/?.lua /usr/share/lua/5.1/?.lua /usr/share/lua/5.1/?/init.lua /usr/lib64/lua/5.1/?.lua /usr/lib64/lua/5.1/?/init.lua Lua C module search paths: /usr/lib64/prosody/?.so /usr/lib64/lua/5.1/?.so /usr/lib64/lua/5.1/loadall.so LuaRocks: Not installed # Lua module versions lfs: LuaFileSystem 1.6.2 lxp: LuaExpat 1.3.0 pposix: 0.3.6 socket: LuaSocket 3.0-rc1 ssl: 0.5.PR Please provide any additional information below. saslauthd works correctly (tested with testsaslauthd). If we remove file /etc/sasl2/prosody.conf , we have no error with prosody restart. # cat /etc/sasl2/prosody.conf pwcheck_method: saslauthd mech_list: plain This is a bug, or we misconfigured something ? Best regards S.Bonnegent

  2. Robert on

    I ran into this too, until I installed a few more rpms: Jan 04 21:15:08 Installed: cyrus-sasl-ldap-2.1.26-20.el7_2.x86_64 Jan 04 21:17:30 Installed: cyrus-sasl-plain-2.1.26-20.el7_2.x86_64 from a hint gathered here: https://github.com/jitsi/jicofo/issues/22

  3. S.Bonnegent on

    Good job ! cyrus-sasl-plain was missing from my installation. Now, it is working without errors. Thank you :)

  4. Zash on

    So this sounds like a packaging or similar issue in CentOS. I take it I can close this then.

    Changes
    • owner Zash
    • tags Status-Invalid

New comment

Not published. Used for spam prevention and optional update notifications.