HTM Forest (10.10.10.161) - Error with GetNPUsers.py script

Seems to be working fine for everyone else except me. I ran the script “GetNPUsers.py”. However I tried multiple times and getting this error everytime. Appreciate any assistance.

[-] User sebastien doesn’t have UF_DONT_REQUIRE_PREAUTH set
[-] User lucinda doesn’t have UF_DONT_REQUIRE_PREAUTH set
[-] <ConstraintsIntersection object at 0x7f6af29ae890 consts <ConstraintsUnion object at 0x7f6af29ae390 consts <SingleValueConstraint object at 0x7f6af29ae650 consts 10>, <SingleValueConstraint object at 0x7f6af29ae6d0 consts 12>>> failed at: ValueConstraintError(’<ConstraintsUnion object at 0x7f6af29ae390 consts <SingleValueConstraint object at 0x7f6af29ae650 consts 10>, <SingleValueConstraint object at 0x7f6af29ae6d0 consts 12>> failed at: ValueConstraintError(‘all of (<SingleValueConstraint object at 0x7f6af29ae650 consts 10>, <SingleValueConstraint object at 0x7f6af29ae6d0 consts 12>) failed for “11”’,)’,) at Integer
[-] User andy doesn’t have UF_DONT_REQUIRE_PREAUTH set
[-] User mark doesn’t have UF_DONT_REQUIRE_PREAUTH set
[-] User santi doesn’t have UF_DONT_REQUIRE_PREAUTH set
[-] invalid principal syntax

make sure you’ve downloaded the latest version of Impacket? I think there’s an older version included with Kali (if you’re using that) which has some issues.

Thank you, will upgrade and see if that resolves.