Hi ,

Is there any document for postfix smtp auth with active directory.
I have followed below document .
https://www.howtoforge.com/postfix-dovecot-authentication-against-active-directory-on-centos-5.x

I am getting authentication failure while authenticating and logs says as below.

saslauthd[942406]: GSSAPI Error: Unspecified GSS failure.  Minor code may 
provide more information (Server 
krbtgt/xyz....@abc.com<mailto:krbtgt/xyz....@abc.com> not found in Kerberos 
database)
Jul 12 08:16:34 saslauthd[942406]: Retrying authentication
Jul 12 08:16:34 saslauthd[942406]: GSSAPI Error: Unspecified GSS failure.  
Minor code may provide more information (Server krbtgt/ 
xyz....@abc.com<mailto:xyz....@abc.com> not found in Kerberos database)
Jul 12 08:16:34 saslauthd[942406]: do_auth         : auth failure: 
[user=testaccount] [service=smtp] [realm=] [mech=ldap] [reason=Unknown]

I don't understand why it is trying for GSSAPI authentication whereas I have 
mentioned to use mechanism as ldap

saslauthd -v
saslauthd 2.1.23
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap

[root@localhost sasl2]# cat /etc/sysconfig/saslauthd  |grep -v "#"
SOCKETDIR=/var/run/saslauthd
MECH=ldap
FLAGS="-O /etc/saslauthd.conf"


cat /etc/sasl2/smtpd.conf

pwcheck_method: saslauthd
mech_list: plain login
log_level: 6


Best regards
Robin

Les informations contenues dans ce message ainsi que les pièces
jointes sont exclusivement destinées aux personnes
désignées en qualité de destinataires ou autorisées à
les recevoir. Ces informations sont strictement confidentielles et
peuvent être couvertes par le secret professionnel. Si vous avez
reçu ce message par erreur, merci de le détruire ainsi que
toutes les éventuelles copies et d'en informer
immédiatement l'expéditeur. Nous vous rappelons qu'il
est formellement interdit de le copier, le faire suivre, le
divulguer ou d'en utiliser tout ou partie sous peine de poursuites
civiles ou pénales. UBS (France) S.A. décline toute responsabilité
quant aux erreurs ou omissions qui pourraient affecter le contenu
de ce message. Vous nous avez autorisés, en nous communiquant
votre adresse électronique, à vous contacter par ce moyen. Si
vous ne souhaitez plus recevoir d'e-mails de notre part, veuillez
l'indiquer à l'adresse suivante : communication-fra...@ubs.com.
Pour savoir comment UBS traite et préserve la confidentialité de
vos données à caractère personnel, consultez notre déclaration de
confidentialité.

https://www.ubs.com/global/fr/legal/country/france/data-privacy-notice-eugdpr.html

Afin de contribuer au respect de l'environnement, merci de
n'imprimer cet e-mail qu'en cas de nécessité.


The information contained in this communication as well as its
attachments are intended solely for the use of the individual or
entity to whom it is addressed and to others authorized to receive
it. It may contain confidential and privileged information. If you
are not the intended recipient or if you have received this
communication by error, please delete all copies from your system
and notify the sender immediately by responding to this email. You
are hereby notified that any disclosure, copying, distribution or
taking of any action regarding the content of the information is
strictly prohibited and may qualify as a criminal offence. UBS
(France) S.A. declines any liability as to the errors or omissions
which could affect the content of this communication.

By communicating your e-mail address, you have authorized us to
contact you by such a mean. Should you refuse to receive further
e-mails from our company, please let us know at the following email
address: communication-fra...@ubs.com.
For information on how UBS processes and keeps secure your personal
data, please visit our Privacy Notice.

https://www.ubs.com/global/fr/legal/country/france/data-privacy-notice-eugdpr.html

Please consider the environment before printing this email or
its attachments.

Reply via email to