Home
last modified time | relevance | path

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

/titanic_50/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_fetch_mkey.c55 if (ldap_context == NULL || ldap_context->lrparams == NULL)
58 *key = &ldap_context->lrparams->mkey;
83 if (ldap_context == NULL || ldap_context->lrparams == NULL)
86 r_params = ldap_context->lrparams;
H A Dkdb_ldap.c123 …=krb5_ldap_read_realm_params(context, context->default_realm, &(ldap_context->lrparams), &mask))) { in krb5_ldap_read_startup_information()
138 ldap_context->lrparams->max_life = 24 * 60 * 60; /* 1 day */ in krb5_ldap_read_startup_information()
141 ldap_context->lrparams->max_renewable_life = 0; in krb5_ldap_read_startup_information()
144 ldap_context->lrparams->tktflags = KRB5_KDB_DEF_FLAGS; in krb5_ldap_read_startup_information()
152 ldap_context->lrparams->max_life = params_out.max_life; in krb5_ldap_read_startup_information()
157 ldap_context->lrparams->max_renewable_life = params_out.max_rlife; in krb5_ldap_read_startup_information()
162 ldap_context->lrparams->tktflags = params_out.flags; in krb5_ldap_read_startup_information()
H A Dldap_principal2.c139 LDAP_SEARCH(subtree[tree], ldap_context->lrparams->search_scope, filter, principal_attributes);
484 if (ldap_context->lrparams == NULL || ldap_context->krbcontainer == NULL)
555 …LDAP_SEARCH_1(subtreelist[tree], ldap_context->lrparams->search_scope, filter, principal_attribute…
624 subtree = strdup(ldap_context->lrparams->realmdn);
636 …} else if (ldap_context->lrparams->containerref && strlen(ldap_context->lrparams->containerref) !=…
641 subtree = strdup(ldap_context->lrparams->containerref);
643 subtree = strdup(ldap_context->lrparams->realmdn);
1227 else if (ldap_context->lrparams->max_life)
1228 entries->max_life = ldap_context->lrparams->max_life;
1234 else if (ldap_context->lrparams->max_renewable_life)
[all …]
H A Dldap_misc.c457 defrealmlen = strlen(ldap_context->lrparams->realm_name);
458 defrealm = ldap_context->lrparams->realm_name;
521 containerref = ldap_context->lrparams->containerref;
522 subtree = ldap_context->lrparams->subtree;
523 realm_cont_dn = ldap_context->lrparams->realmdn;
524 subtreecount = ldap_context->lrparams->subtreecount;
525 search_scope = ldap_context->lrparams->search_scope;
1773 if (ldap_context->lrparams->realmdn == NULL) {
1778 len1 = strlen (ldap_context->lrparams->realmdn);
1785 if (strcmp (ldap_context->lrparams->realmdn, policy_dn + (len2 - len1)) != 0) {
[all …]
H A Dkdb_ldap_conn.c423 krb5_ldap_free_realm_params(ldap_context->lrparams); in krb5_ldap_free_ldap_context()
424 ldap_context->lrparams = NULL; in krb5_ldap_free_ldap_context()
H A Dldap_pwd_policy.c400 if (ldap_context->lrparams->realmdn == NULL) {
405 …LDAP_SEARCH(ldap_context->lrparams->realmdn, LDAP_SCOPE_ONELEVEL, "(objectclass=krbpwdpolicy)", pa…
H A Dldap_principal.c176 realm = ldap_context->lrparams->realm_name;
206 LDAP_SEARCH(subtree[tree], ldap_context->lrparams->search_scope, filter, principal_attributes);
H A Dkdb_ldap.h238 krb5_ldap_realm_params *lrparams; member
H A Dldap_create.c335 &(ldap_context->lrparams), in krb5_ldap_create()
H A Dldap_realm.c300 lcontext.lrparams = rparam;
347 if ((st = krb5_ldap_list_policy (context, ldap_context->lrparams->realmdn, &policy)) != 0) {
357 if ((st=ldap_delete_ext_s(ld, ldap_context->lrparams->realmdn, NULL, NULL)) != LDAP_SUCCESS) {
H A Dldap_tkt_policy.c363 policycontainerdn = ldap_context->lrparams->realmdn;
H A Dldap_service_rights.c320 subtreecount=ldap_context->lrparams->subtreecount;
/titanic_50/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_realm.c624 &(ldap_context->lrparams),
631 ldap_context->lrparams->realm_name = strdup(global_params.realm);
632 if (ldap_context->lrparams->realm_name == NULL) {
675 ldap_context->lrparams->mkey = master_keyblock;
676 ldap_context->lrparams->mkey.contents = (krb5_octet *) malloc
678 if (ldap_context->lrparams->mkey.contents == NULL) {
682 memcpy (ldap_context->lrparams->mkey.contents, master_keyblock.contents,
703 if (ldap_context->lrparams->containerref != NULL) {
704 oldcontainerref = ldap_context->lrparams->containerref;
705 ldap_context->lrparams->containerref = NULL;
[all …]
H A Dkdb5_ldap_policy.c84 if (ldap_context->lrparams == NULL) { in init_ldap_realm()
87 &(ldap_context->lrparams), in init_ldap_realm()