PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.postfix.users > How to setup postfix to talk to ldap with ssl enabled ?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
How to setup postfix to talk to ldap with ssl enabled ?

Réponse
 
LinkBack Outils de la discussion
Vieux 06/04/2006, 05h00   #1
kimba_yun@hotmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to setup postfix to talk to ldap with ssl enabled ?

Can anyone advise ?

Do we require any cert on postfix ? or just use ldaps://<ldaphost>:636 ?

  Réponse avec citation
Vieux 06/04/2006, 16h23   #2
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to setup postfix to talk to ldap with ssl enabled ?

kimba_yun@hotmail.com wrote:
> Can anyone advise ?
>
> Do we require any cert on postfix ? or just use ldaps://<ldaphost>:636 ?



Most Postfix distributions don't even come with LDAP support. The way to
verify is to run the command "postconf -m", and see if the word "ldap" is listed.

Another way is to examine your smtpd program to see if it was linked with libssl and libldap.
On my system that command is: ldd /usr/libexec/postfix/smtpd

If ldap isn't there, then you need to compile the Postfix source code with OpenLDAP and OpenSSL
package support. Once this is done, encrypted LDAP uses a common dummy cert provided by the OpenSSL package.

If you want to use TLS for encrypted communications between SMTP servers, then support for it generally
needs to be compiled in too. For TLS, the Postfix configs need to know where your cert files are located. You
can use a dummy cert, but if you also require authentication, then you need a real cert.

All this can be very complicated. A good reference on how to do it is available from
www.amazon.com books:
"The Book of Postfix", by Hildebrandt and Koetter, ISBN 1-59327-001-1

--
Greg


  Réponse avec citation
Vieux 10/04/2006, 16h58   #3
kimba_yun@hotmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to setup postfix to talk to ldap with ssl enabled ?

Hi

there is already a SunOne LDAP directory server with SSL enabled. The
question is how does postfix able to authenticate ? Is configuration of
ldaps://<ldaphost:636> will do ?

  Réponse avec citation
Vieux 11/04/2006, 14h13   #4
Greg Hackney
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to setup postfix to talk to ldap with ssl enabled ?

kimba_yun@hotmail.com wrote:
> Hi
>
> there is already a SunOne LDAP directory server with SSL enabled. The
> question is how does postfix able to authenticate ? Is configuration of
> ldaps://<ldaphost:636> will do ?


SSL is encryption, not authentication. Yes, "ldaps" in the URL will try to
force an SSL connection, providing that your version of Postfix has been compiled with
LDAP & SSL support. You do not need to manually specify port 636, since that it the default SSL port.

If you need to authenticate (bind) to the LDAP server, refer to:

http://www.postfix.org/LDAP_README.html

--
Greg



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 04h33.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08664 seconds with 12 queries