Lines Matching defs:pol

1099  *	pol		(r) adb's policy
1110 * is pol->pw_history_num items long. adb->old_key_len holds the
1112 * pol->pw_history_num). adb->old_key_next is the index into the
1119 kadm5_policy_ent_t pol,
1126 nhist = pol->pw_history_num;
1167 * M = adb->old_key_len, N = pol->pw_history_num - 1
1343 kadm5_policy_ent_rec pol;
1378 if ((ret = kadm5_get_policy(handle->lhandle, adb.policy, &pol)))
1384 KADM5_POLICY, &pol, principal)))
1416 if ((now - last_pwd) < pol.pw_min_life &&
1437 if (pol.pw_history_num > 1) {
1451 ret = add_to_history(handle->context, &adb, &pol, &hist);
1457 if (pol.pw_max_life)
1458 kdb.pw_expiration = now + pol.pw_max_life;
1524 if (have_pol && (ret2 = kadm5_free_policy_ent(handle->lhandle, &pol))
1567 kadm5_policy_ent_rec pol;
1605 &pol)) != KADM5_OK)
1621 if((now - last_pwd) < pol.pw_min_life &&
1628 if(pol.pw_history_num > 1) {
1642 if (pol.pw_max_life)
1643 kdb.pw_expiration = now + pol.pw_max_life;
1688 kadm5_free_policy_ent(handle->lhandle, &pol);
1709 kadm5_policy_ent_rec pol;
1792 &pol)) != KADM5_OK)
1806 if((now - last_pwd) < pol.pw_min_life &&
1816 if(pol.pw_history_num > 1) {
1830 if (pol.pw_max_life)
1831 kdb.pw_expiration = now + pol.pw_max_life;
1856 kadm5_free_policy_ent(handle->lhandle, &pol);
1885 kadm5_policy_ent_rec pol;
2023 &pol)) != KADM5_OK)
2037 if((now - last_pwd) < pol.pw_min_life &&
2047 if (pol.pw_history_num > 1) {
2062 if (pol.pw_max_life)
2063 kdb.pw_expiration = now + pol.pw_max_life;
2080 kadm5_free_policy_ent(handle->lhandle, &pol);
2208 kadm5_policy_ent_rec pol;
2225 princ.policy, &pol)) != KADM5_OK) {
2229 if((now - princ.last_pwd_change) < pol.pw_min_life &&
2235 until = princ.last_pwd_change + pol.pw_min_life;
2249 (void) kadm5_free_policy_ent(handle->lhandle, &pol);
2254 ret = kadm5_free_policy_ent(handle->lhandle, &pol);