| Previous | Next |
| STATUS_NONE_MAPPED | STATUS_LUIDS_EXHAUSTED |
STATUS_TOO_MANY_LUIDS_REQUESTED
The LUID allocation request is too large
A LUID is a 64-bit value unique on the local system until restart and is used for locally scoped identities such as privileges and logon sessions. This status indicates a request-size or batching limit, not exhaustion of every possible 64-bit value.
Record the API and count passed by the caller. Split large internal allocations into bounded batches only if the contract permits it, and do not treat LUIDs as globally persistent identifiers across computers or reboots. If the count was computed dynamically, check integer conversion and uninitialized-length bugs.
What to inspect
- Log the requested count and the structure size used for the returned identifiers.
- Check arithmetic and type conversions that produced the count.
- Do not store a LUID as a permanent cross-machine identity.
References
- Microsoft: LUID structure
- Microsoft: AllocateLocallyUniqueId
- Microsoft Open Specifications: NTSTATUS values
Looking for a different code? Search another status or error code.
