New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows (NTLM) auth does not work #69

Closed
tusmester opened this Issue May 3, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@tusmester
Member

tusmester commented May 3, 2017

With or without the WebPages component installed, the Windows (NTLM) auth feature does not work (it is easier to test it with WebPages installed though).

  • install sensenet Services and WebPages
  • create a user in the repo for your domain account under a correct domain (sn, not builtin!)
  • add a site in sensenet with a custom url with Windows auth defined on it
  • register that url on your machine in the hosts file
  • create an IIS site pointing to the web folder and register the url binding
  • switch on Windows auth on the IIS site
  • start the site in IIS and attach with VS

--> when the site starts to load, the browser pops up a login dialog (it should not), even if you are already logged in to Windows with your domain account. If you try to log in, it fails, the request arrives to SN, but without the authenticated user.

Possible causes:

  • missing web.config entry?
  • incorrect IIS configuration?
  • something is wrong with our modules? (authenticate/portalcontext/authorize)

Related to #10

@iviczl

This comment has been minimized.

Contributor

iviczl commented May 23, 2017

It turned out to be some configuration mistake.

@borsi borsi closed this Jun 1, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment