summaryrefslogtreecommitdiffstats
path: root/ipa-python
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2007-12-04 13:18:37 -0500
committerRob Crittenden <rcritten@redhat.com>2007-12-04 13:18:37 -0500
commit2fbe5cbf492597a87427b61f1e470052b77465b2 (patch)
tree0a4bdf0cbd8068f7d2e33a9be7037b178ee7f378 /ipa-python
parent69765f52ce54eacb704b7ff1ee4287a3ed787371 (diff)
downloadfreeipa-2fbe5cbf492597a87427b61f1e470052b77465b2.tar.gz
freeipa-2fbe5cbf492597a87427b61f1e470052b77465b2.tar.xz
freeipa-2fbe5cbf492597a87427b61f1e470052b77465b2.zip
Phase 1 of allowing admins to set the default object classes for users & groups
This adds the UI and does error checking of the selected object classes but it doesn't actually use the values yet. It also generalizes some functions for doing multi-valued fields.
Diffstat (limited to 'ipa-python')
-rw-r--r--ipa-python/ipaerror.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipa-python/ipaerror.py b/ipa-python/ipaerror.py
index 2f9a98363..e34963365 100644
--- a/ipa-python/ipaerror.py
+++ b/ipa-python/ipaerror.py
@@ -177,3 +177,8 @@ CONFIG_DEFAULT_GROUP = gen_error_code(
CONFIGURATION_CATEGORY,
0x0002,
"You cannot remove the default users group.")
+
+CONFIG_INVALID_OC = gen_error_code(
+ CONFIGURATION_CATEGORY,
+ 0x0003,
+ "Invalid object class.")