Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_pwd_policy.c62 char **rdns=NULL, *strval[2]={NULL}, *policy_dn; local
74 st = krb5_ldap_name_to_policydn (context, policy->name, &policy_dn);
79 rdns = ldap_explode_dn(policy_dn, 1);
107 if ((st=ldap_add_ext_s(ld, policy_dn, mods, NULL, NULL)) != LDAP_SUCCESS) {
116 if (policy_dn != NULL)
117 free (policy_dn);
132 char *policy_dn; local
150 st = krb5_ldap_name_to_policydn (context, policy->name, &policy_dn);
172 if ((st=ldap_modify_ext_s(ld, policy_dn, mods, NULL, NULL)) != LDAP_SUCCESS) {
178 if (policy_dn != NULL)
[all …]
H A Dldap_tkt_policy.c50 char *strval[3]={NULL}, *policy_dn = NULL; local
66 if ((st = krb5_ldap_name_to_policydn (context, policy->policy, &policy_dn)) != 0)
99 if ((st=ldap_add_ext_s(ld, policy_dn, mods, NULL, NULL)) != LDAP_SUCCESS) {
105 if (policy_dn != NULL)
106 free(policy_dn);
128 char *policy_dn = NULL; local
144 if ((st = krb5_ldap_name_to_policydn (context, policy->policy, &policy_dn)) != 0)
148 st = checkattributevalue(ld, policy_dn, "objectClass", attrvalues, &objectmask);
176 if ((st=ldap_modify_ext_s(ld, policy_dn, mods, NULL, NULL)) != LDAP_SUCCESS) {
182 if (policy_dn != NULL)
[all …]
H A Dprinc_xdr.c215 krb5_update_tl_kadm_data(policy_dn, new_tl_data, old_tl_data) in krb5_update_tl_kadm_data() argument
216 char * policy_dn; in krb5_update_tl_kadm_data()
248 princ_entry->policy = policy_dn;
H A Dldap_misc.c1761 krb5_error_code krb5_ldap_policydn_to_name (context, policy_dn, name) in krb5_ldap_policydn_to_name() argument
1763 char *policy_dn;
1779 len2 = strlen (policy_dn);
1785 if (strcmp (ldap_context->lrparams->realmdn, policy_dn + (len2 - len1)) != 0) {
1794 rdn = strndup(policy_dn, len2 - len1 - 1); /* 1 character for ',' */
1817 parsed_dn = ldap_explode_dn(policy_dn, 1);
1836 krb5_error_code krb5_ldap_name_to_policydn (context, name, policy_dn) in krb5_ldap_name_to_policydn() argument
1839 char **policy_dn;
1847 *policy_dn = NULL;
1857 if ((*policy_dn = strdup ("")) == NULL)
[all …]