Dovecot proxy with ldap, complains about 'host not given'

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Dovecot proxy with ldap, complains about 'host not given'

Dovecot mailing list

It looks like the dovecot proxy can authenticate correctly but fails
then on with this message

Nov 23 23:33:33 test2 dovecot: pop3-login: Error: proxy: host not given:
user=<test>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured,
session=<LDTlHguYJth/AAAB>

I have configured a host= in ldap for this user






Reply | Threaded
Open this post in threaded view
|

Re: Dovecot proxy with ldap, complains about 'host not given'

Dovecot mailing list
On 23 Nov 2019, at 16:11, Marc Roos <[hidden email]> wrote:
> It looks like the dovecot proxy can authenticate correctly but fails
> then on with this message
>
> Nov 23 23:33:33 test2 dovecot: pop3-login: Error: proxy: host not given:
> user=<test>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured,
> session=<LDTlHguYJth/AAAB>
>
> I have configured a host= in ldap for this user

But is your query properly getting the host? (I don’t use ldap., but this is a common issue with sql lookups, so I assume that is a likely problem).


--
ARE YOU FAMILIAR WITH THE WORDS 'DEATH WAS HIS CONSTANT COMPANION'? 'But
I don't usually see you!’

Reply | Threaded
Open this post in threaded view
|

RE: Dovecot proxy with ldap, complains about 'host not given'

Dovecot mailing list
 
My query? Is dovecot not getting this field automatically?



-----Original Message-----
Subject: Re: Dovecot proxy with ldap, complains about 'host not given'

On 23 Nov 2019, at 16:11, Marc Roos <[hidden email]> wrote:
> It looks like the dovecot proxy can authenticate correctly but fails
> then on with this message
>
> Nov 23 23:33:33 test2 dovecot: pop3-login: Error: proxy: host not
given:
> user=<test>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured,
> session=<LDTlHguYJth/AAAB>
>
> I have configured a host= in ldap for this user

But is your query properly getting the host? (I don’t use ldap., but
this is a common issue with sql lookups, so I assume that is a likely
problem).


--
ARE YOU FAMILIAR WITH THE WORDS 'DEATH WAS HIS CONSTANT COMPANION'? 'But
I don't usually see you!’



Reply | Threaded
Open this post in threaded view
|

RE: Dovecot proxy with ldap, complains about 'host not given'

Dovecot mailing list
You need to specify fields you want. Fields are not imported automatically.


Aki
On 24/11/2019 11:34 Marc Roos via dovecot < [hidden email]> wrote:


My query? Is dovecot not getting this field automatically?



-----Original Message-----
Subject: Re: Dovecot proxy with ldap, complains about 'host not given'

On 23 Nov 2019, at 16:11, Marc Roos < [hidden email]> wrote:
It looks like the dovecot proxy can authenticate correctly but fails
then on with this message

Nov 23 23:33:33 test2 dovecot: pop3-login: Error: proxy: host not
given:
user=<test>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured,
session=<LDTlHguYJth/AAAB>

I have configured a host= in ldap for this user
But is your query properly getting the host? (I don’t use ldap., but
this is a common issue with sql lookups, so I assume that is a likely
problem).


--
ARE YOU FAMILIAR WITH THE WORDS 'DEATH WAS HIS CONSTANT COMPANION'? 'But
I don't usually see you!’

---
Aki Tuomi
Reply | Threaded
Open this post in threaded view
|

RE: Dovecot proxy with ldap, complains about 'host not given'

Dovecot mailing list
 
Thanks!! Added this.
pass_attrs = uid=user,userPassword=password,host=host




-----Original Message-----
Subject: RE: Dovecot proxy with ldap, complains about 'host not given'

You need to specify fields you want. Fields are not imported
automatically.

See https://doc.dovecot.org/configuration_manual/authentication/ldap/ 

Aki

        On 24/11/2019 11:34 Marc Roos via dovecot < [hidden email]>
wrote:


        My query? Is dovecot not getting this field automatically?



        -----Original Message-----
        Subject: Re: Dovecot proxy with ldap, complains about 'host not
given'

        On 23 Nov 2019, at 16:11, Marc Roos < [hidden email]>
wrote:

                It looks like the dovecot proxy can authenticate correctly but
fails
                then on with this message

                Nov 23 23:33:33 test2 dovecot: pop3-login: Error: proxy: host
not

        given:

                user=<test>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
secured,
                session=<LDTlHguYJth/AAAB>

                I have configured a host= in ldap for this user

        But is your query properly getting the host? (I don’t use ldap.,
but
        this is a common issue with sql lookups, so I assume that is a
likely
        problem).


        --
        ARE YOU FAMILIAR WITH THE WORDS 'DEATH WAS HIS CONSTANT COMPANION'?
'But
        I don't usually see you!’


---
Aki Tuomi