LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 07-26-2010, 06:55 AM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Mount Openfiler NAS CIFS shares on windows clients using script in a domain. How to?


Hello all,

There is an educational institute where recently I removed a windows 2003 server acting as a file server and put Openfiler NAS instead. It integrated into windows domain and the authentication works as well according to windows active directory groups.
But earlier, I used to map the drive for users using a vbs script I found on the net. It used to automatically map the drive for the user anywhere he/she logged in.
But this script does not seem to work for Openfiler NAS shares. These shares names or subfolders are separated using a "." instead of "\" on windows. And this seems to an issue.
I am attaching the script for anyone who wants to see and help.
Any help or direction for help would be appreciated.


Edit:

This is how the share is mapped in windows if you need:

data.users.userdata.sharename.

Where data is the volume name and users is a folder inside the volume. userdata is another sub-folder in users and sharename is actual share that is shared. There are several shares that are identical to the user login names. And I want to map the share that is identical to the login name user is using to logon to the domain.
[/Edit]
Attached Files
File Type: txt map.txt (870 Bytes, 77 views)

Last edited by linuxlover.chaitanya; 07-26-2010 at 08:05 AM.
 
Old 08-02-2010, 04:55 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
Solved with the help of one of our vb developers. It was a simple solution to change the mount source and changing the delimiter from "\" to "." in the script.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't write to Seagate Blackarmor NAS thru CIFS mount Ezplan Linux - Server 2 07-15-2010 02:12 PM
Using cifs to mount domain-windows shares with kerberos. (krb5) munta LinuxQuestions.org Member Success Stories 1 01-29-2010 06:14 AM
[SOLVED] Windows Server 2003 clients periodically unable to read CIFS shares AdamDaughterson Linux - Server 3 08-10-2009 09:53 AM
CIFS Shares mount problem havok1977 Linux - Software 3 06-12-2007 12:00 PM
Startup script to mount windows shares? Higs Linux - Networking 1 05-30-2004 09:28 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration