Solved

NFS Autoreconnect from Windows

Posted on 2011-03-07
4
390 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
Comment Utility
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
Comment Utility
Can you give me examples for both?
0
 
LVL 34

Accepted Solution

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

Expert Comment

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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now