Previously, getprinc would silently failed if permissions were missing. With this change, such errors can nicely be detected by the user using code such as:
This looks fine, it is likely that a universal get_princ wrapper should implement this exception for all locations where the principal is retrieved from the server.
Previously, getprinc would silently failed if permissions were missing. With this change, such errors can nicely be detected by the user using code such as:
try: return kadm.getprinc(princ) except kadmin.AuthGetError: ...