Search Results :

×

Setup IIS for Windows Authentication LDAP

How does IIS request information from LDAP?

When an user login an SSO (Single Sign on) application, IIS sends a request to LDAP (Lightweight Directory Access Protocol) for user information for authentication. LDAP and IIS communicate ( IIS sends a request to LDAP in order to get some user information). Windows IIS Manager couldn't locate any connection between IIS and LDAP.


  • Open Command prompt in Administrator mode.
  • Execute the following command on it to add Service Principal Name (SPN) for the account.
  • setspn -a HTTP/## Server FQDN ## ## Domain Service Account ##
  • Note: "mini.exmaple.com" here is FQDN. Make sure it's resolvable on the Windows server running AD service.
  • Open Active Directory Users and Computers.
  • Search for the service account which was used to create the Service Principal Name (SPN).
  • Navigate to the Delegation tab.
  • Select Trust this user for delegation to any service (Kerberos only).
Configure IIS for Windows Authentication

  • Click Apply.
  • Open up IIS Manager.
  • Select the site which you want to apply Windows Authentication to.
  • Select the Application Pool for that website. Right click on it and select Advanced Settings.
Advanced Settings

  • Use Custom Account and set the account as the service account for which delegation was enabled. You would need to enter the password of the service account as well.
Custom Account

  • Navigate to the Authentication section for the website.
Authentication section

  • Enable Windows Authentication and disable Anonymous Authentication. (Both cannot work simultaneously)
Enable Windows Authentication

  • Go to the Configuration Editor.
Configuration Editor

  • Search for: system.webServer/security/authentication/windowsAuthentication
Basic Attribute Mapping

  • Set useKernelMode as False and useAppPoolCredentials as True in the Configuration editor.
  • Click Apply.
  • Restart IIS server.

ADFS_sso ×
Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com