[Dovecot] Dovecot at Solaris 10 with LDAP : Buggy LDAP library returned wrong fd: 1

Dovecot Jami dovejami at yahoo.com
Thu Jan 17 06:39:27 EET 2008


Hi,
   
  I have installed openldap on my solaris 10. OpenLDAP shared files are at /usr/local/include and /usr/local/lib. Now I can I tell Dovecot to use this files.
   
  Rgds,
   
  JAMI
  

Dovecot Jami <dovejami at yahoo.com> wrote:
  Hi Bill,

How can I install OpenLDAP shared libs and tell my Dovecot to use it?

Rgds,

Mahmud Jami


Bill Cole wrote:
At 5:44 AM -0800 1/16/08, Dovecot Jami wrote:
>
> Its my client's requirement to install it with Windows 2003 ADS 
>(LDAP) not with OpenLDAP or Solaris LDAP.
>
> Pls help.

Please read this carefully.

The problem you are having is with the LDAP shared library that ships 
with Solaris 10. Sun's library has a bug:

http://bugs.opensolaris.org/view_bug.do?bug_id=6551471
http://bugs.opensolaris.org/view_bug.do?bug_id=4197228

The second link is actually a partial reproduction of a bug 
description from SunSolve, so if you have access to SunSolve, you may 
find more there. It looks like Sun actually fixed this bug in their 
LDAP library for Solaris 8 but they have not done so for Solaris 10.


This bug is completely independent of what LDAP server you use. You 
can work around this bug by installing the OpenLDAP shared libraries 
and linking against them instead of the equivalent Sun library



>Rgds,
>
> JAMI
>
>Dovecot Jami wrote:
> I am using Windows 2003 Active Directory as my LDAP server.
>
>Rgds,
>
>Mahmud Jami
>
>Timo Sirainen wrote:
>On Wed, 2008-01-16 at 05:12 -0800, Dovecot Jami wrote:
>> I installed Dovecot-1.0.10 at my Solaris 10 with LDAP support. It 
>>runs fine without LDAP. But when I configured LDAP and start it, it 
>>shows the following error,
>>
>> dovecot: [ID 107833 mail.error] auth(default): LDAP: Buggy LDAP 
>>library returned wrong fd: 1
>
>Use OpenLDAP. Solaris LDAP is broken.
>
>
>
>
>---------------------------------
>Never miss a thing. Make Yahoo your homepage.
>
>
>---------------------------------
>Never miss a thing. Make Yahoo your homepage.

-- 
Bill Cole
bill at scconsult.com




---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.


More information about the dovecot mailing list