Home
last modified time | relevance | path

Searched refs:lpolicy (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_tkt_policy.c209 krb5_ldap_policy_params *lpolicy=NULL; local
232 lpolicy =(krb5_ldap_policy_params *) malloc(sizeof(krb5_ldap_policy_params));
233 CHECK_NULL(lpolicy);
234 memset(lpolicy, 0, sizeof(krb5_ldap_policy_params));
236 if ((lpolicy->policy = strdup (policyname)) == NULL) {
241 lpolicy->tl_data = calloc (1, sizeof(*lpolicy->tl_data));
242 CHECK_NULL(lpolicy->tl_data);
243 lpolicy->tl_data->tl_data_type = KDB_TL_USER_INFO;
251 if (krb5_ldap_get_value(ld, ent, "krbmaxticketlife", (int *) &(lpolicy->maxtktlife)) == 0)
254 if (krb5_ldap_get_value(ld, ent, "krbmaxrenewableage", (int *) &(lpolicy->maxrenewlife)) == 0)
[all …]