-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve ftp access to lbb, simplify samba config
- Loading branch information
outdoorbits
committed
Oct 11, 2024
1 parent
69f8ef3
commit eeec588
Showing
12 changed files
with
132 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
### Global Settings ### | ||
[global] | ||
workgroup = WORKGROUP | ||
wide links = yes | ||
unix extensions = no | ||
dns proxy = no | ||
|
||
### Debugging/Accounting ### | ||
log file = /var/log/samba/log.%m | ||
max log size = 1000 | ||
syslog = 0 | ||
panic action = /usr/share/samba/panic-action %d | ||
|
||
### Authentication ### | ||
security = user | ||
map to guest = Bad User | ||
guest account = www-data | ||
|
||
### Better Mac OS X support ### | ||
vfs objects = fruit streams_xattr | ||
fruit:metadata = stream | ||
fruit:model = MacSamba | ||
fruit:posix_rename = yes | ||
fruit:veto_appledouble = no | ||
fruit:nfs_aces = no | ||
fruit:wipe_intentionally_left_blank_rfork = yes | ||
fruit:delete_empty_adfiles = yes | ||
|
||
### Share Definitions ### | ||
|
||
[media] | ||
comment = Little Backup Box media | ||
include = /etc/samba/login.conf | ||
path = /media | ||
browseable = yes | ||
force user = www-data | ||
force group = www-data | ||
admin users = www-data | ||
writeable = yes | ||
read only = no | ||
create mask = 0777 | ||
directory mask = 0777 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
listen=NO | ||
listen_ipv6=YES | ||
anonymous_enable=NO | ||
local_enable=YES | ||
local_root=/media | ||
write_enable=YES | ||
local_umask=022 | ||
dirmessage_enable=YES | ||
use_localtime=YES | ||
xferlog_enable=YES | ||
xferlog_file=/var/log/vsftpd.log | ||
connect_from_port_20=YES | ||
idle_session_timeout=600 | ||
data_connection_timeout=120 | ||
pam_service_name=vsftpd | ||
rsa_cert_file=/etc/ssl/certs/little-backup-box.pem | ||
rsa_private_key_file=/etc/ssl/certs/little-backup-box.key | ||
ssl_enable=YES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters