OS: 2003 SP2. Same occurs on 2003-no-SPs.
We have a service EXE, which sometimes spawns another EXEs to fulfil some
tasks.
The child EXE contains the LogonUser/LOGON32_LOGON_NEW_CREDENTIALS call to
do some work with files on SMB shares.
Sometimes, this call hangs.
The service EXE itself also contains the same kind of LogonUser call, and
it never hangs.
If we start the same child EXE from the Administrator’s command line - then
it works fine and never hangs on LogonUser.
So, LogonUser sometimes hangs if the EXE calling it was spawned by the
service process, regardless of whether the service is running under LocalSystem
or under the administrative user (same user as was used for command-line
testing above).
This was noticed on a domain controller.
–
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com