Description of problem:
When PassSync starts it tries to open %sysPath\\system32\\passhook.dat. I assume that this file is used to cache changes if the service can't connect to FDS.
An error is logged that the file cannot be opened every time the service starts:
11/12/08 11:24:17: PassSync service started
11/12/08 11:24:17: Failed to load entries from file
So either the service installer should create a 0-length file to prevent this error message or simply not report it unless debugging is enabled.
Another option would be to change it to a better message, something like "No cached entries to process".
Version-Release number of selected component (if applicable):
I don't know if we need to fix passsync for DS 8.1 - if so, we should fix this.
Created attachment 331871 [details]
Reviewed by: nkinder
Fix Description: Just see if the file does not yet exist. If that is the case (err == ENOENT), then return a non-fatal error. I also fixed a usage of list iterator - apparently it is not a pointer type, and should be passed by reference rather than by value. Without this fix, I could not compile using Visual C++ 9.0 Express Edition
Platforms tested: Windows 2003 Server
Flag Day: no
Doc impact: no
Created attachment 331885 [details]
cvs commit log
fix verified Windows 2003 Enterprise Edition
New passsync.log message:
No entries yet
Created attachment 335455 [details]
sorry, wrong bug to reopen
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.