# Аутентификация

## Active Directory: период действия старого пароля <a href="#active-directory-old-password-lifetime" id="active-directory-old-password-lifetime"></a>

При использовании Active Directory в качестве внешней системы аутентификации, в течение определенного времени после смены пароля пользователь может выполнить успешный вход в систему с использованием старого пароля.

Данное поведение определяется настройками сервера LDAP. Брокер HOSTVM VDI не кэширует пароли пользователей и не управляет этим параметром.

Дополнительные сведения:

1. Настройка Windows Server:\
   <https://learn.microsoft.com/en-us/troubleshoot/windows-server/windows-security/new-setting-modifies-ntlm-network-authentication>
2. Настройка Samba сервера в роли Active Directory Domain Controller (параметр `old password allowed period`):\
   <https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html>


---

# Agent Instructions: 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:

```
GET https://kb.pvhostvm.ru/hostvm-vdi/troubleshooting-guide/faq/authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
