Open ehashman opened 8 years ago
This functionality exists, it's just not documented...
princ.set_flags(kadmin.REQUIRES_PWCHANGE) princ.commit()
(Also princ.unset_flags)
It exists, but the code hasn't been fleshed out (there are still comments floating around) and the interface could be more user-friendly. If I have time I plan on fixing this up and writing some docs.
It would be cool if I could use this library to modify the "Attributes" field of principals; for instance, to set
+needchange
on user principals to expire passwords rather than hard-expiring them with a date.Interface could look something like
corresponding to
in kadmin.
I could write a pull request if someone were to point me in the right direction re: docs, etc.