mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
01b3d89aec
Windows uses 2 different values to indicate an account doesn't expire: 0 and
9223372036854775807 (0x7FFFFFFFFFFFFFFFULL).
This function looks up the value of the accountExpires attribute and if the
value is either value indicating the account doesn't expire,
0x7FFFFFFFFFFFFFFFULL is returned.
This simplifies the tests for account expiration. There is no need to check
elsewhere in the code for both values, therefore a simple greater-than
expression can be used.
(This used to be commit
|
||
---|---|---|
.. | ||
common | ||
repl | ||
samdb | ||
schema | ||
config.mk |