> For the complete documentation index, see [llms.txt](https://documentation.efalia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.efalia.com/produit/multigest/installation/authentification-sso-avec-ntlm.md).

# Authentification SSO avec NTLM

L’authentification SSO avec NTLM permet aux utilisateurs LDAP d’être connectés directement à Multigest à l’aide de leur session Windows sans renseigner d’identifiants.

## Paramétrage du serveur

Dans un premier temps il faut activer la prise en compte de l’authentification par NTLM.\
Cette action se fait dans le fichier Webserveur.ini qui se trouve dans Multigest/bin.\
Il suffit de mettre le paramètre AUTH= 1 ou AUTH= 2 selon si vous souhaitez restreindre l’authentification NTLM à Internet Explorer ou l’étendre à tous les navigateurs :

```ini
AUTH=2
Les autres valeurs possibles 
0 = Identifiant et mot de passe
1 = NTLM uniquement pour Internet Explorer
2 = NTLM pour tous les navigateurs (IE + Firefox ou Chrome selon le paramètre NTLM_AUTH_BROWSER)
3 = WSSO
```

## Paramétrage des navigateurs

{% tabs %}
{% tab title="Internet Explorer" %}

* Ajouter l’url de Multigest comme site de confiance

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-7a4d8c19cde7c5e3734d77ba863afc3bf5c0ac6c%2F.-authentification-sso-avec-ntlm-01.webp?alt=media" alt=""><figcaption></figcaption></figure>

* Dans les Paramètres de sécurité, activer *Connexion automatique avec le nom d’utilisateur et le mot de passe*

<figure><img src="https://3557286639-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcnnXLnfB61CBUw4H9Fho%2Fuploads%2Fgit-blob-498928463cb7a91459dc30875a584c15bf8ed670%2F.-authentification-sso-avec-ntlm-02.webp?alt=media" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Firefox" %}

* Dans la barre d’adresse de Firefox, saisissez `about:config` et appuyez sur Entrée
* Validez la fenêtre d’acceptation des risque.
* Recherchez ensuite : `network.automatic`.
* Double-cliquez sur `network.automatic-ntlm-auth.trusted-uris` afin de le modifier et renseigner l’URL de Multigest
* Renseignez plusieurs domaines en les séparants par une virgule tel que: `https://url_multigest_prod, https://url_multigest_recette`
* Cliquez sur OK . Vous devrez peut-être redémarrer Firefox pour que les modifications soient prisent en compte.
  {% endtab %}

{% tab title="Chrome" %}
Les dernières versions de Chrome utilisent les paramètres d’Internet Explorer existants. Reportez-vous donc au paramétrage pour Internet Explorer.\
Les anciennes versions de Chrome nécessitent une configuration supplémentaire :

* Ouvrez et exécutez les commandes suivante dans un invite de commande

```x-sh
cd "c:\\Program Files (x86)\\Google\\Chrome\\Application" 
Chrome.exe -auth-server-whitelist="URL_MULTIGEST" -auth-negotiate-delegatewhitelist="URL_MULTIGEST" -auth-schemes="digest,ntlm,negotiate"
```

{% endtab %}

{% tab title="Edge" %}

* Ouvrez et exécutez les commandes suivante dans un invite de commande

```x-sh
cd "C:\Program Files (x86)\Microsoft\Edge\Application"
msedge.exe –auth-server-whitelist=”URL_MULTIGEST” –auth-negotiate-delegatewhitelist=”URL_MULTIGEST” –auth-schemes=”digest,ntlm,negotiate”
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.efalia.com/produit/multigest/installation/authentification-sso-avec-ntlm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
