Solved

NFS Autoreconnect from Windows

Posted on 2011-03-07
4
402 Views
Last Modified: 2012-05-11
Setup
I have UNIX Server/s that share volumes and Windows W2K(SP2/SP4) clients that access these share
using SFU

Problem
Whenever I try to map a UNIX shared volume; I'm prompted for authentication (SFU) and on authenticatin
I'm able to access these shares. However, I'd like to run a batch file and or set these up to mapdrives
connect at logon and not have to do this for everytime I logon

A simple batch file with a set of 'net use' commands works beautifully for mapping Windows Shares

Question
How do I set this up to auto-map UNIX shares at logon

Note
Tried re-connect at Logon: This doesn't work. The auto-mapped drives seem to lose it's authenticatio
(I can read/but not write) when I re-logon. So, I have to re-authenticate these connections to get bac
the proper access rights
0
Comment
Question by:cjameson74
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 35064783
You can specify password using net use; though you have to weigh whether you want the plain text password in the script.
0
 
LVL 1

Author Comment

by:cjameson74
ID: 35064793
Can you give me examples for both?
0
 
LVL 34

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 35065962
net use <drive letter>: \\<server>\<share> /user:<username> password
0
 
LVL 19

Expert Comment

by:Miguel Angel Perez Muñoz
ID: 35067166
You must to add to DALC a user nobody and grant permissions in the folder.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

685 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