> 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).

# Errore di nome utente o password non validi durante l'accesso con credenziali di dominio

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 in ***Administration – Server settings – Authentication – Domains***. ![](https://cdnweb.devolutions.net/docs/DVLS2004_2024_1.png)
2. Clicchi su ***Edit*** sul dominio.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS2005_2024_1.png" alt=""><figcaption></figcaption></figure>
3. Clicchi su ***Advanced settings***.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS2006_2024_1.png" alt=""><figcaption></figcaption></figure>
4. Modifichi il valore di ***User validity*** da ***Default (LDAP)*** a ***Validate credentials*** oppure a ***Create user principal***.

   <figure><img src="https://cdnweb.devolutions.net/docs/DVLS2007_2024_1.png" alt=""><figcaption></figcaption></figure>
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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
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=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
