Access SAMBA share without logoff/logon
Posted on 2008-10-27
I have a user account that is logged on to a Windows 2003 server 24 hours a day to process jobs. The data for these jobs is located on a SAMBA share. The folders on the SAMBA share are created by a windows service that also grants permissions to the newly created folders. The problem is that since the user is logged in 24 hours a day, they can not access the new folders without logging off and back on to refresh their credentials. I was wondering a few things:
1. Is there a way to programatially refresh the logged in user's credentials without logging off/on?
2. Is there a way to programatically login a user in a Windows 2003 Terminal server?
3. I've tried using net use and supplying the password but that does not work.