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.

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX
$59.99
Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery
$54.99
Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)
$29.90
ASUS B85M-G / B85M-G PLUS LGA1150 DDR3 Micro ATX Motherboard HDMI Support 4thCPU
$45.00
GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard
$59.99
ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio
$34.99
ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB
$69.99
ASRock B550M PRO4 AM4 AMD B550 SATA 6Gb/s Micro ATX AMD Motherboard
$76.49
ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield
$84.99
MSI B460M-A Pro DDR4 LGA 1200 Micro ATX Motherboard 10th Gen
$59.99