On Thu, Mar 31, 2011 at 08:26:17PM +0300, vadim korsak wrote: > result_format = %s OK > is OK, this is checked in other places > > >You need to use a search base that will not trigger a referral, or > >use the right LDAP server. Alternatively, the LDAP server may need > >to be configured to grant additional access to your "mailgw" id. > > why you think this is access problem?
Because you are getting a referral, it can be either because the search base is wrong, or in perhaps because access is retricted. Don't expect referrals to work, if the referral is to a different LDAP source or if referrals require application logic (are not handled transparently in the OpenLDAP library). -- Viktor.