Home
last modified time | relevance | path

Searched refs:auth_type (Results 1 – 25 of 27) sorted by relevance

12

/illumos-gate/usr/src/lib/libmlrpc/common/
H A Dndr_auth.c31 secp->auth_type = ctx->auth_type; in ndr_add_auth_token()
69 ctx->auth_type == NDR_C_AUTHN_NONE) in ndr_add_sec_context()
72 if (ctx->auth_type != NDR_C_AUTHN_GSS_NETLOGON) in ndr_add_sec_context()
98 ctx->auth_type == NDR_C_AUTHN_NONE) { in ndr_recv_sec_context()
106 if (bind_secp->auth_type != ack_secp->auth_type) in ndr_recv_sec_context()
126 ctx->auth_type == NDR_C_AUTHN_NONE) in ndr_add_auth()
129 if (ctx->auth_type != NDR_C_AUTHN_GSS_NETLOGON) in ndr_add_auth()
159 ctx->auth_type == NDR_C_AUTHN_NONE) { in ndr_check_auth()
167 if (ctx->auth_type != secp->auth_type || in ndr_check_auth()
168 ctx->auth_type != NDR_C_AUTHN_GSS_NETLOGON) in ndr_check_auth()
H A Dndr_marshal.c536 auth->auth_type, auth->auth_level, auth->auth_pad_len, in ndr_show_auth()
815 NDR_MEMBER(_uchar, auth_type, 0UL); in ndr__auth_verifier_co()
H A Dlibmlrpc.h487 uint8_t auth_type; member
/illumos-gate/usr/src/cmd/ndmpadm/
H A Dndmpadm_main.c117 const char *auth_type; member
574 auth_type = strdup(optarg); in ndmp_enable_auth()
595 free(auth_type); in ndmp_enable_auth()
602 free(auth_type); in ndmp_enable_auth()
611 free(auth_type); in ndmp_enable_auth()
617 if (strncmp(auth_type, ndmp_auth_table[i].auth_type, in ndmp_enable_auth()
642 free(auth_type); in ndmp_enable_auth()
655 char *auth_type; in ndmp_disable_auth() local
666 auth_type = strdup(optarg); in ndmp_disable_auth()
678 if (strncmp(auth_type, ndmp_auth_table[i].auth_type, in ndmp_disable_auth()
[all …]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_connect.c203 request->auth_data.auth_type == NDMP_AUTH_NONE ? "None" : in ndmpd_connect_client_auth_v2()
204 (request->auth_data.auth_type == NDMP_AUTH_TEXT ? "Text" : in ndmpd_connect_client_auth_v2()
205 (request->auth_data.auth_type == NDMP_AUTH_MD5 ? "MD5" : in ndmpd_connect_client_auth_v2()
210 switch (request->auth_data.auth_type) { in ndmpd_connect_client_auth_v2()
361 request->client_attr.auth_type == NDMP_AUTH_NONE ? "None" : in ndmpd_connect_server_auth_v2()
363 (request->client_attr.auth_type == NDMP_AUTH_MD5 ? "MD5" : in ndmpd_connect_server_auth_v2()
367 reply.auth_result.auth_type = request->client_attr.auth_type; in ndmpd_connect_server_auth_v2()
368 switch (request->client_attr.auth_type) { in ndmpd_connect_server_auth_v2()
447 request->auth_data.auth_type == NDMP_AUTH_NONE ? "None" : in ndmpd_connect_client_auth_v3()
448 request->auth_data.auth_type == NDMP_AUTH_TEXT ? "Text" : in ndmpd_connect_client_auth_v3()
[all …]
H A Dndmpd_config.c138 reply.auth_type.auth_type_len = 1; in ndmpd_config_get_host_info_v2()
139 reply.auth_type.auth_type_val = auth_types; in ndmpd_config_get_host_info_v2()
241 reply.server_attr.auth_type = request->auth_type; in ndmpd_config_get_auth_attr_v2()
243 switch (request->auth_type) { in ndmpd_config_get_auth_attr_v2()
256 request->auth_type); in ndmpd_config_get_auth_attr_v2()
387 reply.server_attr.auth_type = request->auth_type; in ndmpd_config_get_auth_attr_v3()
389 switch (request->auth_type) { in ndmpd_config_get_auth_attr_v3()
402 request->auth_type); in ndmpd_config_get_auth_attr_v3()
904 reply.auth_type.auth_type_len = ARRAY_LEN(auth_types, ndmp_auth_type); in ndmpd_config_get_server_info_v3()
905 reply.auth_type.auth_type_val = auth_types; in ndmpd_config_get_server_info_v3()
H A Dndmp.x254 union ndmp_auth_data switch (enum ndmp_auth_type auth_type)
280 union ndmp_auth_attr switch (enum ndmp_auth_type auth_type)
321 union ndmp_auth_data_v3 switch (enum ndmp_auth_type auth_type)
373 ndmp_auth_type auth_type<>;
415 ndmp_auth_type auth_type; member
461 ndmp_auth_type auth_type<>;
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dsecure.c46 extern int auth_type;
129 if (auth_type == AUTHTYPE_GSSAPI) { in secure_determine_constants()
237 if (auth_type == AUTHTYPE_GSSAPI) { in secure_putbuf()
315 if (auth_type == AUTHTYPE_GSSAPI) { in secure_getbyte()
H A Dauth.c44 int auth_type; /* Authentication succeeded? If so, what type? */ variable
76 if (auth_type != AUTHTYPE_NONE) in do_auth()
274 auth_type = AUTHTYPE_GSSAPI; in do_auth()
H A Dftp.c589 if ((auth_type != AUTHTYPE_NONE) && !ibuf[0] && in getreply()
595 if ((auth_type != AUTHTYPE_NONE) && !ibuf[0] && in getreply()
611 if ((auth_type != AUTHTYPE_NONE) && !ibuf[0] && in getreply()
674 if ((auth_type != AUTHTYPE_NONE) && !ibuf[0] && !is_base64) in getreply()
1833 ip->authtype = auth_type; in pswitch()
1834 auth_type = op->authtype; in pswitch()
2287 if ((auth_type != AUTHTYPE_NONE) && clevel != PROT_C) { in secure_command()
2292 if (auth_type == AUTHTYPE_GSSAPI) { in secure_command()
2428 if ((auth_type == AUTHTYPE_NONE)) { in decode_reply()
2459 if (auth_type == AUTHTYPE_GSSAPI) { in decode_reply()
H A Dcmds.c149 if ((auth_type != AUTHTYPE_NONE) && (clevel == PROT_C)) in setpeer()
863 if (auth_type != AUTHTYPE_NONE) in status()
865 GSS_AUTHTYPE_NAME(auth_type)); in status()
1604 auth_type = AUTHTYPE_NONE; in disconnect()
2301 if (auth_type == AUTHTYPE_NONE) { in setclevel()
2349 if (auth_type == AUTHTYPE_NONE) { in setdlevel()
H A Dmain.c394 auth_type = AUTHTYPE_NONE; in lostpeer()
407 auth_type = AUTHTYPE_NONE; in lostpeer()
H A Dftp_var.h151 extern int auth_type; /* authentication type */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drtquery.c91 static int auth_type = RIP_AUTH_NONE; variable
249 auth_type = RIP_AUTH_PW; in main()
251 auth_type = RIP_AUTH_MD5; in main()
257 if (auth_type == RIP_AUTH_MD5 && in main()
386 if (auth_type == RIP_AUTH_PW) { in query_loop()
393 } else if (auth_type == RIP_AUTH_MD5) { in query_loop()
/illumos-gate/usr/src/cmd/sendmail/cf/m4/
H A Dcfhead.m4272 define(`_REC_AUTH_', `$.$?{auth_type}(authenticated')
273 define(`_REC_FULL_AUTH_', `$.$?{auth_type}(user=${auth_authen} $?{auth_author}author=${auth_author}…
308 define(`confMILTER_MACROS_ENVFROM', ``i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {ma…
H A Dproto.m42124 R$* $: $1 $| $>"Local_Relay_Auth" $&{auth_type}
2129 R$* $| $* $: $1 $| $&{auth_type}
2130 dnl workspace: localpart<@domain> [ $| ${auth_type} ]
2131 dnl empty ${auth_type}?
2133 dnl mechanism ${auth_type} accepted?
2136 dnl remove ${auth_type}
2598 R$* $: $&{auth_type} $| $1
2614 ### $1: ${auth_type}
/illumos-gate/usr/src/cmd/bhyve/
H A Drfb.c273 int auth_type; in rfb_handshake_auth() local
277 auth_type = RFBP_SECURITY_NONE; in rfb_handshake_auth()
280 auth_type = RFBP_SECURITY_VNC_AUTH; in rfb_handshake_auth()
289 be32enc(buf, auth_type); in rfb_handshake_auth()
298 buf[1] = auth_type; in rfb_handshake_auth()
308 if (buf[0] != auth_type) { in rfb_handshake_auth()
317 if (auth_type == RFBP_SECURITY_NONE) { in rfb_handshake_auth()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c373 int *auth_type, in recvauth() argument
426 auth_type, /* authentication system */ in recvauth()
428 if (*auth_type == KRB5_RECVAUTH_V5) { in recvauth()
461 if ((*auth_type == KRB5_RECVAUTH_V5) && chksum_flag && in recvauth()
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dkclient.sh94 auth_type=${service#*:}
100 printf "\n$svc\tauth include\t\tpam_krb5_$auth_type\n" 1>&3
520 [[ -z $svc || -z $auth_type ]] && return
521 print -- $svc $auth_type
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp.h318 int auth_type; /* Authentication in use */ member
H A Dhttp.c2242 http->auth_type = myhttp.auth_type; in http_upgrade()
/illumos-gate/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c2201 char auth_type[BUFSIZ+1], *dot; in genent_publickey() local
2363 (void) strlcpy(auth_type, "DH192-0", BUFSIZ+1); in genent_publickey()
2364 else if (!(__nis_keyalg2authtype(keylen, algtype, auth_type, in genent_publickey()
2381 buflen = sizeof (auth_type) + strlen(ecol[1].ec_value.ec_value_val) + 3; in genent_publickey()
2386 (void) snprintf(tmppubkey, buflen, "{%s}%s", auth_type, in genent_publickey()
2390 buflen = sizeof (auth_type) + strlen(ecol[2].ec_value.ec_value_val) + 3; in genent_publickey()
2396 (void) snprintf(tmpprivkey, buflen, "{%s}%s", auth_type, in genent_publickey()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsrvrsmtp.c612 char *volatile auth_type; local
865 auth_type = NULL;
1357 macid("{auth_type}"), auth_type);
1449 auth_type, *ssf);
1488 auth_type,
1768 auth_type = newstr(p);
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dnetr_ssp.c659 .auth_type = NDR_C_AUTHN_GSS_NETLOGON,
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c1416 pc_add(permcheck_t *pcp, const char *auth, pc_auth_type_t auth_type) in pc_add() argument
1436 if (auth_type > pcp->pc_specific_type) { in pc_add()
1437 pcp->pc_specific_type = auth_type; in pc_add()
1471 pc_auth_type_t auth_type) in perm_add_enabling_type() argument
1473 return (pc_add(pcp, auth, auth_type) == 0 ? REP_PROTOCOL_SUCCESS : in perm_add_enabling_type()

12