Solved

Access SAMBA share without logoff/logon

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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