#1518 mod_checkcerts with mod_ldap if no admin is set
Reporter
perflyst
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Component-Community
Priority-Medium
Type-Defect
Status-New
perflyst
on
What steps will reproduce the problem?
1. Enable mod_checkcerts
2. Enable mod_auth_ldap and configure
3. Do not set an admin
What version of the product are you using? On what operating system?
Prosody trunk nightly build 1245 (2020-03-22, 929c95e518f0)
Debian Buster
Latest version of both modules as of today
Please provide any additional information below.
Mar 27 17:49:56 xx.de:checkcerts warn Certificate /etc/prosody/cert/xx.de/fullchain.pem expires in 6 days and 3 hours
Mar 27 17:49:56 timer error Traceback[timer]: ...sody-modules-enabled/mod_auth_ldap/mod_auth_ldap.lua:8: attempt to index local 's' (a nil value)
stack traceback:
...sody-modules-enabled/mod_auth_ldap/mod_auth_ldap.lua:8: in function 'ldap_filter_escape'
...sody-modules-enabled/mod_auth_ldap/mod_auth_ldap.lua:66: in function 'get_user'
...sody-modules-enabled/mod_auth_ldap/mod_auth_ldap.lua:79: in function <...sody-modules-enabled/mod_auth_ldap/mod_auth_ldap.lua:78>
(tail call): ?
/usr/lib/prosody/modules/mod_mam/mod_mam.lua:231: in function 'shall_store'
/usr/lib/prosody/modules/mod_mam/mod_mam.lua:317: in function '?'
/usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75>
(tail call): ?
/usr/lib/prosody/core/stanza_router.lua:188: in function </usr/lib/prosody/core/stanza_router.lua:150>
(tail call): ?
...dy-modules-enabled/mod_checkcerts/mod_checkcerts.lua:81: in function <...dy-modules-enabled/mod_checkcerts/mod_checkcerts.lua:37>
(tail call): ?
[C]: in function 'xpcall'
/usr/lib/prosody/util/timer.lua:39: in function 'callback'
/usr/lib/prosody/net/server_select.lua:909: in function '?'
/usr/lib/prosody/net/server_select.lua:940: in function </usr/lib/prosody/net/server_select.lua:932>
[C]: in function 'xpcall'
/usr/bin/prosody:76: in function 'loop'
/usr/bin/prosody:86: in main chunk
[C]: ?
What steps will reproduce the problem? 1. Enable mod_checkcerts 2. Enable mod_auth_ldap and configure 3. Do not set an admin What version of the product are you using? On what operating system? Prosody trunk nightly build 1245 (2020-03-22, 929c95e518f0) Debian Buster Latest version of both modules as of today Please provide any additional information below. Mar 27 17:49:56 xx.de:checkcerts warn Certificate /etc/prosody/cert/xx.de/fullchain.pem expires in 6 days and 3 hours Mar 27 17:49:56 timer error Traceback[timer]: ...sody-modules-enabled/mod_auth_ldap/mod_auth_ldap.lua:8: attempt to index local 's' (a nil value) stack traceback: ...sody-modules-enabled/mod_auth_ldap/mod_auth_ldap.lua:8: in function 'ldap_filter_escape' ...sody-modules-enabled/mod_auth_ldap/mod_auth_ldap.lua:66: in function 'get_user' ...sody-modules-enabled/mod_auth_ldap/mod_auth_ldap.lua:79: in function <...sody-modules-enabled/mod_auth_ldap/mod_auth_ldap.lua:78> (tail call): ? /usr/lib/prosody/modules/mod_mam/mod_mam.lua:231: in function 'shall_store' /usr/lib/prosody/modules/mod_mam/mod_mam.lua:317: in function '?' /usr/lib/prosody/util/events.lua:79: in function </usr/lib/prosody/util/events.lua:75> (tail call): ? /usr/lib/prosody/core/stanza_router.lua:188: in function </usr/lib/prosody/core/stanza_router.lua:150> (tail call): ? ...dy-modules-enabled/mod_checkcerts/mod_checkcerts.lua:81: in function <...dy-modules-enabled/mod_checkcerts/mod_checkcerts.lua:37> (tail call): ? [C]: in function 'xpcall' /usr/lib/prosody/util/timer.lua:39: in function 'callback' /usr/lib/prosody/net/server_select.lua:909: in function '?' /usr/lib/prosody/net/server_select.lua:940: in function </usr/lib/prosody/net/server_select.lua:932> [C]: in function 'xpcall' /usr/bin/prosody:76: in function 'loop' /usr/bin/prosody:86: in main chunk [C]: ?