LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-08-2014, 05:10 AM   #1
zhorzh
LQ Newbie
 
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
Automount windows share


Hello,

I want to mount a windows share on my CentOS using autofs, but I cant seem to be able to configure it correcctly.
When I mount it "manually" it mounts correctly, but automounter fails.

Can someone look at my mount command and tell me what to put in auto.master and other needed files:

mount -t cifs -o username=user,password=password,rw,dir_mode=0777,file_mode=0777 //server1/resources/50004 /var/www/html/resources/50004/
 
Old 07-09-2014, 02:03 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
I hope this helps:
https://help.ubuntu.com/community/Autofs#CIFS
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
question about using systemd and automount for NFS share lleb Linux - Networking 1 08-16-2013 07:48 AM
automount of Windows share - hostname resolution issue? maccas17 Linux - Server 1 10-01-2010 11:08 AM
trying to automount an NFS share shahz Linux - Server 10 07-22-2009 06:30 AM
Share Won't Automount Ingla Linux - General 1 08-07-2007 12:41 PM
How To Automount Localnetwork Share Files? linzz Ubuntu 1 04-25-2007 07:30 PM


All times are GMT -5. The time now is 10:19 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration