Solved

NFS Autoreconnect from Windows

Posted on 2011-03-07
4
404 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
[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
  • 2
4 Comments
 
LVL 35

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 35

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

739 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