#1979 Error when listing users with authentication = "ldap"
Reporter
Morgan Willcock
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Priority-Medium
Status-New
Type-Defect
Morgan Willcock
on
What steps will reproduce the problem?
1. Configure authentication to use LDAP by setting 'authentication = "ldap"' in the configuration file (either globally or for a specific host)
2. Restart the Prosody service
3. Run the command `prosodyctl shell user list myhost`
What is the expected output?
A list of existing users followed by "OK".
What do you see instead?
/usr/pkg/lib/prosody/modules/mod_admin_shell.lua:2042: attempt to call a nil value (for iterator 'for iterator')
What version of the product are you using? On what operating system?
Prosody 13.0.3 on NetBSD.
Please provide any additional information below.
Prosody was installed using pkgsrc.
The same issue was present on Prosody version 13.0.2, I have not tried earlier versions.
The LuaLDAP version is 1.4.0.
What steps will reproduce the problem? 1. Configure authentication to use LDAP by setting 'authentication = "ldap"' in the configuration file (either globally or for a specific host) 2. Restart the Prosody service 3. Run the command `prosodyctl shell user list myhost` What is the expected output? A list of existing users followed by "OK". What do you see instead? /usr/pkg/lib/prosody/modules/mod_admin_shell.lua:2042: attempt to call a nil value (for iterator 'for iterator') What version of the product are you using? On what operating system? Prosody 13.0.3 on NetBSD. Please provide any additional information below. Prosody was installed using pkgsrc. The same issue was present on Prosody version 13.0.2, I have not tried earlier versions. The LuaLDAP version is 1.4.0.