S
Sanjoy C
Hi,
I am writing a NT Service that has to access files on a CIFS share on
another NT box. The default Logon UserID of the NT Service does NOT have
access to the files or the share. However I have the UserID and Password
that CAN access the share available to the NT Service.
What API can I use to get access to the share?
P.S. When I run this as a normal program, when I access the share a dialog
box pops up the first time when I access the share. If I enter the UserID /
password correctly then the program is able to access the share all further
times till I log out.
I guess it has something to do with the file share redirector but I need
help in terms of being pointed to the approriate Win32 APIs.
I am writing a NT Service that has to access files on a CIFS share on
another NT box. The default Logon UserID of the NT Service does NOT have
access to the files or the share. However I have the UserID and Password
that CAN access the share available to the NT Service.
What API can I use to get access to the share?
P.S. When I run this as a normal program, when I access the share a dialog
box pops up the first time when I access the share. If I enter the UserID /
password correctly then the program is able to access the share all further
times till I log out.
I guess it has something to do with the file share redirector but I need
help in terms of being pointed to the approriate Win32 APIs.