kadm5: Correctly set userAccountControl bits
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Fri, 29 Apr 2022 00:05:50 +0000 (12:05 +1200)
committerJeffrey Altman <jaltman@auristor.com>
Fri, 16 Sep 2022 19:43:44 +0000 (15:43 -0400)
commitf6d26bce66d38b50f9f61d4794be1f272942da2a
tree0d427b2c3791574549fe68196b738e52e8ac1c4c
parentf165d1e942b55329261ee573af86bdbbe3d57b57
kadm5: Correctly set userAccountControl bits

We meant to clear only the UF_SMARTCARD_REQUIRED bit, but we were
instead clearing all bits excepting it.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
lib/kadm5/ad.c