User Tools

Site Tools


pages:howtos:debian:automount-cifs-share-with-autofs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pages:howtos:debian:automount-cifs-share-with-autofs [2021/02/28 19:09] – [Install Required packages, check supported filesystems] mischerhpages:howtos:debian:automount-cifs-share-with-autofs [2022/11/30 14:54] (current) mischerh
Line 1: Line 1:
-{{tag>autofs cifs filesystem howto linux mount mounting samba smb ubuntu debian}}+{{tag>howto autofs cifs filesystem howto linux mount mounting samba smb ubuntu debian}} 
 +<WRAP center round important 60%> 
 +**2022-11-30**: Please note that I have discovered, that this howto is more complicated than it needs to be and is not taking advantage of the flexibility offered by autofs. But... It will work for ONE user who needs shares from ONE server mounted into his/her/... home. 
 + 
 +Anyway, this howto needs refactoring... stay tuned. 
 +</WRAP>
 ====== automount CIFS share with autofs ====== ====== automount CIFS share with autofs ======
  
Line 91: Line 96:
 vim /etc/auto.<mysambaserver>-cifs vim /etc/auto.<mysambaserver>-cifs
 </sxh> </sxh>
-<sxh bash; title: /etc/auto.<mysambaserver>-cifs>+<sxh bash; title: /etc/auto.mysambaserver-cifs>
 #!/bin/bash #!/bin/bash
 # $Id$ # $Id$
Line 188: Line 193:
 ls -als /home/<myusername>/mnt/cifs/<mysambaserver.fqdn>/<share-name> ls -als /home/<myusername>/mnt/cifs/<mysambaserver.fqdn>/<share-name>
 </sxh> </sxh>
 +
 +----
 +~~DISCUSSION~~
pages/howtos/debian/automount-cifs-share-with-autofs.1614539382.txt.gz · Last modified: 2021/02/28 19:09 by mischerh