OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
SOLVED :RE: LDAP lookup error - dict_ldap_lookup: Search error -7: Bad search filter

From: Jevos, Peter (Peter.Jevosoriflame.com)
Date: Tue Apr 08 2008 - 07:18:06 CDT


> -----Original Message-----
> From: owner-postfix-userspostfix.org [mailto:owner-postfix-
> userspostfix.org] On Behalf Of Jevos, Peter
> Sent: Tuesday, April 08, 2008 1:06 PM
> Cc: postfix-userspostfix.org
> Subject: RE: LDAP lookup error - dict_ldap_lookup: Search error -7:
Bad
> search filter
>
>
> > -----Original Message-----
> > From: owner-postfix-userspostfix.org [mailto:owner-postfix-
> > userspostfix.org] On Behalf Of postfix
> > Sent: Tuesday, April 08, 2008 12:58 PM
> > Cc: postfix-userspostfix.org
> > Subject: Re: LDAP lookup error - dict_ldap_lookup: Search error -7:
> Bad
> > search filter
> >
> > are you sure, your search-base is correct? you say, the search base
> is
> > dc=dc dc=example
> > which in reality would give dc=dc,dc=example as termination of a DN
> > but in any other parameter, you specify dc=your, dc=com, or
> > dc=mydomain,
> > dc=com as termination of the DN.
> > ???
> > recheck
> >
> > suomi

Correct format is query_filter = (proxyAddresses=smtp:%s) instead of
query_filter = proxyaddresses = smtp:%s

Thanks

Br

pet