Интегрированная аутентификация Windows с IIS, Firefox и SQL Server

https://github.com/un1t/django-cleanup#configuration

Указания в разделе конфигурации указывают, что это правильный метод для добавления в INSTALLED_APPS: [ 114]

INSTALLED_APPS = [
    ...
   'django_cleanup.apps.CleanupConfig',
]

И я бы добавил его в конец списка установленных приложений, а не в заголовок

15
задан THEMike 9 April 2009 в 08:29
поделиться

3 ответа

AS noted by Pontus Gagge, IIS needs to pass a Kerberos ticket to SQL Server. That was enough to tip my Google-fu in the right direction.

Firefox supports Kerberos, but, you have to tell it which domains it trusts to send the Kerberos tokens too.

  1. Open Firefox
  2. In the address bar type: about:config
  3. Firefox3.x and later requires you to agree that you will proceed with caution.
  4. After the config page loads, in the filter box type: network.negotiate-auth
  5. Modify network.negotiate-auth.trusted-uris by double clicking the row and enter yourdomain.com
  6. Multiple domains can be added by comma delimiting them such as yourdomain.com, yourotherdomain.com

Note: This is not the same as gbn's solution which just configures firefox to not prompt you to enter domain account details on login.

Also, if you have already tried to authenticate through the stack in your current Firefox session, you will need to restart Firefox for this to work.

28
ответ дан 1 December 2019 в 01:11
поделиться
  1. Open Firefox
  2. In the address bar type: about:config
  3. Firefox3.x and later requires you to agree that you will proceed with caution.
  4. After the config page loads, in the filter box type: network.automatic
  5. Modify network.automatic-ntlm-auth.trusted-uris by double clicking the row and enter http://www.replacewithyoursite.com
  6. Multiple sites can be added by comma delimiting them such as http://www.replacewithyoursite.com, http://www.replacewithyourintranetsite.com

I also use IEtab add-on for the intranet sites

5
ответ дан 1 December 2019 в 01:11
поделиться

IIS needs to pass a Kerberos ticket to SQL Server for this scenario to work. MSIE is picking up the workstation session ticket, whereas Firefox is negotiating its own authentication (and not Kerberos).

Check out e.g. this dense blog post as a starting point for understanding what is needed. I'm not sure if FF support MS-Kerberos.

Be aware that even getting MSIE->IIS->SQL Server authentication can be tricky if you have the wrong versions or trust configuration...

5
ответ дан 1 December 2019 в 01:11
поделиться
Другие вопросы по тегам:

Похожие вопросы: