Service Tha Log On On Other Server

I have to built a Windows service that, before User Logon, can log on on a Unix (suse) machine (with samba) and can retrive a file.

How can i do that?

Currently i do that after user log on and I use a NET USE command on the user login script, but i need to change it in a service.

Thanks in advance
Riccardo
[338 byte] By [RCinguino] at [2007-11-19 14:01:44]