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.

(New) AMD Ryzen 7 5700X 8 Core 16 Thread AM4 Unlocked 3.4 GHz CPU OEM Tray
$174.99
Pair ID-COOLING A8-SP3 CPU Heatsink Coolers and AMD EPYC 7601 32 Core Processors
$290.00
AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$189.00
Dell OptiPlex 7060 Intel Core i7-8700 3.2GHz 8GB RAM 256GB Windows 11 Pro FAST
$159.99
AMD Ryzen 7 7800X3D 4.20GHz Quad Core 100-000000510 8 Thread AM4
$279.99
Apple Macbook Pro 13" M1 8-Core 16GB 512GB - Good
$464.99
Intel Xeon E5 - 2667V2 / SR19W 3.30GHz 25MB 8-Core CPU Socket LGA2011
$30.00
AMD Ryzen 7 9700X 8-Core 16-Thread 40MB Cache Socket AM5 9000 Series Processor
$245.99
Dell OptiPlex 5070 SFF i7-9700 (8-Core) 3.0GHz 16GB 256 SSD Windows 11
$250.00
SGIN 17.3" Laptop Intel Quad-Core Up to 2.4 GHZ 8GB RAM 256GB SSD HD
$229.99