summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/user.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-12-20 23:28:33 -0500
committerRob Crittenden <rcritten@redhat.com>2010-12-21 13:00:15 -0500
commit4d6cd892581d6ce402feb3351c6cb41b932a54f5 (patch)
treeb9e66e40160902c1cd7e6efb28d6e6b6e2561300 /ipalib/plugins/user.py
parent1a7f5e0cc4e66db243ce29f09d77479fc981099e (diff)
downloadfreeipa-4d6cd892581d6ce402feb3351c6cb41b932a54f5.tar.gz
freeipa-4d6cd892581d6ce402feb3351c6cb41b932a54f5.tar.xz
freeipa-4d6cd892581d6ce402feb3351c6cb41b932a54f5.zip
In meta data make ACI attributes lower-case, sorted. Add possible attributes.
The metadata contains a list of possible attributes that an ACI for that object might need. Add a new variable to hold possible objectclasses for optional elements (like posixGroup for groups). To make the list easier to handle sort it and make it all lower-case. Fix a couple of missed camel-case attributes in the default ACI list. ticket 641
Diffstat (limited to 'ipalib/plugins/user.py')
-rw-r--r--ipalib/plugins/user.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py
index 620975496..17e5e3c58 100644
--- a/ipalib/plugins/user.py
+++ b/ipalib/plugins/user.py
@@ -63,6 +63,7 @@ class user(LDAPObject):
object_name_plural = 'users'
object_class = ['posixaccount']
object_class_config = 'ipauserobjectclasses'
+ possible_objectclasses = ['meporiginentry']
search_attributes_config = 'ipausersearchfields'
default_attributes = [
'uid', 'givenname', 'sn', 'homedirectory', 'loginshell', 'ou',