summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-09-30 13:58:01 -0400
committerAdam Young <ayoung@redhat.com>2010-10-01 16:05:08 -0400
commit38490d35d3b8410a8077fb035b57cea86dd3bdab (patch)
tree4aa8351beb27bc619d89239d9565664ac0f1f082 /ipalib
parentf906aaf3760118b1b089a72b299a8e0a73619547 (diff)
downloadfreeipa-38490d35d3b8410a8077fb035b57cea86dd3bdab.tar.gz
freeipa-38490d35d3b8410a8077fb035b57cea86dd3bdab.tar.xz
freeipa-38490d35d3b8410a8077fb035b57cea86dd3bdab.zip
phonenumbers
Added in params for phone number types: phone, fax, mobile ,pager
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/user.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py
index 53551898b..074655344 100644
--- a/ipalib/plugins/user.py
+++ b/ipalib/plugins/user.py
@@ -154,6 +154,16 @@ class user(LDAPObject):
label=_('Taskgroups'),
flags=['no_create', 'no_update', 'no_search'],
),
+ Str('telephonenumber*',
+ cli_name='phone',
+ label=_('Telephone Number') ),
+ Str('mobile*',
+ label=_('Mobile Telephone Number') ),
+ Str('pager*',
+ label=_('Pager Number') ),
+ Str('facsimiletelephonenumber*',
+ cli_name='fax',
+ label=_('Fax Number') ),
)
api.register(user)