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

2019-11-24 Thread Marc Roos via dovecot
 
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 < dovecot@dovecot.org> 
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 < m.r...@f1-outsourcing.eu> 
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=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, 
secured, 
session= 

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




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

2019-11-24 Thread Aki Tuomi via dovecot


 
 
  
   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 <
dovecot@dovecot.org> 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 <
m.r...@f1-outsourcing.eu> 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=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured,


 session=


 


 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
   
 



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

2019-11-24 Thread Marc Roos via dovecot
 
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  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=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, 
> session=
> 
> 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!’





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

2019-11-23 Thread @lbutlr via dovecot
On 23 Nov 2019, at 16:11, Marc Roos  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=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, 
> session=
> 
> 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!’