Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/krb5/kadmin/cli/
H A Dk5srvutil.sh68 princs=`list_princs `
69 for princ in $princs; do
78 princs=`list_princs `
79 for princ in $princs; do
89 princs=`list_princs `
90 for princ in $princs; do
H A Dkeytab.c136 char *keytab_str = NULL, **princs; in kadmin_keytab_add() local
190 code = kadm5_get_principals(handle, *argv, &princs, &num); in kadmin_keytab_add()
203 princs[i]); in kadmin_keytab_add()
204 kadm5_free_name_list(handle, princs, num); in kadmin_keytab_add()
/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_iters.c203 char ***princs, in kadm5_get_either() argument
270 *princs = data.names; in kadm5_get_either()
277 char ***princs, in kadm5_get_principals() argument
280 return kadm5_get_either(1, server_handle, exp, princs, count); in kadm5_get_principals()
/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_srv.c173 krb5_principal *princs = NULL; in verify_client_san() local
182 &princs, in verify_client_san()
192 retval = call_san_checking_plugins(context, plgctx, reqctx, princs, in verify_client_san()
212 for (i = 0; princs != NULL && princs[i] != NULL; i++) { in verify_client_san()
214 krb5_unparse_name(context, princs[i], &san_string); in verify_client_san()
219 if (krb5_principal_compare(context, princs[i], client)) { in verify_client_san()
257 if (princs != NULL || upns != NULL) { in verify_client_san()
266 if (princs != NULL) { in verify_client_san()
267 for (i = 0; princs[i] != NULL; i++) in verify_client_san()
268 krb5_free_principal(context, princs[i]); in verify_client_san()
[all …]
H A Dpkinit_clnt.c547 krb5_principal *princs = NULL; local
570 &princs, NULL, get_dns);
578 princs, hosts, &plugin_decision,
596 for (i = 0; princs != NULL && princs[i] != NULL; i++) {
597 if (krb5_principal_compare(context, princs[i], kdcprinc)) {
632 if (princs != NULL) {
633 for (i = 0; princs[i] != NULL; i++)
634 krb5_free_principal(context, princs[i]);
635 free(princs);
H A Dpkinit_crypto_openssl.c1822 krb5_principal *princs = NULL; in crypto_retrieve_X509_sans() local
1860 princs = calloc(num_sans + 1, sizeof(krb5_principal)); in crypto_retrieve_X509_sans()
1861 if (princs == NULL) { in crypto_retrieve_X509_sans()
1889 if (princs != NULL in crypto_retrieve_X509_sans()
1896 ret = k5int_decode_krb5_principal_name(&name, &princs[p]); in crypto_retrieve_X509_sans()
1946 if (princs) in crypto_retrieve_X509_sans()
1947 *princs_ret = princs; in crypto_retrieve_X509_sans()
1955 if (princs != NULL) { in crypto_retrieve_X509_sans()
1956 for (i = 0; princs[i] != NULL; i++) in crypto_retrieve_X509_sans()
1957 krb5_free_principal(context, princs[i]); in crypto_retrieve_X509_sans()
[all …]
/titanic_41/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_principal.c288 char *exp, char ***princs, int *count) in kadm5_get_principals() argument
296 if(princs == NULL || count == NULL) in kadm5_get_principals()
305 *princs = r->princs; in kadm5_get_principals()
308 *princs = NULL; in kadm5_get_principals()
/titanic_41/usr/src/cmd/krb5/kadmin/gui/native/
H A DKadmin.c358 char **princs; in Java_Kadmin_getPrincipalList() local
365 ret = kadm5_get_principals(server_handle, NULL, &princs, &count); in Java_Kadmin_getPrincipalList()
370 qsort(princs, count, sizeof (princs[0]), charcmp); in Java_Kadmin_getPrincipalList()
386 s = (*env)->NewStringUTF(env, princs[i]); in Java_Kadmin_getPrincipalList()
393 kadm5_free_name_list(server_handle, princs, count); in Java_Kadmin_getPrincipalList()
407 char **princs; in Java_Kadmin_getPrincipalList2() local
415 ret = kadm5_get_principals(server_handle, NULL, &princs, &count); in Java_Kadmin_getPrincipalList2()
420 qsort(princs, count, sizeof (princs[0]), charcmp); in Java_Kadmin_getPrincipalList2()
430 n = strlen(princs[i]); in Java_Kadmin_getPrincipalList2()
436 strncpy(&princlist[used], princs[i], n); in Java_Kadmin_getPrincipalList2()
[all …]
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ksetpwd.c305 krb5_principal *princs, int count, char *fname, krb5_kvno kvno, in smb_krb5_kt_populate() argument
334 if (smb_krb5_kt_addkey(ctx, kt, princs[j], enctypes[i], in smb_krb5_kt_populate()
/titanic_41/usr/src/lib/krb5/kadm5/
H A Dadmin.h576 char *exp, char ***princs,
792 char *exp, char ***princs,
H A Dkadm_rpc.h79 char **princs; member
H A Dkadm_rpc_xdr.c650 if (!xdr_array(xdrs, (caddr_t *) &objp->princs, in xdr_gprincs_ret()
/titanic_41/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c1115 arg->exp, &ret.princs, in get_princs_2_svc()