Lines Matching defs:type
42 * convert ssh auth msg type into description
45 get_authname(int type)
48 switch (type) {
65 snprintf(buf, sizeof buf, "bad-auth-msg-%d", type);
84 int type = 0;
114 authctxt->v1_auth_type = type = packet_read();
115 authctxt->v1_auth_name = get_authname(type);
120 switch (type) {
317 log("Unknown message during authentication: type %d", type);
333 if (type == SSH_CMSG_AUTH_PASSWORD && !authenticated)
343 !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD, pw)) {
351 !auth_root_allowed(get_authname(type)))
355 if (authenticated && type != SSH_CMSG_AUTH_PASSWORD)
366 auth_log(authctxt, authenticated, get_authname(type), info);
376 if (type == SSH_CMSG_AUTH_PASSWORD)