diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-05-14 09:47:50 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-05-14 09:48:21 -0400 |
commit | 99141e3a041c7223fa867900050de8d149cc3734 (patch) | |
tree | b1f300b0bc5b3364e14ff5d18cd3700f5456c8af /ipa-python/ipaerror.py | |
parent | 319cb38e284c328c57c2c3c3a5315d907303b616 (diff) | |
download | freeipa-99141e3a041c7223fa867900050de8d149cc3734.tar.gz freeipa-99141e3a041c7223fa867900050de8d149cc3734.tar.xz freeipa-99141e3a041c7223fa867900050de8d149cc3734.zip |
Enforce the maximum username length set by IPA Policy
439891
Diffstat (limited to 'ipa-python/ipaerror.py')
-rw-r--r-- | ipa-python/ipaerror.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipa-python/ipaerror.py b/ipa-python/ipaerror.py index 925f510fb..9357bd741 100644 --- a/ipa-python/ipaerror.py +++ b/ipa-python/ipaerror.py @@ -183,6 +183,11 @@ INPUT_SERVICE_PRINCIPAL_REQUIRED = gen_error_code( 0x000A, "You cannot remove IPA server service principals.") +INPUT_UID_TOO_LONG = gen_error_code( + INPUT_CATEGORY, + 0x0009, + "The requested username is too long.") + # # Connection errors # |