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 9136171
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:55:05+00:00 2026-06-17T08:55:05+00:00

We are writing a custom authentication provider for a website hosted on our DMZ

  • 0

We are writing a custom authentication provider for a website hosted on our DMZ server. The website is built on a CMS called Kentico which runs on .NET 4.0 framework. The Kentico hosting server is located in the DMZ Active Directory forest. There is another, internal Active Directory forest, and DMZ AD has a one-way trust with internal AD (DMZ trusts internal AD, internal AD does not trust DMZ).

We can authenticate DMZ AD users without any problems. But we also need to be able to authenticate internal AD users. The firewall settings are blocking direct access to internal AD domain controllers, so we need to through the trust and send authentication requests to DMZ AD DCs.

When trying to authenticate internal AD users – the LDAP queries sent by the authentication provider to the DMZ DCs are failing with “user not found”.

Wondering if anyone has dealt with this issue before and how it was resolved. Thank you in advance for your replies.

  • 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-17T08:55:06+00:00Added an answer on June 17, 2026 at 8:55 am

    The one sure-fire way I’ve found to authenticate users that are on the other side of a one-way trust is with the LogonUserEx function in the advapi32.dll library. I know for sure that the LOGON32_LOGON_INTERACTIVE logon type works, and that the LOGON32_LOGON_BATCH does not. LogonUserEx accepts both domain and user name as separate arguments or a UPN for the user name with a null domain argument.

    Now Kentico is a little weird in that they have two out of the box authentication providers, one for authenticating against the Kentico DB and another for logging onto AD using the ActiveDirectoryMembershipProvider in the System.Web.Security package. That provider does not seem to be able to log in anyone on the other end of a one-way trust. Now Kentico does not let you make a custom provider to use instead, but rather it requires that any custom authentication happen via an event handler.

    The Kentico documentation is a little weak on how to make a custom event handler. Here’s a link to what they have for Kentico 7 (which is about the same as for Kentico 6) – http://bit.ly/13DXrFA. The only other practical information about making the custom event handler is for Kentico 6, but it should work fine for Kentico 7, and can be found here – http://bit.ly/13DXLEc. As you can see from that link, the event to target is SecurityEvents.Authenticate.Execute.

    Hope that helps.

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

Sidebar

Related Questions

I'm writing a WCF service with some authentication and a custom error handler. However,
I've got a site that uses Forms Authentication (with a custom membership provider, but
I'm writing a custom authentication adapter in Zend Framework 2. module/Application/src/Application/Auth/Adapter/Auth_Adapter.php - namespace Application\Auth;
I am writing a custom authentication backend (and a custom user model) to check
I'm new to writing custom ASP.NET server controls, and I'm encountering the following issue:
Some thoughts about writing custom html helpers. In our project everywhere you can find
Overview of the problem: I've been playing with writing custom http server apps for
I am working through the tutorials on writing custom spring namespace handlers found here:
I am using Spring Framework . While writing custom queries, I am unable check
I'm writing a custom overlay for a Google Map. I have a serious of

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.