HomeSort by: relevance | last modified time | path
    Searched refs:ccache (Results 1 - 25 of 170) sorted by relevancy

1 2 3 4 5 6 7

  /src/crypto/external/bsd/heimdal/dist/kcm/
acquire.c 44 kcm_ccache ccache,
58 KCM_ASSERT_VALID(ccache);
61 if (ccache->flags & KCM_FLAGS_USE_CACHED_KEY) {
62 if (ccache->key.keyblock.keyvalue.length == 0)
65 } else if (ccache->flags & KCM_FLAGS_USE_KEYTAB) {
66 if (ccache->key.keytab == NULL)
71 ccache->name);
75 HEIMDAL_MUTEX_lock(&ccache->mutex);
77 /* Fake up an internal ccache */
78 kcm_internal_ccache(context, ccache, &ccdata)
    [all...]
acl.c 43 kcm_ccache ccache)
50 KCM_ASSERT_VALID(ccache);
88 if (ccache->flags & KCM_FLAGS_OWNER_IS_SYSTEM) {
116 if (kcm_is_same_session(client, ccache->uid, ccache->session)) {
123 if (client->uid == ccache->uid) {
130 if (client->gid == ccache->gid) {
137 ret = (ccache->mode & mask) ? 0 : KRB5_FCC_PERM;
142 client->pid, kcm_op2string(opcode), ccache->name);
151 kcm_ccache ccache,
    [all...]
renew.c 41 kcm_ccache ccache,
53 KCM_ASSERT_VALID(ccache);
55 if (ccache->client == NULL) {
61 HEIMDAL_MUTEX_lock(&ccache->mutex);
63 /* Fake up an internal ccache */
64 kcm_internal_ccache(context, ccache, &ccdata);
67 in.client = ccache->client;
69 if (ccache->server != NULL) {
70 ret = krb5_copy_principal(context, ccache->server, &in.server);
91 if (ccache->tkt_life
    [all...]
client.c 45 kcm_ccache *ccache)
50 ret = kcm_ccache_resolve(context, name, ccache);
58 ret = kcm_access(context, client, opcode, *ccache);
61 kcm_release_ccache(context, *ccache);
73 kcm_ccache ccache; local
76 ret = kcm_ccache_resolve(context, name, &ccache);
84 ret = kcm_access(context, client, KCM_OP_DESTROY, ccache);
85 kcm_cleanup_events(context, ccache);
86 kcm_release_ccache(context, ccache);
100 kcm_ccache ccache; local
    [all...]
config.c 158 static int parse_owners(kcm_ccache ccache)
205 ccache->uid = uid;
207 ccache->uid = 0; /* geteuid() XXX */
210 ccache->gid = gid;
212 ccache->gid = 0; /* getegid() XXX */
227 kcm_ccache ccache; local
235 &ccache);
239 ccache->flags |= KCM_FLAGS_OWNER_IS_SYSTEM;
240 ccache->flags |= KCM_FLAGS_USE_KEYTAB;
242 ret = parse_owners(ccache);
    [all...]
events.c 86 event->ccache->name);
114 kcm_retain_ccache(context, event->ccache);
115 (*e)->ccache = event->ccache;
166 kcm_release_ccache(context, (*e)->ccache);
177 kcm_ccache ccache,
182 if (ccache->client == NULL)
186 !krb5_principal_compare(context, ccache->client, newcred->client))
190 if (ccache->creds == NULL)
197 return krb5_compare_creds(context, whichfields, newcred, &ccache->creds->cred)
209 kcm_ccache ccache = event->ccache; local
    [all...]
cache.c 63 kcm_ccache *ccache)
68 *ccache = NULL;
85 *ccache = p;
96 kcm_ccache *ccache)
101 *ccache = NULL;
118 *ccache = p;
234 kcm_ccache *p, ccache; local
256 ccache = *p;
258 kcm_free_ccache_data_internal(context, ccache);
259 free(ccache);
    [all...]
