?
Solved

Access SAMBA share without logoff/logon

Posted on 2008-10-27
1
Medium Priority
?
467 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month10 days, 8 hours left to enroll

764 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