Erro autenticacao NTLM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Erro autenticacao NTLM

luistkd4

Oi, estou tentando autenticar smtp(587) com postfix usando iphone com NTLM mas tenho os seguintes errors: 

Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: match_list_match: 0.0.0.0: no match 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-UBSMTPPROXY01 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-PIPELINING 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-SIZE 10240000 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-VRFY 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-ETRN 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-STARTTLS 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-AUTH PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-AUTH=PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-ENHANCEDSTATUSCODES 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-8BITMIME 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250 DSN 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: watchdog_pat: 0x7fa59005dc50 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: < unknown[0.0.0.0]: AUTH NTLM TlRMTVNTUAABAAAAB4IIAAAAAAAAAAAAAAAAAAAAAAA= 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_first: sasl_method NTLM, init_response TlRMTVNTUAABAAAAB4IIAAAAAAAAAAAAAAAAAAAAAAA= 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_first: decoded initial response NTLMSSP 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_auth_response: uncoded server challenge: NTLMSSP 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 334 TlRMTVNTUAACAAAAGgAaADAAAAAFggIA7O3XDUkopjcAAAAAAAAAAAAAAAAAAAAAVQBCAFMATQBUAFAAUABSAE8AWABZADAAMQA= 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: < unknown[0.0.0.0]: QUIT 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_next: decoded response: AB? 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: warning: SASL authentication failure: client didn't issue valid NTLM response
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: warning: unknown[0.0.0.0]: SASL NTLM authentication failed: bad protocol / cancel
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 535 5.7.8 Error: authentication failed: bad protocol / cancel
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: watchdog_pat: 0x7fa59005dc50 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: smtp_get: EOF 

E não consigo logar no iphone.


Alguém pode me ajudar com isso?


Obrigado


_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
Reply | Threaded
Open this post in threaded view
|

Re: Erro autenticacao NTLM

Julio Cesar Covolato

Olá Luiz.

Vc quer autenticar no AD?

----------------------------------
    _    Engº Julio Cesar Covolato
   0v0   [hidden email]
  /(_)\  F: 55-11-3129-3366
   ^ ^   PSI INTERNET
----------------------------------
Em 15/02/2017 10:30, Luis Miguel Flores dos Santos escreveu:

Oi, estou tentando autenticar smtp(587) com postfix usando iphone com NTLM mas tenho os seguintes errors: 

Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: match_list_match: 0.0.0.0: no match 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-UBSMTPPROXY01 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-PIPELINING 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-SIZE 10240000 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-VRFY 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-ETRN 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-STARTTLS 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-AUTH PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-AUTH=PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-ENHANCEDSTATUSCODES 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-8BITMIME 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250 DSN 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: watchdog_pat: 0x7fa59005dc50 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: < unknown[0.0.0.0]: AUTH NTLM TlRMTVNTUAABAAAAB4IIAAAAAAAAAAAAAAAAAAAAAAA= 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_first: sasl_method NTLM, init_response TlRMTVNTUAABAAAAB4IIAAAAAAAAAAAAAAAAAAAAAAA= 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_first: decoded initial response NTLMSSP 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_auth_response: uncoded server challenge: NTLMSSP 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 334 TlRMTVNTUAACAAAAGgAaADAAAAAFggIA7O3XDUkopjcAAAAAAAAAAAAAAAAAAAAAVQBCAFMATQBUAFAAUABSAE8AWABZADAAMQA= 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: < unknown[0.0.0.0]: QUIT 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_next: decoded response: AB? 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: warning: SASL authentication failure: client didn't issue valid NTLM response
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: warning: unknown[0.0.0.0]: SASL NTLM authentication failed: bad protocol / cancel
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 535 5.7.8 Error: authentication failed: bad protocol / cancel
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: watchdog_pat: 0x7fa59005dc50 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: smtp_get: EOF 

E não consigo logar no iphone.


Alguém pode me ajudar com isso?


Obrigado



_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br


_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
Reply | Threaded
Open this post in threaded view
|

Re: Erro autenticacao NTLM

luistkd4

Sim, com autenticação do tipo senha no iphone eu consigo, agora após algumas leituras adicionei algumas configuraçoes no meu arquivo smtpd.conf segue:

log_level: 7
pwcheck_method: auxprop
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM
saslauthd_path: /var/run/saslauthd/mux
ntlm_v2: yes
ntlm_server: server.local

após essas configuraçõs obtive os seguintes erros:

Feb 15 19:47:21 ubmsa01test postfix/smtpd[36228]: warning: unknown[]: SASL NTLM authentication failed: generic failure
Feb 15 19:47:21 ubmsa01test postfix/smtpd[36228]: > unknown[]: 535 5.7.8 Error: authentication failed: generic failure




