| Предыдущий | Следующий |
| ERROR_HOST_DOWN | ERROR_NON_DOMAIN_SID |
ERROR_NON_ACCOUNT_SID
Что означает ERROR_NON_ACCOUNT_SID
ERROR_NON_ACCOUNT_SID — указанный идентификатор безопасности SID не относится к домену учётных записей.
Что проверить
Зафиксируйте учётную запись и API/операцию, которая вернула код.
- Проверьте именно ограничение, указанное сообщением: тип аккаунта, quota, mapping, ключи или состояние учетной записи.
- Используйте Security/Directory Service event для той же попытки, если решение принимал домен.
Исходная формулировка
the supplied SID is valid but does not identify an account-domain principal required by the operation.
any serialization or truncation performed before validation
IsValidSid checks structure, not semantic type. An API that needs an account-domain SID expects a domain portion plus a relative identifier representing a principal. Passing a well-known SID or a security label can therefore fail with 1257 even though the bytes form a valid SID.
ERROR_INVALID_SID means the SID structure itself is invalid. ERROR_NONE_MAPPED means no account name could be resolved. ERROR_NON_DOMAIN_SID says the SID has no extractable domain component. Error 1257 specifically rejects the SID’s principal category.
The supplied security identifier may be syntactically valid, yet it is not an account SID belonging to a local or domain account namespace.
Технические ссылки
- Microsoft: System Error Codes (1000–1299)
- Microsoft: LookupAccountSidW function
- Microsoft: GetWindowsAccountDomainSid function
- Microsoft: Understand Security Identifiers
Нужно найти другой код? Найти другой код состояния или ошибки.
