Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

RFC HTTP connection with NTLM authentication

Former Member
0 Kudos

Hello.

I am using trasaction SM59 to create a Http connection to an external server.

The external server is a IIS server and uses NTLM authentication.

How can i authenticate in the server?

Thank you

Nuno Silva

4 REPLIES 4

athavanraja
Active Contributor
0 Kudos

Hi,

I guess this is realted to your previous thread (), if yes in such a case, you dont need RFC destination, just follow the code snippet i had provided there.

Regards

Raja

Kindly close your previous threads

0 Kudos

Hello.

Yes it is related. I am using RFC because it is easier to test the connection without code.

The code you provided doesnt work. Like in the rfc connection it returns error 401, because the authentication errors are not correct.

Like i said, i believe this as something to do with the NTLM.

Any ideas?

Thank you

Nuno Silva

0 Kudos

The message returned by the server when giving error 401 is:

"You do not have permission to view this directory or page using the credentials that you supplied because your Web browser is sending a WWW-Authenticate header field that the Web Server is not configured to accept."

Former Member