psi does not work with ldap authentication

Hello,

In my firm, we have a ejabberd server, and I use psi as client.
With internal authentication, psi can connect,

But using ldap authentication, psi does not work anymore (whereas it works with gajim or gaim).

internal auth, psi XML console:

Quote:

<?xml version="1.0"?>

<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="im" >

<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4244416593' from='im' xml:lang='en'>

<iq type="get" id="auth_1" to="im" >
<query xmlns="jabber:iq:auth">
<username>gbour</username>
</query>
</iq>

<iq from="im" type="result" id="auth_1" >
<query xmlns="jabber:iq:auth">
<username>gbour</username>
<password/>
<digest/>
<resource/>
</query>
</iq>

ldap auth:

Quote:

<?xml version="1.0"?>

<stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" to="im2" >

<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1069949586' from='im2' xml:lang='en'>

<iq type="get" id="auth_1" to="im2" >
<query xmlns="jabber:iq:auth">
<username>gus</username>
</query>
</iq>

<iq from="im2" type="result" id="auth_1" >
<query xmlns="jabber:iq:auth">
<username>gus</username>
<password/>
<resource/> <=== MISSING digest
</query>
</iq>

Is it due to a bad configuration, or is psi incompatible with ldap authentication ?

Thanks,
Guillaume Bour

Digest not avaialble using LDAP

gbour wrote:

With internal authentication, psi can connect,

Internal authentication allows: plain, digest and SASL.

gbour wrote:

But using ldap authentication, psi does not work anymore (whereas it works with gajim or gaim).

It seems LDAP does not allow digest.

gbour wrote:

Is it due to a bad configuration, or is psi incompatible with ldap authentication ?

No. Psi 0.10 implements plain and digest. Gajim, GAIM, and most Jabber clients also support the new SASL.

You can keep using Psi 0.10, but you need to enable Account Properties -> Connection -> Allow Plaintext Login. Or try Psi 0.11 beta with SASL support.

Re: Digest not avaialble using LDAP

Ok, it works in plaintext login.

Thank you very much,
Guillaume Bour

Syndicate content