src/filed/job.c
static int hello_cmd(JCR *jcr)
{
   Dmsg0(120, "Calling Authenticate\n");
   if (!validate_dir_hello(jcr)) {
      return 0;
   }
   if (!authenticate_director(jcr)) {
      return 0;
   }
   Dmsg0(120, "OK Authenticate\n");
   jcr->authenticated = true;

   dequeue_messages(jcr);     /* dequeue any daemon messages */
   return 1;
}
/*
 * Hello from Director he must identify himself and provide his
 *  password.
 */
Hello from Director he must identify himself and provide his
password.
Hello from Director he must identify himself and provide his password .
static int hello_cmd(JCR *jcr)
{
   Dmsg0(120, "Calling Authenticate\n");
   if (!validate_dir_hello(jcr)) {
      return 0;
   }
   if (!authenticate_director(jcr)) {
      return 0;
   }
   Dmsg0(120, "OK Authenticate\n");
   jcr->authenticated = true;
   dequeue_messages(jcr);     
   return 1;
}
static int hello_cmd ( JCR * jcr ) { Dmsg0 ( 120 , " \n " ) ; if ( ! validate_dir_hello ( jcr ) ) { return 0 ; } if ( ! authenticate_director ( jcr ) ) { return 0 ; } Dmsg0 ( 120 , " \n " ) ; jcr -> authenticated = true ; dequeue_messages ( jcr ) ; return 1 ; }
Hello from Director he must identify himself and provide his
  password.
Hello from Director he must identify himself and provide his password .
/* dequeue any daemon messages */