/** \file command.c does client authentication and executes server commands */
#include <sys/time.h> /* gettimeofday */
/** \file command.c does client authentication and executes server commands */
#include <sys/time.h> /* gettimeofday */
int numbytes, ret, argc, use_rc4 = 0;
char buf[STRINGSIZE];
unsigned char crypt_buf[MAXLINE];
int numbytes, ret, argc, use_rc4 = 0;
char buf[STRINGSIZE];
unsigned char crypt_buf[MAXLINE];
struct server_command *cmd = NULL;
long unsigned challenge_nr, chall_response;
char **argv = NULL;
struct server_command *cmd = NULL;
long unsigned challenge_nr, chall_response;
char **argv = NULL;
}
PARA_DEBUG_LOG("received %s request for user %s\n",
use_rc4? "rc4" : "auth", u.name);
}
PARA_DEBUG_LOG("received %s request for user %s\n",
use_rc4? "rc4" : "auth", u.name);
goto err_out;
if (!ret) { /* user not found */
PARA_WARNING_LOG("auth request for unknown user %s\n", u.name);
goto err_out;
if (!ret) { /* user not found */
PARA_WARNING_LOG("auth request for unknown user %s\n", u.name);