Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8810637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:10:02+00:00 2026-06-14T03:10:02+00:00

We use NTLM auth to access an ASP.net web services from our MonoTouch app

  • 0

We use NTLM auth to access an ASP.net web services from our MonoTouch app and everything works fine.

One of our customers uses the same app and the NTLM auth fails from our app but works from the iPad’s Safari browser.

Looking at the packet flow from the customer, the server does not return NTLMSSP_CHALLENGE, when our app sends NTLMSSP_NEGOTIATE message.

Looking the differences between our app’s NTLMSSP_NEGOTIATE message and iPad’s Safari same message
Our MT app sets the NTLM flags to 0xb203 and Safari sets this to 0x88207.
The NegotiateNtlm2Key is set to 0 in our app and 1 in Safari
Our app also sends the calling workstation domain and name fields whereas Safari send both as null.

The client’s server is Windows Server 2003 and they also use Kerberos as their main authentication scheme and fall back on NTLM.

Would setting the NegotiateNtlm2Key flags in Mono.Security.Protocol.Ntlm.NtlmFlags help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T03:10:03+00:00Added an answer on June 14, 2026 at 3:10 am

    NTLMv2 Session and NTLMv2 Authentication has now been implemented in Mono (mono/master commit 45745e5).

    See this article for a description of the different NTLM versions.

    By default, Mono now uses NTLMv2 Session Authentication whenever the server supports it and falls back to LM & NTLM otherwise.

    The default behavior can be configured by using the new Mono.Security.Protocol.Ntlm.Type3Message.DefaultAuthLevel property in Mono.Security.dll (see Type3Message.cs and NtlmAuthLevel.cs in mcs/class/Mono.Security/Mono.Security.Protocol.Ntlm).

    This is similar to the Lan Manager Authentication Level in Windows.

    Update 01/26/13

    There has been an issue with Microsoft Server 2008 RC2 not accepting the domain name that it sent back in the Type 2 Message’s Target Name (or Domain Name from the Target Info block).

    Therefore, we are now using the domain name from the NetworkCredential to allow the user to specify the desired domain. This is also the domain name that’s initially being sent to the server in the Type 1 Message.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can't integrate NTLM auth in my web app. I use this library for
I'm trying to use Impersonation and Delegation in an intranet ASP.Net web-app in order
I'm NTLM (authenication=windows in the web.config) with an asp.net mvc 2.0 site. Right now
Our web application uses Windows Integrated Authentication (aka NTLM Auth) for security. It's working
I have a ASP .Net web appliaction written in Visual Basic .Net running on
I have a scenario wherein my ASP.NET MVC 3 web application hosted in IIS
I'm currently developing an ASP.NET App and I want to get the Username &
I want to use a wcf service in my asp.net application that uses integrated
I use Silverlight, .NET 4 (with VB), RIA Services, and I develop under VS
I am writing an ASP.Net MVC application that uses NTLM authentication, so users don't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.