diff options
author | Sumit Bose <sbose@redhat.com> | 2010-12-21 15:45:37 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-07-08 15:20:38 -0400 |
commit | 37e7e93f1996cf50677cf59fd8af6938dd5d85b2 (patch) | |
tree | 0c7c2facfde01680e1f362fa8ec281c4ab3a6ac3 /src/providers/ipa | |
parent | f7cfc227904771bccfda4f03f552923794dbb0c0 (diff) | |
download | sssd-37e7e93f1996cf50677cf59fd8af6938dd5d85b2.tar.gz sssd-37e7e93f1996cf50677cf59fd8af6938dd5d85b2.tar.xz sssd-37e7e93f1996cf50677cf59fd8af6938dd5d85b2.zip |
Add LDAP access control based on NDS attributes
Diffstat (limited to 'src/providers/ipa')
-rw-r--r-- | src/providers/ipa/ipa_common.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/providers/ipa/ipa_common.c b/src/providers/ipa/ipa_common.c index 55a197244..9fbf9baa8 100644 --- a/src/providers/ipa/ipa_common.c +++ b/src/providers/ipa/ipa_common.c @@ -134,7 +134,10 @@ struct sdap_attr_map ipa_user_map[] = { { "ldap_user_ad_account_expires", "accountExpires", SYSDB_AD_ACCOUNT_EXPIRES, NULL}, { "ldap_user_ad_user_account_control", "userAccountControl", SYSDB_AD_USER_ACCOUNT_CONTROL, NULL}, { "ldap_ns_account_lock", "nsAccountLock", SYSDB_NS_ACCOUNT_LOCK, NULL}, - { "ldap_user_authorized_host", "host", SYSDB_AUTHORIZED_HOST, NULL } + { "ldap_user_authorized_host", "host", SYSDB_AUTHORIZED_HOST, NULL }, + { "ldap_user_nds_login_disabled", "loginDisabled", SYSDB_NDS_LOGIN_DISABLED, NULL }, + { "ldap_user_nds_login_expiration_time", "loginExpirationTime", SYSDB_NDS_LOGIN_EXPIRATION_TIME, NULL }, + { "ldap_user_nds_login_allowed_time_map", "loginAllowedTimeMap", SYSDB_NDS_LOGIN_ALLOWED_TIME_MAP, NULL } }; struct sdap_attr_map ipa_group_map[] = { |