hi...<br>
i trying to have a secure conetion between dovecot and directory
server, but i cant do it. The documentation are so poor
(<a href="http://wiki.dovecot.org/AuthDatabase/LDAP">http://wiki.dovecot.org/AuthDatabase/LDAP</a>)<br>
these are my configurations files:<br>
<br>
(pre: i have a directory server accepting secure conections (port 389 via TLS and port 636 via SSL).<br>
<br>
File "/opt/csw/etc/dovecot-ldap.conf":<br>
<br>
hosts=<a href="http://100.0.4.98">100.0.4.98</a><br>
dn = cn=bindmailusers,cn=mailusers,dc=prueba,dc=uy<br>
dnpass =passbindmailUsers<br>
tls = yes<br>
ldap_version = 3<br>
base= cn=mailUsers,dc=prueba,dc=uy<br>
deref = never<br>
scope = subtree<br>
user_attrs = uidnumber=uidnumber, gidnumber=gidnumber,homedirectory=homedirectory, mailbox=mailbox<br>
user_filter = (&(objectClass=mailaccount)(uid=%u)(disableimap=FALSE))<br>
pass_attrs = uid=uid,userpassword=password<br>
pass_filter= (&(objectClass=mailaccount)(uid=%u)(disableimap=FALSE))<br>
default_pass_scheme = CRYPT<br>
user_global_uid =12356<br>
user_global_gid =12356<br>
<br>
File "/opt/csw/etc/openldap/ldap.conf" (openldap client):<br>
<br>
TLS_REQCERT allow<br>
host <a href="http://100.0.4.98">100.0.4.98</a><br>
TLS_CACERT /opt/csw/etc/postfix/ldap-cert/cacert.pem<br>
<br>
these are my log file:<br>
<br>
# tail dovecot-log.log<br>
:<br>
:<br>
dovecot: May 22 15:48:31 Error: auth(default): LDAP: ldap_start_tls_s() failed: Can't contact LDAP server<br>
<br>
any suggest :(<br clear="all"><br>-- <br>Salu2 ;)