Solved

Access SAMBA share without logoff/logon

Posted on 2008-10-27
1
462 Views
Last Modified: 2013-12-02
Hello,

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.

Please help!
0
Comment
Question by:ingenito
1 Comment
 

Accepted Solution

by:
ingenito earned 0 total points
ID: 22868010
I found the solution which is pretty simple.  You can use the dos command, net use, to delete and recreate the share which automatically refreshes the security context,
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Learn about cloud computing and its benefits for small business owners.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now