Home
last modified time | relevance | path

Searched refs:s_name (Results 1 – 25 of 60) sorted by relevance

123

/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dgc_via_tkt.c272 char *s_name; in krb5_get_cred_via_tkt() local
273 if (krb5_unparse_name(context, in_cred->server, &s_name) == in krb5_get_cred_via_tkt()
279 s_name); in krb5_get_cred_via_tkt()
280 krb5_free_unparsed_name(context, s_name); in krb5_get_cred_via_tkt()
291 char *s_name = NULL; in krb5_get_cred_via_tkt() local
306 serr = krb5_unparse_name(context, in_cred->server, &s_name); in krb5_get_cred_via_tkt()
312 serr == 0 ? s_name : "unknown", in krb5_get_cred_via_tkt()
320 if (s_name) in krb5_get_cred_via_tkt()
321 krb5_free_unparsed_name(context, s_name); in krb5_get_cred_via_tkt()
329 char *s_name = NULL; in krb5_get_cred_via_tkt() local
[all …]
H A Drd_req_dec.c103 char *s_name = NULL; in krb5_rd_req_decrypt_tkt_part() local
104 int kret = krb5_unparse_name(context, princ, &s_name); in krb5_rd_req_decrypt_tkt_part()
109 s_name, in krb5_rd_req_decrypt_tkt_part()
112 krb5_free_unparsed_name(context, s_name); in krb5_rd_req_decrypt_tkt_part()
314 char *s_name = NULL; in krb5_rd_req_decoded_opt() local
317 serr = krb5_unparse_name(context, req->ticket->server, &s_name); in krb5_rd_req_decoded_opt()
324 serr == 0 ? s_name : "unknown", in krb5_rd_req_decoded_opt()
327 if (s_name) in krb5_rd_req_decoded_opt()
328 krb5_free_unparsed_name(context, s_name); in krb5_rd_req_decoded_opt()
337 char *s_name = NULL; in krb5_rd_req_decoded_opt() local
[all …]
H A Dget_in_tkt.c544 char *s_name = NULL; in krb5_get_in_tkt() local
547 serr = krb5_unparse_name(context, creds->server, &s_name); in krb5_get_in_tkt()
553 serr ? "unknown" : s_name); in krb5_get_in_tkt()
554 if (s_name) in krb5_get_in_tkt()
555 krb5_free_unparsed_name(context, s_name); in krb5_get_in_tkt()
638 char *s_name = NULL; in krb5_get_in_tkt() local
641 serr = krb5_unparse_name(context, creds->server, &s_name); in krb5_get_in_tkt()
647 serr ? "unknown" : s_name, in krb5_get_in_tkt()
649 if (s_name) in krb5_get_in_tkt()
650 krb5_free_unparsed_name(context, s_name); in krb5_get_in_tkt()
[all …]
H A Dgc_frm_kdc.c472 char *s_name = NULL; in find_nxt_kdc() local
473 int err = krb5_unparse_name(ts->ctx, ts->nxt_tgt->server, &s_name); in find_nxt_kdc()
478 s_name); in find_nxt_kdc()
479 krb5_free_unparsed_name(ts->ctx, s_name); in find_nxt_kdc()
1133 char *s_name = NULL; in krb5_get_cred_from_kdc_opt() local
1136 s_err = krb5_unparse_name(context, server, &s_name); in krb5_get_cred_from_kdc_opt()
1142 s_err ? "unknown" : s_name); in krb5_get_cred_from_kdc_opt()
1143 if (s_name) in krb5_get_cred_from_kdc_opt()
1144 krb5_free_unparsed_name(context, s_name); in krb5_get_cred_from_kdc_opt()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgetservent_r.c153 len += strlen(se->s_name) + 1; in copy_servent()
168 n = strlen(se->s_name) + 1; in copy_servent()
169 strcpy(cp, se->s_name); in copy_servent()
170 sptr->s_name = cp; in copy_servent()
203 if ((n = strlen(se->s_name) + 1) < (eob - cp)) { in copy_servent()
204 strcpy(cp, se->s_name); in copy_servent()
205 sptr->s_name = cp; in copy_servent()
H A Dirp_sv.c189 if (sv->s_name != NULL && in sv_byname()
190 strcmp(name, sv->s_name) == 0 && in sv_byname()
240 if (sv->s_name != NULL && in sv_byport()
331 if (sv->s_name != NULL) { in free_service()
332 free(sv->s_name); in free_service()
H A Dlcl_sv.c202 if (strcmp(name, p->s_name) == 0) in sv_byname()
343 sv->serv.s_name = p; in irs_lclsv_fnxt()
400 sv->serv.s_name = sv->line; in sv_db_rec()
412 sv->serv.s_name = sv->line; in sv_db_rec()
H A Dgetnameinfo.c158 if (strlen(sp->s_name) + 1 > servlen)
160 strcpy(serv, sp->s_name);
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dexport_name.c58 char *s_name = NULL; in krb5_gss_export_name() local
59 int kret = krb5_unparse_name(context, princ, &s_name); in krb5_gss_export_name()
65 s_name); in krb5_gss_export_name()
67 krb5_free_unparsed_name(context, s_name); in krb5_gss_export_name()
H A Daccept_sec_context.c580 char *s_name; local
581 if (krb5_unparse_name(context, cred->princ, &s_name) == 0) {
586 s_name);
587 krb5_free_unparsed_name(context, s_name);
592 char *s_name; local
593 if (krb5_unparse_name(context, cred->princ, &s_name) == 0) {
597 s_name);
598 krb5_free_unparsed_name(context, s_name);
1307 char *s_name = NULL; local
1312 &s_name);
[all …]
H A Dadd_cred.c180 char *s_name = NULL, *s_princ= NULL; local
181 int kret = krb5_unparse_name(context, dname, &s_name);
188 s_name, s_princ);
191 if (s_name)
192 krb5_free_unparsed_name(context, s_name);
H A Dinit_sec_context.c726 char *s_name = NULL, *s_princ= NULL; in mutual_auth() local
727 int kret = krb5_unparse_name(context, tname, &s_name); in mutual_auth()
734 s_name, s_princ); in mutual_auth()
737 if (s_name) in mutual_auth()
738 krb5_free_unparsed_name(context, s_name); in mutual_auth()
914 char *s_name = NULL; local
915 int kret = krb5_unparse_name(context, princ, &s_name);
921 s_name);
922 krb5_free_unparsed_name(context, s_name);
H A Dacquire_cred.c191 char *s_name; local
192 if (krb5_unparse_name(context, princ, &s_name) == 0) {
197 s_name);
198 krb5_free_unparsed_name(context, s_name);
/titanic_41/usr/src/cmd/ipf/lib/common/
H A Dportname.c21 strncpy(buf, sv->s_name, sizeof(buf)-1);
24 sv = strncasecmp(buf, sv->s_name, strlen(buf)) ?
31 strncpy(buf, sv->s_name, sizeof(buf)-1);
/titanic_41/usr/src/cmd/sendmail/src/
H A Dstab.c73 (s->s_symtype != type || strcmp(name, s->s_name)))
79 (s->s_symtype != type || sm_strcasecmp(name, s->s_name)))
210 s->s_name = sm_pstrdup_x(name);
248 s->s_symtype, s->s_name);
290 (m = macid(s->s_name)) != 0 &&
295 s->s_name,
421 SM_STAB_FREE(s->s_name); /* XXX */ in rmexpstab()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dlookup.c27 char *s_name; member
121 if (strcmp(name, s->s_name))
146 s->s_name = name;
/titanic_41/usr/src/cmd/sgs/mcs/common/
H A Dmcs.h133 typedef struct s_name { struct
135 struct s_name *next; argument
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Dadutils.c703 char *filter, *s_name; in idmap_name2sid_batch_add1() local
741 s_name = sanitize_for_ldap_filter(name); in idmap_name2sid_batch_add1()
742 if (s_name == NULL) { in idmap_name2sid_batch_add1()
749 (void) asprintf(&filter, SANFILTER, s_name); in idmap_name2sid_batch_add1()
750 if (s_name != name) in idmap_name2sid_batch_add1()
751 free(s_name); in idmap_name2sid_batch_add1()
/titanic_41/usr/src/lib/libcommputil/common/
H A Dsdp.c346 if (session->s_name != NULL) in sdp_add_name()
348 return (commp_add_str(&session->s_name, name, strlen(name))); in sdp_add_name()
746 if (session->s_name != NULL) in sdp_get_length()
747 len += strlen(session->s_name) + FIELD_EQUALS_CRLF_LEN; in sdp_get_length()
857 if (session->s_name != NULL && sdp_add_name(new_sess, session-> in sdp_clone_session()
858 s_name) != 0) { in sdp_clone_session()
1003 if (session->s_name != NULL) { in sdp_session_to_str()
1004 wrote = snprintf(buf, len, "s=%s%s", session->s_name, in sdp_session_to_str()
1137 free(session->s_name); in sdp_delete_all_field()
1138 session->s_name = NULL; in sdp_delete_all_field()
/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetnameinfo.c245 if (servlen < strlen(sp->s_name) + 1) in getnameinfo()
247 (void) strcpy(serv, sp->s_name); in getnameinfo()
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dnetdb.h53 char *s_name; /* official service name */ member
/titanic_41/usr/src/uts/common/avs/ns/nsctl/
H A Dnsc_gen.h81 char *s_name; /* name of service */ member
H A Dnsc_gen.c987 if (strcmp(name, sp->s_name) == 0) in nsc_register_svc()
992 sp->s_name = nsc_strdup(name); in nsc_register_svc()
993 if (sp->s_name == NULL) { in nsc_register_svc()
1066 nsc_strfree(sp->s_name); in nsc_unregister_svc()
/titanic_41/usr/src/uts/common/sys/usb/clients/usbser/
H A Dusbser_rseq.h74 char *s_name; /* step name string */ member
/titanic_41/usr/src/cmd/getent/
H A Ddogetserv.c49 sp->s_name, ntohs(sp->s_port), sp->s_proto) == EOF) in putservent()

123