Need urgent help :- Configuring LDAP authentication for Dovecot-1.1.1 server

C

chitralekha

Guest
hi,


We are setting up Dovecot 1.1.1 with LDAP authentication,
We are getting error while running ./configure --with-ldap
inside dovecot-1.1.1 folder.

error is:
configure: error: Can't build with LDAP support: libldap not found
 


So, do you have the LDAP libraries installed? What is their location?
 
Hi,

Yes , we have the libraries installed and the location is /lib64:/lib.

Also, we have made the following changes to point to the below location. Still we are getting the same error.

export LD_LIBRARY_PATH=/lib64:/lib

Please let us know how to point libldap to its correct location.


Regards,
Chitralekha
 
One more question related to Linux supported version for DOVECOT 1.1.1 :-

Whether Dovecot 1.1.1 version is supported on RHEL 6.3 or not?
Because we have google it but we are unable to find any concrete answer about it , so please let us know the same.
 
This usually means that no shared library with the name "libldap*.so"
is in your library search path.
Check your /etc/ld.so.sonf (and maybe ld.so.conf.d/*) for the search
path of your linker and verify that you have the required LDAP shared
library in place. If not, you need to install that first - either from
your distribution tree or you compile e.g. OpenLDAP by hand.
 
One more question related to Linux supported version for DOVECOT 1.1.1 :-
Whether Dovecot 1.1.1 version is supported on RHEL 6.3 or not?
Because we have search it but we are unable to find any concrete answer about it , could you please let us know assoon as possible?
 
Thanks for the help.

One more issue, I am trying to configure the Ldap authentication for Dovecot 1.1.1 and getting the below error in logs :-

" dovecot: Oct 15 11:01:53 Fatal: auth(default): Unknown passdb driver 'ldap' (typo, or Dovecot was built without support for it? Check with dovecot --build-options)
dovecot: Oct 15 11:01:53 Fatal: Auth process died too early - shutting down",


Could you please guide us in this respect??

Below is my Dovecot.conf related configuration, please let me know if i need make any changes in the below:


# Authentication processes
auth_verbose = yes
auth_debug = yes
auth_debug_passwords = yes
auth default {
auth_mechanisms = plain login
#mechanisms = plain
passdb ldap {
args = /usr/local/etc/dovecot-ldap.conf
}

userdb ldap {
args = /usr/local/etc/dovecot-ldap.conf
}
user = vmail

socket listen {
master {
path = /usr/local/var/run/dovecot-auth-master
mode = 0660
user = dovecot
group = mail
}
}
}


protocol imap {
listen = *:10143
ssl_listen = *:10943
}
protocol pop3 {
listen = *:10100
}
listen = *
 
We are able to login to Dovecot 1.1.1 now also configured with ldap authentication also.

bash-4.1# telnet 0 143
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
* OK Hi buddy, have an account ?
a login test1 test1
a NO Authentication failed.

==========================================================
"We are getting the above error while connecting to imap/pop through Ldap users"

"Below error in dovecot.info.log at the same time"
"No error is observed in dovecot.log"
=============================================================
dovecot: Oct 17 11:08:30 Info: auth(default): new auth connection: pid=12684
dovecot: Oct 17 11:08:44 Info: auth(default): client in: AUTH 1 PLAIN service=imap secured lip=127.0.0.1 rip=127.0.0.1 lport=143 rport=39099 resp=AHRlc3QxAHRlc3Qx
dovecot: Oct 17 11:08:44 Info: auth(default): ldap(test1,127.0.0.1): invalid credentials
dovecot: Oct 17 11:08:46 Info: auth(default): client out: FAIL 1 user=test1

==========================================================
==========================================================
 

Members online


Latest posts

Top