User Tools

Site Tools


pages:howtos:suse: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:suse:automount-cifs-share-with-autofs [2021/08/07 13:09] mischerhpages:howtos:suse:automount-cifs-share-with-autofs [2024/05/21 09:08] (current) – [Map file] mischerh
Line 1: Line 1:
 {{tag>autofs cifs filesystem howto linux mount mounting samba smb suse tumbleweed}} {{tag>autofs cifs filesystem howto linux mount mounting samba smb suse tumbleweed}}
 +
 +<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 109: Line 117:
 # http://krisko210.blogspot.com/2016/06/autofs-automount-nfs-share.html # http://krisko210.blogspot.com/2016/06/autofs-automount-nfs-share.html
 # Note: Use cifs instead of smbfs: # Note: Use cifs instead of smbfs:
-MOUNTOPTS="-fstype=cifs,file_mode=0644,dir_mode=0755,nounix,uid=1000,gid=100"+MOUNTOPTS="-fstype=cifs,file_mode=0644,dir_mode=0755,nounix,uid=1000,gid=1000"
 SMBCLIENTOPTS="" SMBCLIENTOPTS=""
 for EACH in /bin /sbin /usr/bin /usr/sbin for EACH in /bin /sbin /usr/bin /usr/sbin
Line 306: Line 314:
 service autofs start service autofs start
 </sxh> </sxh>
 +
 +----
 +~~DISCUSSION~~
pages/howtos/suse/automount-cifs-share-with-autofs.1628341747.txt.gz · Last modified: 2021/08/07 13:09 by mischerh