Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Cannot connect to Samba shares
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Cannot connect to Samba shares
24th Nov, 2017, 09:12 AM (This post was last modified: 24th Nov, 2017 09:15 AM by Nachteule.)
Post: #17
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Cannot connect to Samba shares
(24th Nov, 2017 08:02 AM)Don Pedro Wrote:  
(24th Nov, 2017 01:27 AM)Nachteule Wrote:  Ehm, I forgot to mention, that if you're using noauto as mount option, that mountpoint will be merged into autofs automagically for nfs, nfs4 and cifs mounts Smile (of course, not only if noauto is set, but it only makes sense if noauto is given)

For example, I'm using

Code:
kmcubie:/usr/src/xbian     /usr/src/xbian          nfs     defaults,noauto                            0       0

in my /etc/fstab for years and XBian is merging this into file /etc/auto.master.d/auto.xbian

Code:
/usr/src/xbian -fstype=nfs,defaults,noauto kmcubie:/usr/src/xbian

Look into file /etc/init/autofs-rebuild.conf, there is the magic code ...

Do I understand you correctly? You want to tell me I needn't do what is written in the autofs documentation (e. g. here: https://wiki.ubuntuusers.de/Autofs/), master map file, map files and stuff, but the script in /etc/init/autofs-rebuild.conf parses /etc/fstab for shares to nfs, nfs4 and cifs drives and is pushing them into a map file? Means all network shares in fstab that are not statically mounted (due to the noauto option) are forwarded to autofs and are being mounted on demand? Cool! THX for the hint!

Cheerz

Don

Exactly Big Grin And you don't have to restart anything after changing fstab, all is done automagically
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Cannot connect to Samba shares - Don Pedro - 13th Nov, 2017, 05:31 AM
RE: Cannot connect to Samba shares - Skywatch - 14th Nov, 2017, 02:39 AM
RE: Cannot connect to Samba shares - Don Pedro - 14th Nov, 2017, 05:06 AM
RE: Cannot connect to Samba shares - Skywatch - 14th Nov, 2017, 06:49 AM
RE: Cannot connect to Samba shares - Don Pedro - 16th Nov, 2017, 07:49 AM
RE: Cannot connect to Samba shares - Nachteule - 16th Nov, 2017, 08:37 AM
RE: Cannot connect to Samba shares - Don Pedro - 16th Nov, 2017, 09:23 AM
RE: Cannot connect to Samba shares - Nachteule - 16th Nov, 2017, 11:27 PM
RE: Cannot connect to Samba shares - Don Pedro - 18th Nov, 2017, 09:16 AM
RE: Cannot connect to Samba shares - Don Pedro - 20th Nov, 2017, 12:39 AM
RE: Cannot connect to Samba shares - Nachteule - 20th Nov, 2017, 03:44 AM
RE: Cannot connect to Samba shares - Don Pedro - 20th Nov, 2017, 08:51 AM
RE: Cannot connect to Samba shares - Don Pedro - 23rd Nov, 2017, 08:32 AM
RE: Cannot connect to Samba shares - Nachteule - 24th Nov, 2017, 01:27 AM
RE: Cannot connect to Samba shares - Don Pedro - 24th Nov, 2017, 08:02 AM
RE: Cannot connect to Samba shares - Nachteule - 24th Nov, 2017 09:12 AM
RE: Cannot connect to Samba shares - Don Pedro - 27th Nov, 2017, 05:55 AM
RE: Cannot connect to Samba shares - Nachteule - 27th Nov, 2017, 06:50 AM
RE: Cannot connect to Samba shares - Don Pedro - 27th Nov, 2017, 07:34 AM
RE: Cannot connect to Samba shares - Nachteule - 14th Nov, 2017, 07:00 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 24th May, 2025, 10:57 AM Powered By MyBB, © 2002-2025 MyBB Group.