summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/hbac.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/hbac.py')
-rw-r--r--ipalib/plugins/hbac.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/plugins/hbac.py b/ipalib/plugins/hbac.py
index 12be2eb6c..4a7cc9407 100644
--- a/ipalib/plugins/hbac.py
+++ b/ipalib/plugins/hbac.py
@@ -21,7 +21,7 @@ Host based access control
"""
from ipalib import api, errors
-from ipalib import GeneralizedTime, Password, Str, StrEnum
+from ipalib import AccessTime, Password, Str, StrEnum
from ipalib.plugins.baseldap import *
class hbac(LDAPObject):
@@ -222,7 +222,7 @@ class hbac_add_accesstime(LDAPQuery):
Add access time to HBAC rule.
"""
takes_options = (
- GeneralizedTime('accesstime',
+ AccessTime('accesstime',
cli_name='time',
doc='access time',
),
@@ -260,7 +260,7 @@ class hbac_remove_accesstime(LDAPQuery):
Remove access time to HBAC rule.
"""
takes_options = (
- GeneralizedTime('accesstime?',
+ AccessTime('accesstime?',
cli_name='time',
doc='access time',
),