Index: openacs-4/packages/acs-authentication/tcl/authority-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-authentication/tcl/authority-procs.tcl,v diff -u -r1.18 -r1.19 --- openacs-4/packages/acs-authentication/tcl/authority-procs.tcl 24 Oct 2003 13:28:44 -0000 1.18 +++ openacs-4/packages/acs-authentication/tcl/authority-procs.tcl 24 Oct 2003 16:44:19 -0000 1.19 @@ -341,6 +341,15 @@ -authority_id $authority_id \ -job_id $job_id \ -document $doc_result(document) + + set ack_doc [auth::sync::GetAcknowledgementDocument \ + -authority_id $authority_id \ + -job_id $job_id \ + -document $doc_result(document)] + + template::util::write_file \ + "[acs_root_dir]/batch-sync-acknolwedgement.xml" \ + $ack_doc } { global errorInfo ns_log Error "Error processing sync document:\n$errorInfo"