Error with autentication NTLM (General questions)
Hello again,
Now we have a problems with NTLM autentication. The result negotiation of de SendMessage method is:
Error -> 30019 - Server replied with invalid authentication response.
220 ostsrvdc.OST.local Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at Mon, 22 Oct 2007 18:59:38 +0200
EHLO ostsrvdemo.OST.local
250-ostsrvdc.OST.local Hello [192.168.1.34]
250-TURN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM
250-AUTH GSSAPI NTLM
250-X-LINK2STATE
250-XEXCH50
250 OK
AUTH NTLM
334 NTLM supported
TlRMTVNTUAABAAAAA7IAAAAAAAAAAAAAAAAAAAAAAAAA
334 TlRMTVNTUAACAAAAAAAAADgAAAABggACh7+kWfsqTY4AAAAAAAAAAAAAAAA4AAAABQLODgAAAA8=
TlRMTVNTUAADAAAAGAAYAH4AAAAYABgAlgAAAAYABgBAAAAAEAAQAEYAAAAoACgAVgAAAAAAAACuAAAAAYIAAE8AUwBUAGIAZQBzAGEAZABtAGkAbgBvAHMAdABzAHIAdgBkAGUAbQBvAC4ATwBTAFQALgBsAG8AYwBhAGwAKoEpTc5DTocqgSlNzkNOhyqBKU3OQ06HKoEpTc5DTocqgSlNzkNOhyqBKU3OQ06H
535 5.7.3 Authentication unsuccessful.
We are setting de Login/Password of the wodSMTP with:
Login: besadmin
Password: *******
-or-
Login: OSTesadmin (with the domain on Windows Server)
Password: *******
Where is the problem... any idea?
Thak you again!
Re: Error with autentication NTLM
Hi Gerard,
Can you show us your code snippet? That will helps us a lot in resolving your problem.
Hope I helped.
Regards,
Drazen
Re: Error with autentication NTLM
This is the code (old VB6 version):
[code]oSMTP.LicenseKey = LICKEY_WODSMTP
oSMTP.Blocking = True
'Set Host and user
oSMTP.HostName = registryGetSetting(REGKEY_SMTP_HOSTNAME)
oSMTP.Login = registryGetSetting(REGKEY_SMTP_LOGIN)
oSMTP.Password = registryGetSetting(REGKEY_SMTP_PASSWORD)
'Authentication/Security options (the same values of the wodSMTP)
oSMTP.Authentication = CInt(Val(registryGetSetting(REGKEY_SMTP_AUTHENTICATION, 1 )))
oSMTP.Security = CInt(Val(registryGetSetting(REGKEY_SMTP_USESSL, 0 )))
'Port (if not informed, use the default port of the instance)
lPort = CLng(Val(registryGetSetting(REGKEY_SMTP_PORT, 0 )))
If CLng(Val(lPort)) > 0 Then oSMTP.Port = lPort
'Generate the Text/HTML mail
oSMTP.CreateTextHtml tMail.FromAddress, tMail.ToAddress, tMail.Subject, tMail.Body, tMail.TextBody
'Attachments
For i = 1 To tMail.AttachmentCount
oSMTP.Message.Attach tMail.Attachments(i)
Next i
'Send the message
oSMTP.SendMessage[/code]
...and the data in the registry (that produces the error) are:
Host -> 192.168.1.10
Port -> 25
Authentication -> AuthNTLM
Security -> SecurityNone
User -> OSTesadmin (OST is the domain)
Pwd -> XXXXX
Any idea?
Thank's again,
Gerard Llort
Offshore Tech S.L.
Re: Error with autentication NTLM
Hi Gerard,
Can you use any other client to authenticate using NTLM?
What credentials do you provide in that case?
Also, can you try setting Login Property to a form like DomainLogin ? Does that help?
Regards,
Damba
Re: Error with autentication NTLM
Well,
We are using SharePoint configured to use NTLM authentication... and it runs fine.
It's possible that the wodSMTP not need the Host value to find the server to authenticate? I was lost...
Regards,
Gerard Llort
Offshore Tech S.L.
Re: Error with autentication NTLM
Gerard,
Just to inform you that checking this out. We will let you know as soon as we come up with something new.
Regards,
Damba
Re: Error with autentication NTLM
Gerard,
Your problem should be fixed.
Can you please download latest version from our website and try it again.
Let us know how it goes.
Drazen
Re: Error with autentication NTLM
Hello again Drazen,
This version of wodSMTP run ok! Thank you very much for the WenOnlyDo quick response on this bug.
And another question: Afetr I installed the component, the trial version form appears on the application. We need to purchase again the component? Actually we have the version 1.3.0.47
Regards (and a lot of thanks!),
Gerard Llort
Offshore Tech
Re: Error with autentication NTLM
Gerard,
Actually you should request update for licensed version of wodSmtp here:
http://www.weonlydo.com/index.asp?update=1
This is automated process. Make sure you use same email address that is registered with our system, one you used when you have purchased the product.
Hope this helps.
Drazen