Hi everyone!

I'm having this error using mod_auth_ldap (latest version from 
https://code.google.com/p/prosody-modules/wiki/mod_auth_ldap ). It happens 
with no pattern, just sometimes.. happens (once or twice a day using it by 
6 users).

Apr 11 11:20:21 mod_c2s error   Traceback[c2s]: 
/usr/lib/prosody/modules/mod_auth_ldap.lua:21: LuaLDAP: Can't contact LDAP 
server
stack traceback:
        [C]: in function 'search'
        /usr/lib/prosody/modules/mod_auth_ldap.lua:21: in function 
'find_userdn'
        /usr/lib/prosody/modules/mod_auth_ldap.lua:40: in function 
'test_password'
        /usr/lib/prosody/modules/mod_auth_ldap.lua:67: in function 
'plain_test'
        /usr/lib/prosody/util/sasl/plain.lua:72: in function 
</usr/lib/prosody/util/sasl/plain.lua:38>
        (tail call): ?
        /usr/lib/prosody/modules/mod_saslauth.lua:77: in function 
</usr/lib/prosody/modules/mod_saslauth.lua:66>
        (tail call): ?
        /usr/lib/prosody/util/events.lua:67: in function 'fire_event'
        /usr/lib/prosody/core/stanza_router.lua:146: in function 
</usr/lib/prosody/core/stanza_router.lua:55>
        ...
        [C]: in function 'parse'
        /usr/lib/prosody/util/xmppstream.lua:255: in function 'feed'
        /usr/lib/prosody/modules/mod_c2s.lua:230: in function 'data'
        /usr/lib/prosody/modules/mod_c2s.lua:252: in function 
</usr/lib/prosody/modules/mod_c2s.lua:249>
        (tail call): ?
        /usr/lib/prosody/net/server_select.lua:848: in function 
</usr/lib/prosody/net/server_select.lua:830>
        [C]: in function 'xpcall'
        /usr/bin/prosody:373: in function 'loop'
        /usr/bin/prosody:403: in main chunk
        [C]: ?

Does somebody know why is this happening and how can I fix it?

Thank you very much in advance!

Best regards!
Abel.

On Friday, March 7, 2014 2:46:19 PM UTC+1, computerlyrik wrote:
>
> Wrote a prosody-cookbook [2] (see chef[1]) for setting up prosody. 
>
> The setup for the ldap auth part is described here [3] 
> See for the config templates used by the recipe. 
>
> I am using the default ldap port - so can not reproduce your issue. 
> Perhaps it is a problem with lua-ldap (or your specific installed 
> version?) 
>
> Just guessing. 
>
>
> [1] http://www.getchef.com/ 
> [2] https://github.com/computerlyrik/chef-prosody 
> [3] 
> https://github.com/computerlyrik/chef-prosody/blob/master/recipes/ldap.rb 
> [4] 
> https://github.com/computerlyrik/chef-prosody/tree/master/templates/default 
>
> Am 05.03.2014 21:10, schrieb Stian B. Barmen: 
> > Hello, 
> > 
> > I have been trying to get this to work with multiple versions of this 
> > plugin (not entirely obvious which one is the recommended one now!) but 
> > have limited success. Right now I am trying to authenticate against a 
> > Zentyal 3.3 server using OpenLDAP version on port 390. My debug shows 
> that 
> > Prosody does not connect to port 390 even though I am configuring the 
> port 
> > by setting servername 127.0.0.1:390 and ldap://127.0.0.1:390/ etc. Not 
> sure 
> > how to get it to connect to the correct port? 
> > 
> > This is my config in the prosody.cfg.lua file: 
> > 
> > authentication = "ldap" 
> > ldap_server = "127.0.0.1:390" 
> > ldap_rootdn = "cn=zentyal,dc=example,dc=local" 
> > ldap_password = "xxxxxxxxxx" 
> > ldap_base = "ou=Users,dc=example,dc=local" 
> > ldap_mode = "bind" 
> > 
> > Any tips on this? please? :) 
> > 
> > /stian 
> > 
>
>
> !DSPAM:5319cdac217327267020158! 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to