There are two different values that mean "Account never expires" on Microsoft Active Directory.
- 1. 0x7FFFFFFFFFFFFFFF (9223372036854775807)
- 2. 0
If the Gateway receives the second value, it will be ignored and the value from the user template on SmartConsole will be taken. If the expiration date on the template has passed, the user will get the error.