Searched refs:lrealm (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | def_realm.c | 129 krb5_get_default_realm(krb5_context context, char **lrealm) in krb5_get_default_realm() argument 242 if (!(*lrealm = cp = malloc((unsigned int) strlen(realm) + 1))) in krb5_get_default_realm() 249 krb5_set_default_realm(krb5_context context, const char *lrealm) in krb5_set_default_realm() argument 261 if (!lrealm) return 0; in krb5_set_default_realm() 263 context->default_realm = malloc(strlen (lrealm) + 1); in krb5_set_default_realm() 268 strcpy(context->default_realm, lrealm); in krb5_set_default_realm() 275 krb5_free_default_realm(krb5_context context, char *lrealm) in krb5_free_default_realm() argument 277 free (lrealm); in krb5_free_default_realm()
|
/titanic_44/usr/src/lib/krb5/kadm5/ |
H A D | alt_prof.c | 417 char *lrealm; local 440 lrealm = params.realm = strdup(params_in->realm); 444 kret = krb5_get_default_realm(context, &lrealm); 447 params.realm = lrealm; 471 hierarchy[1] = lrealm; 478 dns_realm.data = strdup(lrealm); 479 dns_realm.length = strlen(lrealm); 1136 char *lrealm; local 1157 lrealm = strdup(realm); 1159 kret = krb5_get_default_realm(kcontext, &lrealm); [all …]
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | rd_req_dec.c | 235 char * lrealm; in krb5_rd_req_decoded_opt() local 246 krb5_get_default_realm(context, &lrealm); in krb5_rd_req_decoded_opt() 248 strlen(lrealm) != realm->length || in krb5_rd_req_decoded_opt() 249 memcmp(lrealm, realm->data, strlen(lrealm))) { in krb5_rd_req_decoded_opt() 252 free(lrealm); in krb5_rd_req_decoded_opt()
|
/titanic_44/usr/src/cmd/krb5/krb5kdc/ |
H A D | main.c | 455 char *lrealm = NULL; local 639 if ((retval = krb5_get_default_realm(kcontext, &lrealm))) { 650 if ((retval = init_realm(kcontext, argv[0], rdatap, lrealm, 654 com_err(argv[0], retval, gettext("while initializing realm %s"), lrealm); 660 if (lrealm) 661 free(lrealm);
|
/titanic_44/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_realm.c | 255 krb5_ldap_delete_realm (context, lrealm) in krb5_ldap_delete_realm() argument 257 char *lrealm; 273 if (lrealm == NULL) { 279 if ((st=krb5_ldap_read_realm_params(context, lrealm, &rparam, &mask)) != 0) 290 realm = ldap_filter_correct (lrealm); 328 if (principal_in_realm_2(principal, lrealm) == 0) { 1193 krb5_ldap_read_realm_params(context, lrealm, rlparamp, mask) in krb5_ldap_read_realm_params() argument 1195 char *lrealm; 1215 if (lrealm == NULL || 1253 rlparams->realmdn = (char *) malloc(strlen("cn=") + strlen(lrealm) + strlen(krbcontDN) + 2); [all …]
|