Web lists-archives.com

Re: [Samba] accountExpires never representation?

On Tue, 27 Feb 2018 21:39:16 -0700
Jeff Sadowski via samba <samba@xxxxxxxxxxxxxxx> wrote:

> I have been running experiments and I found an interesting multiple
> representations of never expiring accounts.
> I see when I create an account using the ADUC in windows 10 pro on
> samba-dc-4.7.5-2.fc27
> when I use ldapsearch to get accountExpires I get 9223372036854775807
> if I set the account to expire I get the expected value for that date.
> Here is the strange part when I set the account back to never expires
> the value is then 0
> So both 9223372036854775807 and 0 represent an account that never
> expires. If I set the value using ldapmodify it shows the same in
> ADUC under windows 10 pro.

You could have found this out by doing an internet search, where
something like this would turn up:



To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba