Hi, when I start samba server, and choose YES when a dialog ask me "Export all drives so that....", but it does not export all drives.
I check the /etc/samba/smb.conf file, no additional configs is appended.
but v4.0.2 works fine.
Hi, when I start samba server, and choose YES when a dialog ask me "Export all drives so that....", but it does not export all drives.
I check the /etc/samba/smb.conf file, no additional configs is appended.
but v4.0.2 works fine.
Okay, I found what cause this problem:
Open /usr/sbin/sambastart, goto line 86, column 45, I found the script try to find mount point contains /mnt from /etc/fstab, but, it seems both Fedora Core 5 and Knoppix 5 move the mount point to /media instead of /mnt, so of course, the script can't find any drives/mount points...
Code:#ask user and export hardisks if he decides to do so #can be done with append to smb.conf as its always a fresh copy #(made above) if $FORCEEXPORT || $DIALOG --title "$TITLE" --defaultno --yesno "$MESSAGE_EXPORTS" 0 0 ; then for HD in $(cut -d " " -f 2 /etc/fstab|grep /mnt) ; do # change /mnt to /media NAME=$(basename $HD) cat >>$SMBCONF <<EOF [$NAME] comment = $HD browseable = yes path = $HD writeable = yes preexec = /bin/mount $HD postexec = /bin/umount $HD EOF done fi
Custom Gaming Desktop PC Intel Core i7 2.80 Quad 8 GB 1 TB Nvidia K620 2 GB Wifi
$299.00
Dell 14" TOUCHSCREN Laptop 8th Gen Core i5 16GB RAM 512GB SSD/256 Bluetooth W11
$235.00
Custom Gaming Desktop PC Intel Core i5 Quad 8 GB 500 GB Nvidia K620 2 GB Wifi
$279.00
Dell Optiplex 3040 Desktop Computer Intel Core i3-6100 8GBRam 2TB HDD Windows 10
$71.99
Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...
$274.99
HP Essential Laptop Computer 15.6" HD Intel Core i7 8 GB memory; 128 GB SSD
$599.99
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$509.99
OPEN BOX Apple iMac 2020-2023 27" 10-CORE i9 4TB SSD 128GB RAM 5700XT 16GB 5K
$2995.00
Dell OptiPlex 3060 MT Core i5 8th Gen 32GB Ram 1TB SSD Windows 11 Computer
$299.00
Windows 11 Home Mini PC Intel N4100 Quad Core 2.7GHz 8GB RAM DDR4 256GB SSD
$89.59