I think with automount, you are trying to get the drive mounted, before Samba is up and running.
I'm managing/transforming a lan at school. It was made of windows pcs with a very old SuSE 6.2 serving Samba shares.
I have chosen Knoppix for the migration to linux of most part of the machines in the lab, but I'm stuck with a problem.
Samba serves a common-share for all users. and I want that the share is mounted at boot-time (as in windows pcs)
So i put this line into /etc/fstab:
//192.168.0.1/common-share /mnt/common-share smbfs credentials=/root/.smbcredentials,dmask=777,fmask=777 0 0
and created /root/.smbcredentials
with:
username=myusername
password=mypassword
first problem: the mount is not automatic at boot-time.
second and main problem: a normal user cannot mount the share: the system says he hasn't got the privilege to mount it
I tried something, but in vain:
I added user,auto to fstab
chmod a+s /usr/bin/smbmnt
I must be a question related with Knoppix: I tried the same configuration on a Fedora Core 1 machine and it worked well.
tia
Antonello
I think with automount, you are trying to get the drive mounted, before Samba is up and running.

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00
IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$149.99
IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$200.00
IBM System x3755 M3 2U Rackmount Server – No Drives or Trays
$150.00
IBM POWER8 8286-42A S824 16-Core 128GB RAM 4.8TB SAS Fedora Linux Server PowerVM
$750.00
IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD.
$629.99
IBM Power S922 9009-22A Power9 DDR4 10GbE 6X SFF Barebone Server
$999.95
IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$107.56
IBM System X3650 M3 Server Xeon E5620 2.4 GHz 16 GB Ram Raid M5015 No OS No HDD
$87.96
IBM 8765-1NX Blank Slot W/ USB port 1U Rackmount Drive Enclosure ONLY NoDrive
$299.00