I'm having problems with dovecot and OpenLDAP. I installed both, and configured both. /etc/dovecot-ldap.conf exists and I modified dovecot.conf to have...
auth_userdb = ldap /etc/dovecot-ldap.conf auth_passdb = ldap /etc/dovecot-ldap.conf
...but the log displays the following:
Jun 19 13:59:15 backup dovecot-auth: Unknown userdb type 'ldap' Jun 19 13:59:15 backup dovecot: Auth process died too early - shutting down Jun 19 13:59:15 backup dovecot: child 4187 (auth) returned error 89
the auth_userdb and auth_passdb seem to be ok, so what am I missing?
Faw
On Thu, Jun 19, 2003 at 03:04:14PM -0400, Spectron International, Inc. wrote:
I'm having problems with dovecot and OpenLDAP. I installed both, and configured both. /etc/dovecot-ldap.conf exists and I modified dovecot.conf to have...
Jun 19 13:59:15 backup dovecot-auth: Unknown userdb type 'ldap'
It means LDAP support isn't compiled in. It should show that at the end of configure. If it doesn't, it didn't find it for some reason. Maybe you're missing openldap-dev or similiar? Or they're installed to location where configure can't find them?
On Thu, Jun 19, 2003 at 03:04:14PM -0400, Spectron International, Inc. wrote:
I'm having problems with dovecot and OpenLDAP. I installed both, and configured both. /etc/dovecot-ldap.conf exists and I modified dovecot.conf to have...
Jun 19 13:59:15 backup dovecot-auth: Unknown userdb type 'ldap'
It means LDAP support isn't compiled in. It should show that at the end of configure. If it doesn't, it didn't find it for some reason. Maybe you're missing openldap-dev or similiar? Or they're installed to location where configure can't find them?
I installed the debian packages at http://src.braincells.com/debian/woody/dovecot/. I thought the packages had it compiled in. I guess not.
Faw
On Fri, 20 Jun 2003 14:42:13 -0400, Spectron International, Inc. wrote:
I installed the debian packages at http://src.braincells.com/debian/woody/dovecot/. I thought the packages had it compiled in. I guess not.
You can give my Debian woody packages (see http://cmeerw.org/debian/) a try which have LDAP support compiled in.
bye, Christof
-- http://cmeerw.org JID: cmeerw@jabber.at mailto cmeerw at web.de
On Sat, 21 Jun 2003, Christof Meerwald wrote:
On Fri, 20 Jun 2003 14:42:13 -0400, Spectron International, Inc. wrote:
I installed the debian packages at http://src.braincells.com/debian/woody/dovecot/. I thought the packages had it compiled in. I guess not.
They do. I pass --with-ldap to configure, config.log shows it is being detected properly and $ ldd /usr/lib/dovecot/dovecot-auth libpam.so.0 => /lib/libpam.so.0 (0x40019000) libldap.so.2 => /usr/lib/libldap.so.2 (0x40021000) liblber.so.2 => /usr/lib/liblber.so.2 (0x40047000) libnsl.so.1 => /lib/libnsl.so.1 (0x40051000) libresolv.so.2 => /lib/libresolv.so.2 (0x40065000) libsasl.so.7 => /usr/lib/libsasl.so.7 (0x40075000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40080000) libdl.so.2 => /lib/libdl.so.2 (0x400ad000) libc.so.6 => /lib/libc.so.6 (0x400b0000) libdb2.so.2 => /lib/libdb2.so.2 (0x401cd000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Do you get the same thing if you do an ldd?
Timo, are there any other circumstnces in which that error could come up?
You can give my Debian woody packages (see http://c meerw.org/debian/) a try which have LDAP support compiled in.
Christof, you never replied to me about coordinating our work. It looks like there is some unnecessary duplication of effort going on here.
Anyway seeing as you've just used the debianization from my sid packages I don't think it will make any difference in this case.
-- Jaldhar H. Vyas jaldhar@debian.org La Salle Debain - http://www.braincells.com/debian/
On Sun, Jun 22, 2003 at 10:09:16AM -0400, Jaldhar H. Vyas wrote:
On Sat, 21 Jun 2003, Christof Meerwald wrote:
On Fri, 20 Jun 2003 14:42:13 -0400, Spectron International, Inc. wrote:
I installed the debian packages at http://src.braincells.com/debian/woody/dovecot/. I thought the packages had it compiled in. I guess not. They do. I pass --with-ldap to configure, config.log shows it is being detected properly and
No, they don't (at least not your Debian woody packages).
$ ldd usr/lib/dovecot/dovecot-auth libpam.so.0 => /lib/libpam.so.0 (0x40022000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x4002a000) libdl.so.2 => /lib/libdl.so.2 (0x40058000) libc.so.6 => /lib/libc.so.6 (0x4005b000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Oh, I guess it's because of a typo in debian/rules:
./configure --with-ldap--host=$(DEB_HOST_GNU_TYPE) [...]
(there is a whitespace missing between "--with-ldap" and "--host")
Christof, you never replied to me about coordinating our work. It looks like there is some unnecessary duplication of effort going on here. Anyway seeing as you've just used the debianization from my sid packages I don't think it will make any difference in this case.
Sorry, but I am actually just compiling it on my machine (for personal use and I make it available on my Web-site). I don't intend to put much effort into building these packages (just enough to make them work for me).
bye, Christof
-- http://cmeerw.org JID: cmeerw@jabber.at mailto cmeerw at web.de
participants (4)
-
Christof Meerwald
-
Jaldhar H. Vyas
-
Spectron International, Inc.
-
Timo Sirainen