> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/it/knowledge-base/troubleshooting-articles/invalid-username-or-password-error-when-signing-in-with-domain-credentials.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Errore Invalid username or password durante l'accesso con le credenziali di dominio

Corregge un falso errore di nome utente o password non validi durante l'accesso a Devolutions Server con credenziali di dominio modificando la strategia di validità utente LDAP.

Quando si tenta di accedere a Devolutions Server con credenziali di tipo "dominio", si potrebbe ricevere il seguente messaggio di errore:

`Invalid username or password, please verify your credentials`

Può trattarsi di un errore in cui Devolutions Server segnala erroneamente che le sue credenziali non sono valide quando in realtà lo sono. Ciò è causato dalla modifica del nostro stack LDAP e dal modo in cui Devolutions Server interagisce con Active Directory.

#### Soluzione

Una volta verificato che le sue credenziali siano realmente quelle corrette per quel Devolutions Server e per quel metodo di autenticazione, può risolvere la situazione modificando la strategia utilizzata da Devolutions Server per recuperare le informazioni.

1. In Devolutions Server, vada su ***Amministrazione – Impostazioni del server – Autenticazione – Domini***.
2. Clicchi su ***Edit*** sul dominio.
3. Clicchi su ***Advanced settings***.
4. Modifichi il valore di ***User validity*** da ***Default (LDAP)*** a ***Validate credentials*** oppure a ***Create user principal***.
5. Clicchi su ***OK***, poi su ***Update*** per salvare le modifiche.

Ora dovrebbe essere in grado di accedere. Se il problema persiste, può anche modificare gli altri valori presenti in ***Advanced settings*** scegliendo ***Principal*** o ***Directory entry token group***, a seconda di ciò che è disponibile. Se continua a riscontrare problemi di accesso, contatti il nostro team di assistenza clienti all'indirizzo <service@devolutions.net>.


---

# 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://docs.devolutions.net/server/it/knowledge-base/troubleshooting-articles/invalid-username-or-password-error-when-signing-in-with-domain-credentials.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.
