source:
branches/2.4/patches/2.4/fix_mom_priv.patch
@
82
Last change on this file since 82 was 82, checked in by bas, 11 years ago | |
---|---|
File size: 854 bytes |
-
process_request.c
old new 640 640 log_buffer); 641 641 } 642 642 643 /* HvB patch backport from 2.5 */ 644 if (svr_conn[sfds].cn_authen != PBS_NET_CONN_FROM_PRIVIL) 645 { 646 sprintf(log_buffer, "request type %s from host %s rejected (connection not privileged)", 647 reqtype_to_txt(request->rq_type), 648 request->rq_host); 649 650 log_record(PBSEVENT_JOB, PBS_EVENTCLASS_JOB, id, log_buffer); 651 652 req_reject(PBSE_BADHOST, 0, request, NULL, "request not authorized"); 653 654 close_client(sfds); 655 656 return; 657 } 658 /* End HvB patch backport from 2.5 */ 659 643 660 if (!tfind(svr_conn[sfds].cn_addr, &okclients)) 644 661 { 645 662 sprintf(log_buffer, "request type %s from host %s rejected (host not authorized)",
Note: See TracBrowser
for help on using the repository browser.