f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder Stephen Gallagher <sgallagh@redhat.com>
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder Copyright (C) 2010 Red Hat
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder This program is free software; you can redistribute it and/or modify
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder it under the terms of the GNU General Public License as published by
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder the Free Software Foundation; either version 3 of the License, or
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder (at your option) any later version.
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder This program is distributed in the hope that it will be useful,
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder but WITHOUT ANY WARRANTY; without even the implied warranty of
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder GNU General Public License for more details.
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder You should have received a copy of the GNU General Public License
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder along with this program. If not, see <http://www.gnu.org/licenses/>.
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder/* Attributes in sysdb, used for caching last values of lockout or filter
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder * access control checks.
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder#define SYSDB_LDAP_ACCESS_FILTER "ldap_access_filter_allow"
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder#define SYSDB_LDAP_ACCESS_CACHED_LOCKOUT "ldap_access_lockout_allow"
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder/* names of ppolicy attributes */
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder#define SYSDB_LDAP_ACCESS_LOCKED_TIME "pwdAccountLockedTime"
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder#define SYSDB_LDAP_ACESS_LOCKOUT_DURATION "pwdLockoutDuration"
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder#define SYSDB_LDAP_ACCESS_LOCKOUT "pwdLockout"
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder#define LDAP_ACCESS_EXPIRE_POLICY_REJECT_NAME "pwd_expire_policy_reject"
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder#define LDAP_ACCESS_EXPIRE_POLICY_WARN_NAME "pwd_expire_policy_warn"
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder#define LDAP_ACCESS_EXPIRE_POLICY_RENEW_NAME "pwd_expire_policy_renew"
f0cb315452faea6fee8144489629e63e9bd7b303Christian Maeder#define LDAP_ACCESS_SERVICE_NAME "authorized_service"
struct tevent_req *
struct tevent_req *