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
Lenovo Laptop ThinkPad Light Gaming AMD Ryzen 7 PRO 8GB 256GB SSD Windows 11
$269.99
Lenovo ThinkPad T480s Laptop Computer 14" Core i5 8GB RAM 128GB SSD Windows 11
$199.99
Lenovo ThinkPad L13 Yoga Gen 2 i5-1145G7 @ 2.60GHz 16GB/256GB Win 10 Pro - W/Pen
$279.99
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD AMD R7 5825U 16GB RAM 512GB SSD
$529.99
Lenovo ThinkBook 15 Gen 4 Notebook 15.6" FHD Intel Core i7-1255U 8GB RAM
$544.99
Lenovo - Legion Slim 5 16" Gaming Laptop WUXGA - Ryzen 5 7640HS with 16GB Mem...
$949.99
Lenovo Legion Pro 5i 16" Gaming Laptop RTX 4070 8GB i9-13900HX 16GB RAM 1TB SSD
$1369.99
Lenovo Thinkpad E555 AMD A10-7300 1.90GHZ 8GB NO DRIVE 15.6" 1366x768 20DH002TUS
$49.95
Lenovo ThinkPad x250 12.5" Touch Laptop Intel i5 8GB RAM 128GB SSD Windows 10
$85.50
Lenovo ThinkPad T495s Laptop AMD Ryzen 7 PRO 3700U 8GB RAM 256GB SSD Windows 11
$249.99