Bug#914530: fixed in lua-ldap 1.2.3-1

2018-12-20 Thread Daniel Scharon
Hi Victor, I can confirm that the patch works! mod_auth_ldap gets loaded and users can authenticate, but only if the option ldap_server consists of a single hostname or IP. A space separated list of hostnames/IPs doesn't work anymore. Using a space separated list of e.g. three hostnames leads to t

Bug#914530: fixed in lua-ldap 1.2.3-1

2018-12-20 Thread Victor Seva
Hi Daniel, can you please test this patch. Cheers, Victor From: Victor Seva Date: Thu, 20 Dec 2018 11:08:55 +0100 Subject: don't set global lualdap on lua > 5.1 --- src/lualdap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lualdap.c b/src/lualdap.c index f2404b8..5dd5971 100644 -

Bug#914530: fixed in lua-ldap 1.2.3-1

2018-12-19 Thread W. Martin Borgert
Hi Daniel, I don't know anything about Lua, but I forwarded your comment to the prosody MUC and the wise people there suggest to remove three lines from the lua-ldap sources: --- a/src/lualdap.c +++ b/src/lualdap.c @@ -1090,9 +1090,6 @@ int luaopen_lualdap (lua_State *L) { }; lu

Bug#914530: fixed in lua-ldap 1.2.3-1

2018-12-19 Thread Daniel Scharon
Hi Martin, > I don't know anything about Lua, but I forwarded your comment to > the prosody MUC thank you. > and the wise people there suggest to remove > three lines from the lua-ldap sources: > > --- a/src/lualdap.c > +++ b/src/lualdap.c > @@ -1090,9 +1090,6 @@ int luaopen_lualdap (lua_State

Bug#914530: fixed in lua-ldap 1.2.3-1

2018-12-19 Thread Daniel Scharon
Thank you Victor, for uploading the new version of lua-ldap! On my test system I upgraded prosody and lua-ldap to the new version in  backports. Unfortunately, mod_auth_ldap doesn't work anymore: Dec 19 17:58:17 modulemanager   error   Error initializing module 'auth_ldap' on '': Attempt to set