protocol.c 84 kcm_ccache ccache; local
93 name, &ccache);
99 ret = krb5_store_stringz(response, ccache->name);
101 kcm_release_ccache(context, ccache);
107 kcm_release_ccache(context, ccache);
155 kcm_ccache ccache; local
175 ret = kcm_ccache_new_client(context, client, name, &ccache);
182 ccache->client = principal;
197 event.ccache = ccache;
256 kcm_ccache ccache; local
315 kcm_ccache ccache; local
404 kcm_ccache ccache; local
448 kcm_ccache ccache; local
493 kcm_ccache ccache; local
552 kcm_ccache ccache; local
609 kcm_ccache ccache; local
657 kcm_ccache ccache; local
710 kcm_ccache ccache; local
763 kcm_ccache ccache; local
855 kcm_ccache ccache; local
1168 kcm_ccache ccache; local
1199 kcm_ccache ccache; local
    [all...]
  /src/lib/libtelnet/
forward.c 36 /* Decode, decrypt and store the forwarded creds in the local ccache. */
47 krb5_ccache ccache = NULL; local
55 if ((retval = krb5_cc_resolve(context, ccname, &ccache)) != 0)
58 if ((retval = krb5_cc_initialize(context, ccache, ticket->enc_part2->client)) != 0)
61 if ((retval = krb5_cc_store_cred(context, ccache, *creds)) != 0)
  /src/crypto/external/bsd/heimdal/dist/kuser/
kdestroy.c 77 krb5_ccache ccache; local
113 while (krb5_cccol_cursor_next (context, cursor, &ccache) == 0 && ccache != NULL) {
115 ret = krb5_cc_destroy (context, ccache);
125 ret = krb5_cc_default(context, &ccache);
131 &ccache);
147 ret = krb5_cc_remove_cred(context, ccache, 0, &mcred);
152 krb5_cc_close(context, ccache);
158 ret = krb5_cc_destroy (context, ccache);
  /src/crypto/external/bsd/openssh/dist/
