/titanic_50/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_krb.c | 69 krb5_creds my_creds; in smb_kinit() local 78 (void) memset(&my_creds, 0, sizeof (my_creds)); in smb_kinit() 114 code = krb5_get_init_creds_password(ctx, &my_creds, me, in smb_kinit() 135 code = krb5_cc_store_cred(ctx, cc, &my_creds); in smb_kinit() 153 if (my_creds.client == me) { in smb_kinit() 154 my_creds.client = NULL; in smb_kinit() 156 krb5_free_cred_contents(ctx, &my_creds); in smb_kinit()
|
/titanic_50/usr/src/lib/pam_modules/krb5/ |
H A D | krb5_authenticate.c | 509 krb5_creds *my_creds; in attempt_krb5_auth() local 560 my_creds = &kmd->initcreds; in attempt_krb5_auth() 563 krb5_copy_principal(kmd->kcontext, me, &my_creds->client))) { in attempt_krb5_auth() 567 clientp = my_creds->client; in attempt_krb5_auth() 584 &my_creds->server)) { in attempt_krb5_auth() 588 serverp = my_creds->server; in attempt_krb5_auth() 645 my_creds->times.starttime = 0; in attempt_krb5_auth() 646 my_creds->times.endtime = now + lifetime; in attempt_krb5_auth() 649 my_creds->times.renew_till = now + rlife; in attempt_krb5_auth() 651 my_creds->times.renew_till = 0; in attempt_krb5_auth() [all …]
|
H A D | krb5_setcred.c | 373 #define my_creds (kmd->initcreds) in krb5_renew_tgt() macro 430 kmd->ccache, &my_creds)) != 0) { in krb5_renew_tgt() 562 endtime = my_creds.times.endtime; in krb5_renew_tgt()
|
/titanic_50/usr/src/cmd/krb5/slave/ |
H A D | kprop.c | 111 krb5_creds *my_creds; local 146 &my_creds); 147 xmit_database(context, auth_context, my_creds, fd, database_fd, 151 krb5_free_cred_contents(context, my_creds); 630 xmit_database(context, auth_context, my_creds, fd, database_fd, in xmit_database() argument 634 krb5_creds *my_creds; 659 send_error(context, my_creds, fd, gettext("while encoding database size"), retval); 675 send_error(context, my_creds, fd, 695 send_error(context, my_creds, fd, buf, retval); 714 send_error(context, my_creds, fd,gettext("Premature EOF found for database file!"), [all …]
|
/titanic_50/usr/src/cmd/krb5/kinit/ |
H A D | kinit.c | 861 krb5_creds my_creds; local 874 memset(&my_creds, 0, sizeof(my_creds)); 1013 code = krb5_get_init_creds_password(k5->ctx, &my_creds, k5->me, 1020 code = krb5_get_init_creds_keytab(k5->ctx, &my_creds, k5->me, 1027 code = krb5_get_validated_creds(k5->ctx, &my_creds, k5->me, k5->cc, 1031 code = krb5_get_renewed_creds(k5->ctx, &my_creds, k5->me, k5->cc, 1068 opts->lifetime = my_creds.times.endtime - my_creds.times.authtime; 1078 code = krb5_cc_store_cred(k5->ctx, k5->cc, &my_creds); 1086 _kwarnd_add_warning(progname, opts->principal_name, my_creds.times.endtime); 1088 _kwarnd_add_warning(progname, opts->principal_name, my_creds.times.endtime); [all …]
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | init_sec_context.c | 1391 krb5_creds my_creds; in load_root_cred_using_keytab() local 1412 memset((char *)&my_creds, 0, sizeof(my_creds)); in load_root_cred_using_keytab() 1463 my_creds.client = me; in load_root_cred_using_keytab() 1473 krb5_free_cred_contents(context, &my_creds); in load_root_cred_using_keytab() 1479 my_creds.server = server; in load_root_cred_using_keytab() 1480 my_creds.times.starttime = 0; /* start timer in load_root_cred_using_keytab() 1486 krb5_free_cred_contents(context, &my_creds); in load_root_cred_using_keytab() 1491 my_creds.times.endtime = now + lifetime; in load_root_cred_using_keytab() 1492 my_creds.times.renew_till = 0; in load_root_cred_using_keytab() 1501 krb5_free_cred_contents(context, &my_creds); in load_root_cred_using_keytab() [all …]
|
/titanic_50/usr/src/cmd/krb5/kwarn/ |
H A D | kwarnd_proc.c | 737 krb5_creds my_creds; in renew_creds() local 757 (void) memset(&my_creds, 0, sizeof (my_creds)); in renew_creds() 780 if ((code = krb5_get_renewed_creds(k5.ctx, &my_creds, k5.me, k5.cc, in renew_creds() 792 if (code = krb5_cc_store_cred(k5.ctx, k5.cc, &my_creds)) { in renew_creds() 798 *new_exp_time = my_creds.times.endtime; in renew_creds() 801 krb5_free_cred_contents(k5.ctx, &my_creds); in renew_creds()
|