1 |
2006/7/11, Paulo Roberto Candido dos Santos <zauberschloss@×××××.com>: |
2 |
> Show us your /etc/sasl2/smtp.conf. |
3 |
> |
4 |
> Mine is: |
5 |
> |
6 |
> pwcheck_method: authdaemond |
7 |
> log_level: 3 |
8 |
> mech_list: PLAIN LOGIN |
9 |
> authdaemond_path: /var/lib/courier/authdaemon/socket |
10 |
> |
11 |
> In my case, postfix authenticate on the Courier-imap authdaemond while |
12 |
> authdaemond authenticate users in a MS AD server. |
13 |
> |
14 |
> There should be some way to auth postfix using pam... but I think |
15 |
> smtpd.conf should be something like: |
16 |
> |
17 |
> pwcheck_method:pam |
18 |
> |
19 |
> Good Luck |
20 |
> |
21 |
> On 7/11/06, Leandro Melo de Sales <leandroal@×××××.com> wrote: |
22 |
> > Hi, |
23 |
> > |
24 |
> > I configured my PAM (using nsswitch.conf) to auth against a LDAP |
25 |
> > server. Everything works fine and now I want to setup postifix to |
26 |
> > permit only authenticated users to send e-mail through my smtp server. |
27 |
> > But when I try to auth via smtp client, I got the following message on |
28 |
> > /var/log/message: |
29 |
> > |
30 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: < |
31 |
> > unknown[192.168.1.100]: |
32 |
> > TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAFASgKAAAADw== |
33 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: |
34 |
> > smtpd_sasl_authenticate: decoded response: NTLMSSP |
35 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: NTLM server step 1 |
36 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: client flags: ffff8207 |
37 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: |
38 |
> > smtpd_sasl_authenticate: uncoded challenge: NTLMSSP |
39 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: > |
40 |
> > unknown[192.168.1.100]: 334 |
41 |
> > TlRMTVNTUAACAAAAOgA6ADAAAAAFggIA6WWAtbNxa0MAAAAAAAAAAAAAAAAAAAAARQBNAEIARQBEAEQARQBEAC4ARQBNAEIARQBEAEQARQBEAC4AVQBGAEMARwAuAEUARABVAC4AQgBSAA== |
42 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: < |
43 |
> > unknown[192.168.1.100]: |
44 |
> > TlRMTVNTUAADAAAAGAAYAGYAAAAYABgAfgAAAAAAAABIAAAADgAOAEgAAAAQABAAVgAAAAAAAACWAAAABYIAAgUBKAoAAAAPbABlAGEAbgBkAHIAbwBDAE8ATQBQAE8AUgAwADYARHEN7mzgGaygXDkCXVzTuqazkUkib2OfybAb9R10AJ/mF/gI2dSKNw0NIFxhMmhx |
45 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: |
46 |
> > smtpd_sasl_authenticate: decoded response: NTLMSSP |
47 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: NTLM server step 2 |
48 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: client user: leandro |
49 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: warning: SASL |
50 |
> > authentication problem: unable to open Berkeley db /etc/sasl2/sasldb2: |
51 |
> > Permission denied |
52 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: warning: SASL |
53 |
> > authentication failure: no secret in database |
54 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: warning: |
55 |
> > unknown[192.168.1.100]: SASL NTLM authentication failed |
56 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: > |
57 |
> > unknown[192.168.1.100]: 535 Error: authentication failed |
58 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: < |
59 |
> > unknown[192.168.1.100]: AUTH NTLM |
60 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: |
61 |
> > smtpd_sasl_authenticate: sasl_method NTLM |
62 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: |
63 |
> > smtpd_sasl_authenticate: uncoded challenge: |
64 |
> > Jul 11 16:28:04 embedded postfix/smtpd[24105]: > unknown[192.168.1.100]: 334 |
65 |
> > |
66 |
> > |
67 |
> > Any clue? |
68 |
> > |
69 |
> > -- |
70 |
> > Leandro Melo de Sales. |
71 |
> > Computer Science MSc Candidate |
72 |
> > Laboratório de Sistemas Distribuídos - lsd.ufcg.edu.br |
73 |
> > Laboratório de Computação Pervasiva - embedded.ufcg.edu.br |
74 |
> > Universidade Federal de Campina Grande - UFCG |
75 |
> > |
76 |
> > -- |
77 |
> > gentoo-user@g.o mailing list |
78 |
> > |
79 |
> > |
80 |
> |
81 |
> -- |
82 |
> gentoo-user@g.o mailing list |
83 |
> |
84 |
> |
85 |
|
86 |
|
87 |
Hi... my /etc/sasl2/smtpd.conf has the following: |
88 |
|
89 |
pwcheck_method:pam |
90 |
|
91 |
Since my system in already configured to authenticate against a LDAP |
92 |
server via nsswitch.conf. |
93 |
|
94 |
Any other clue? |
95 |
|
96 |
Leandro |
97 |
|
98 |
-- |
99 |
gentoo-user@g.o mailing list |