Solved

Access SAMBA share without logoff/logon

Posted on 2008-10-27
1
466 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
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.…

691 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