Solved: Cannot connect to Samba shares
|
24th Nov, 2017, 08:02 AM
Post: #16
|
|||
|
|||
RE: Cannot connect to Samba shares
(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 (of course, not only if noauto is set, but it only makes sense if noauto is given) 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 |
|||
24th Nov, 2017, 09:12 AM
(This post was last modified: 24th Nov, 2017 09:15 AM by Nachteule.)
Post: #17
|
|||
|
|||
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 (of course, not only if noauto is set, but it only makes sense if noauto is given) Exactly And you don't have to restart anything after changing fstab, all is done automagically |
|||
27th Nov, 2017, 05:55 AM
Post: #18
|
|||
|
|||
RE: Cannot connect to Samba shares
(24th Nov, 2017 09:12 AM)Nachteule Wrote: Exactly And you don't have to restart anything after changing fstab, all is done automagically Yep, this indeed seems to work flawlessly, no reboot problems, no errors due to outdated SMB versions, shares are mapped and available as needed, all fine! THX for your support! Don (27th Nov, 2017 05:55 AM)Don Pedro Wrote: Yep, this indeed seems to work flawlessly, no reboot problems, no errors due to outdated SMB versions, shares are mapped and available as needed, all fine! But how TF can I set a thread to "solved"? Didn't find any hint. Do I have to edit the first post of the thread and add "[SOLVED]" in the subject? BR Don |
|||
27th Nov, 2017, 06:50 AM
Post: #19
|
|||
|
|||
RE: Cannot connect to Samba shares
(27th Nov, 2017 05:55 AM)Don Pedro Wrote: Yep, this indeed seems to work flawlessly, no reboot problems, no errors due to outdated SMB versions, shares are mapped and available as needed, all fine! That's great, thanks for the feedback Quote:But how TF can I set a thread to "solved"? Didn't find any hint. Do I have to edit the first post of the thread and add "[SOLVED]" in the subject? Yes, you have to edit your first post, but you don't have to edit subject text, just select "Solved" instead of "No Prefix" prefix |
|||
27th Nov, 2017, 07:34 AM
Post: #20
|
|||
|
|||
RE: Cannot connect to Samba shares | |||
« Next Oldest | Next Newest »
|