De: Julio Cesar Covolato [via Postfix] <ml-node+[hidden email]>
Enviado: quarta-feira, 15 de fevereiro de 2017 16:48:28
Para: luistkd4
Assunto: Re: Erro autenticacao NTLM
 

Olá Luiz.

Vc quer autenticar no AD?

----------------------------------
    _    Engº Julio Cesar Covolato
   0v0   [hidden email]
  /(_)\  F: 55-11-3129-3366
   ^ ^   PSI INTERNET
----------------------------------
Em 15/02/2017 10:30, Luis Miguel Flores dos Santos escreveu:

Oi, estou tentando autenticar smtp(587) com postfix usando iphone com NTLM mas tenho os seguintes errors: 

Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: match_list_match: 0.0.0.0: no match 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-UBSMTPPROXY01 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-PIPELINING 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-SIZE 10240000 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-VRFY 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-ETRN 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-STARTTLS 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-AUTH PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-AUTH=PLAIN LOGIN CRAM-MD5 DIGEST-MD5 NTLM 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-ENHANCEDSTATUSCODES 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250-8BITMIME 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 250 DSN 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: watchdog_pat: 0x7fa59005dc50 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: < unknown[0.0.0.0]: AUTH NTLM TlRMTVNTUAABAAAAB4IIAAAAAAAAAAAAAAAAAAAAAAA= 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_first: sasl_method NTLM, init_response TlRMTVNTUAABAAAAB4IIAAAAAAAAAAAAAAAAAAAAAAA= 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_first: decoded initial response NTLMSSP 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_auth_response: uncoded server challenge: NTLMSSP 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 334 TlRMTVNTUAACAAAAGgAaADAAAAAFggIA7O3XDUkopjcAAAAAAAAAAAAAAAAAAAAAVQBCAFMATQBUAFAAUABSAE8AWABZADAAMQA= 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: < unknown[0.0.0.0]: QUIT 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: xsasl_cyrus_server_next: decoded response: AB? 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: warning: SASL authentication failure: client didn't issue valid NTLM response
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: warning: unknown[0.0.0.0]: SASL NTLM authentication failed: bad protocol / cancel
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: > unknown[0.0.0.0]: 535 5.7.8 Error: authentication failed: bad protocol / cancel
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: watchdog_pat: 0x7fa59005dc50 
Feb 15 11:52:29 ubmsa01test postfix/smtpd[30317]: smtp_get: EOF 

E não consigo logar no iphone.


Alguém pode me ajudar com isso?


Obrigado



_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br


_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br



If you reply to this email, your message will be added to the discussion below:
http://postfix.1071664.n5.nabble.com/Erro-autenticacao-NTLM-tp88867p88890.html
To start a new topic under Postfix Brasil, email ml-node+[hidden email]
To unsubscribe from Postfix, click here.
NAML
Reply | Threaded
Open this post in threaded view
|

Re: Erro autenticacao NTLM

Julio Cesar Covolato

Tenta adicionar essa linha no postfix main.cf:

smtpd_sasl_local_domain = $myhostname
----------------------------------
    _    Engº Julio Cesar Covolato
   0v0   [hidden email]
  /(_)\  F: 55-11-3129-3366
   ^ ^   PSI INTERNET
----------------------------------
Em 15/02/2017 17:53, luistkd4 escreveu:
SASL NTLM authentication failed: generic failure


_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br
Reply | Threaded
Open this post in threaded view
|

Re: Erro autenticacao NTLM

luistkd4

Não funcionou e percebi que para fazer funcionar eu preciso estar no domínio segundo o que li e o que me responderam no fórum global


E muito obrigado Julio pela ajuda!



De: Julio Cesar Covolato [via Postfix] <ml-node+[hidden email]>
Enviado: quarta-feira, 15 de fevereiro de 2017 18:30:35
Para: luistkd4
Assunto: Re: Erro autenticacao NTLM
 

Tenta adicionar essa linha no postfix main.cf:

smtpd_sasl_local_domain = $myhostname
----------------------------------
    _    Engº Julio Cesar Covolato
   0v0   [hidden email]
  /(_)\  F: 55-11-3129-3366
   ^ ^   PSI INTERNET
----------------------------------
Em 15/02/2017 17:53, luistkd4 escreveu:
SASL NTLM authentication failed: generic failure


_______________________________________________
Postfix-br mailing list
[hidden email]
http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/postfix-br



If you reply to this email, your message will be added to the discussion below:
http://postfix.1071664.n5.nabble.com/Erro-autenticacao-NTLM-tp88867p88893.html
To start a new topic under Postfix Brasil, email ml-node+[hidden email]
To unsubscribe from Postfix, click here.
NAML