gss-serv-krb5.c 117 krb5_ccache ccache; local
133 NULL, &ccache)) != 0) {
145 krb5_cc_destroy(krb_context, ccache);
149 if ((problem = krb5_cc_initialize(krb_context, ccache, princ))) {
154 krb5_cc_destroy(krb_context, ccache);
161 client->creds, ccache))) {
163 krb5_cc_destroy(krb_context, ccache);
167 client->store.filename = xstrdup(krb5_cc_get_name(krb_context, ccache));
178 krb5_cc_close(krb_context, ccache);
auth-krb5.c 173 krb5_ccache ccache = NULL; local
182 problem = krb5_cc_new_unique(authctxt->krb5_ctx, "FILE", NULL, &ccache);
186 problem = krb5_cc_initialize(authctxt->krb5_ctx, ccache,
192 ccache, tgt);
196 authctxt->krb5_fwd_ccache = ccache;
197 ccache = NULL;
225 if (ccache)
226 krb5_cc_destroy(authctxt->krb5_ctx, ccache);
238 krb5_ccache ccache = NULL; local
253 krb5_mcc_ops.prefix, NULL, &ccache);
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
release_cred.c 63 if (cred->ccache != NULL) {
65 krb5_cc_destroy(context, cred->ccache);
67 krb5_cc_close(context, cred->ccache);
acquire_cred.c 86 * This function produces a cred with a MEMORY ccache containing a TGT
101 krb5_ccache ccache = NULL; local
154 kret = krb5_cc_new_unique(context, krb5_cc_type_memory, NULL, &ccache);
158 kret = krb5_cc_initialize(context, ccache, cred.client);
162 kret = krb5_cc_store_cred(context, ccache, &cred);
168 ret = __gsskrb5_ccache_lifetime(minor_status, context, ccache,
173 handle->ccache = ccache;
174 ccache = NULL;
179 if (ccache != NULL
204 krb5_ccache ccache = NULL; \/* we may store into this ccache *\/ local
    [all...]
inquire_cred_by_oid.c 58 if (cred->ccache == NULL) {
64 ret = krb5_cc_get_full_name(context, cred->ccache, &str);
  /src/lib/libpam/modules/pam_afslog/
pam_afslog.c 56 krb5_ccache ccache; local
74 kret = krb5_cc_resolve(ctx, ccname, &ccache);
76 kret = krb5_cc_default(ctx, &ccache);
78 PAM_LOG("Error: failed to open ccache");
81 kret = krb5_cc_get_principal(ctx, ccache, &principal);
104 krb5_afslog(ctx, ccache,
117 krb5_cc_close(ctx, ccache);
  /src/usr.bin/login/
k5login.c 123 k5_verify_creds(krb5_context c, krb5_ccache ccache)
156 0, ccache, &packet);
238 krb5_ccache ccache; local
244 kerror = krb5_cc_default(kcontext, &ccache);
246 krb5_warn(kcontext, kerror, "while getting default ccache");
270 kerror = krb5_cc_retrieve_cred(kcontext, ccache, 0,
286 krb5_cc_destroy(kcontext, ccache);
294 krb5_ccache ccache; local
299 kerror = krb5_cc_default(kcontext, &ccache);
301 krb5_warn(kcontext, kerror, "while getting default ccache");
335 krb5_ccache ccache = NULL; local
447 krb5_ccache ccache = NULL; local
    [all...]
  /src/crypto/external/bsd/heimdal/dist/lib/kadm5/
client_glue.c 118 krb5_ccache ccache,
126 ccache,
137 krb5_ccache ccache,
146 ccache,
server_glue.c 118 krb5_ccache ccache,
126 ccache,
137 krb5_ccache ccache,
146 ccache,
  /src/crypto/external/bsd/heimdal/dist/lib/krb5/
verify_init.c 80 krb5_ccache *ccache,
120 if (ccache && *ccache)
121 local_ccache = *ccache;
195 (ccache == NULL
196 || (ret != 0 && *ccache == NULL)))
199 if (ret == 0 && ccache != NULL && *ccache == NULL)
200 *ccache = local_ccache;
211 * @param ccache the credential cache to us
    [all...]
mk_req.c 44 krb5_ccache ccache,
52 ret = krb5_cc_get_principal(context, ccache, &this_cred.client);
67 ret = krb5_get_credentials (context, 0, ccache, &this_cred, &cred);
89 krb5_ccache ccache,
113 server, in_data, ccache, outbuf);
sendauth.c 72 * @param client Client principal. If NULL, use the credentials in \a ccache.
77 * @param ccache Credentials cache. If NULL, use the default credentials cache.
98 krb5_ccache ccache,
148 if (ccache == NULL) {
149 ret = krb5_cc_default (context, &ccache);
156 ret = krb5_cc_get_principal (context, ccache, &this_client);
159 krb5_cc_close(context, ccache);
172 ret = krb5_get_credentials (context, 0, ccache, in_creds, &creds);
175 krb5_cc_close(context, ccache);
182 krb5_cc_close(context, ccache);
    [all...]
verify_user.c 41 krb5_ccache ccache,
69 if(ccache == NULL)
72 id = ccache;
78 if(ccache == NULL)
90 * As a side effect, fresh tickets are obtained and stored in `ccache'.
118 krb5_verify_opt_set_ccache(krb5_verify_opt *opt, krb5_ccache ccache)
120 opt->ccache = ccache;
177 return verify_common (context, principal, OPT(ccache, NULL),
220 krb5_ccache ccache,
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/nsupdate/krb/
setup.sh 103 kinit -V -k -t krb5-machine.keytab -l ${lifetime}d -c krb5-machine.ccache host/machine.example.com@EXAMPLE.COM
104 kinit -V -k -t ms-machine.keytab -l ${lifetime}d -c ms-machine.ccache 'machine$@EXAMPLE.COM'
111 cp krb5-machine.ccache ../ns7/machine.ccache
112 cp krb5-machine.ccache ../ns8/machine.ccache
113 cp ms-machine.ccache ../ns9/machine.ccache
114 cp ms-machine.ccache ../ns10/machine.ccache
    [all...]
  /src/external/mpl/dhcp/dist/server/
ldap_krb_helper.c 72 check_credentials(krb5_context context, krb5_ccache ccache, krb5_principal service)
94 krberr = krb5_cc_retrieve_cred(context, ccache, 0, &mcreds, &creds);
136 krb5_ccache ccache = NULL; local
160 log_info("Using ccache %s\n" , ccname);
169 krberr = krb5_cc_resolve(context, ccname, &ccache);
170 CHECK_KRB5(context, krberr, "Couldnt resolve ccache '%s'", ccname);
175 result = check_credentials(context, ccache, kprincpw);
201 krberr = krb5_cc_initialize(context, ccache, kprincpw);
202 CHECK_KRB5(context, krberr, "Failed to init ccache\n");
204 krberr = krb5_cc_store_cred(context, ccache, &my_creds)
    [all...]

Completed in 20 milliseconds

1 2 3 4 5 6 7