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
Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New
$226.79
Palo Alto PA-220 Next Generation Firewall Appliance w/ Power Adapter and Cord
$59.99
Sophos XG310 Rev 1 Security Appliance Firewall Device XG 310 Distributed Edge 1U
$172.49
Cisco Meraki MX84 Cloud Managed Security Firewall Appliance UNCLAIMED MX84-HW
$39.99
Dell SonicWall TZ300 5 Port Network Security Firewall Appliance APL28-0B4
$39.99
Cisco ASA5506-K9 ASA 5506-X Network Security Firewall
$40.00
Cisco Meraki Z3 VPN Firewall - Black
$15.00
Barracuda Networks Spam Firewall 100 Anti-Virus Security Appliance BSF100a
$22.99
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
Palo Alto PA-820 Firewall Security Appliance
$120.00