Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/ndmpadm/
H A Dndmpadm_main.c116 const char *auth_type; member
561 char *auth_type, *username, *password; in ndmp_enable_auth() local
573 auth_type = strdup(optarg); in ndmp_enable_auth()
590 if ((auth_type) && (username)) { in ndmp_enable_auth()
594 free(auth_type); in ndmp_enable_auth()
601 free(auth_type); in ndmp_enable_auth()
610 free(auth_type); in ndmp_enable_auth()
616 if (strncmp(auth_type, ndmp_auth_table[i].auth_type, in ndmp_enable_auth()
617 strlen(ndmp_auth_table[i].auth_type)) == 0) { in ndmp_enable_auth()
641 free(auth_type); in ndmp_enable_auth()
[all …]
/titanic_41/usr/src/cmd/ndmpd/ndmp/
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 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()
362 (request->client_attr.auth_type == NDMP_AUTH_TEXT ? "Text" : 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()
[all …]
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<>;
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dsecure.c48 extern int auth_type;
131 if (auth_type == AUTHTYPE_GSSAPI) { in secure_determine_constants()
239 if (auth_type == AUTHTYPE_GSSAPI) { in secure_putbuf()
317 if (auth_type == AUTHTYPE_GSSAPI) { in secure_getbyte()
H A Dauth.c46 int auth_type; /* Authentication succeeded? If so, what type? */ variable
78 if (auth_type != AUTHTYPE_NONE) in do_auth()
276 auth_type = AUTHTYPE_GSSAPI; in do_auth()
H A Dftp.c591 if ((auth_type != AUTHTYPE_NONE) && !ibuf[0] && in getreply()
597 if ((auth_type != AUTHTYPE_NONE) && !ibuf[0] && in getreply()
612 if ((auth_type != AUTHTYPE_NONE) && !ibuf[0] && !is_base64) in getreply()
671 if ((auth_type != AUTHTYPE_NONE) && !ibuf[0] && !is_base64) in getreply()
1828 ip->authtype = auth_type; in pswitch()
1829 auth_type = op->authtype; in pswitch()
2282 if ((auth_type != AUTHTYPE_NONE) && clevel != PROT_C) { in secure_command()
2287 if (auth_type == AUTHTYPE_GSSAPI) { in secure_command()
2426 if ((auth_type == AUTHTYPE_NONE)) { in decode_reply()
2457 if (auth_type == AUTHTYPE_GSSAPI) { in decode_reply()
H A Dmain.c323 auth_type = AUTHTYPE_NONE; in lostpeer()
336 auth_type = AUTHTYPE_NONE; in lostpeer()
H A Dcmds.c152 if ((auth_type != AUTHTYPE_NONE) && (clevel == PROT_C)) in setpeer()
866 if (auth_type != AUTHTYPE_NONE) in status()
868 GSS_AUTHTYPE_NAME(auth_type)); in status()
1607 auth_type = AUTHTYPE_NONE; in disconnect()
2304 if (auth_type == AUTHTYPE_NONE) { in setclevel()
2352 if (auth_type == AUTHTYPE_NONE) { in setdlevel()
H A Dftp_var.h156 EXTERN int auth_type; /* authentication type */ variable
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drtquery.c93 static int auth_type = RIP_AUTH_NONE; variable
251 auth_type = RIP_AUTH_PW; in main()
253 auth_type = RIP_AUTH_MD5; in main()
259 if (auth_type == RIP_AUTH_MD5 && in main()
388 if (auth_type == RIP_AUTH_PW) { in query_loop()
395 } else if (auth_type == RIP_AUTH_MD5) { in query_loop()
/titanic_41/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}
/titanic_41/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()
/titanic_41/usr/src/lib/print/libhttp-core/common/
H A Dhttp.h320 int auth_type; /* Authentication in use */ member
H A Dhttp.c2244 http->auth_type = myhttp.auth_type; in http_upgrade()
/titanic_41/usr/src/cmd/krb5/kadmin/kclient/
H A Dkclient.sh93 auth_type=${service#*:}
99 printf "\n$svc\tauth include\t\tpam_krb5_$auth_type\n" 1>&3
519 [[ -z $svc || -z $auth_type ]] && return
520 print -- $svc $auth_type
/titanic_41/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);
/titanic_41/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.c2199 char auth_type[BUFSIZ+1], *dot; in genent_publickey() local
2361 (void) strlcpy(auth_type, "DH192-0", BUFSIZ+1); in genent_publickey()
2362 else if (!(__nis_keyalg2authtype(keylen, algtype, auth_type, in genent_publickey()
2379 buflen = sizeof (auth_type) + strlen(ecol[1].ec_value.ec_value_val) + 3; in genent_publickey()
2384 (void) snprintf(tmppubkey, buflen, "{%s}%s", auth_type, in genent_publickey()
2388 buflen = sizeof (auth_type) + strlen(ecol[2].ec_value.ec_value_val) + 3; in genent_publickey()
2394 (void) snprintf(tmpprivkey, buflen, "{%s}%s", auth_type, in genent_publickey()
/titanic_41/usr/src/cmd/svc/configd/
H A Drc_node.c1426 pc_add(permcheck_t *pcp, const char *auth, pc_auth_type_t auth_type) in pc_add() argument
1446 if (auth_type > pcp->pc_specific_type) { in pc_add()
1447 pcp->pc_specific_type = auth_type; in pc_add()
1481 pc_auth_type_t auth_type) in perm_add_enabling_type() argument
1483 return (pc_add(pcp, auth, auth_type) == 0 ? REP_PROTOCOL_SUCCESS : in perm_add_enabling_type()
/titanic_41/usr/src/cmd/sendmail/cf/
H A DREADME3329 $.$?{auth_type}(authenticated)
3979 [i, {auth_type}, {auth_authen},