일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- debian9
- omv
- Nas
- iomega
- omv5
- tm-ac1900
- uboot
- 커널 5.13.8
- EBS
- 나인봇 미니 충전
- SAMBA
- 마클미러
- Stretch
- ebs 녹음
- 바디스윙
- 모하비
- BCM94352Z
- pihole
- openmediavault
- parallel to usb
- nginx
- macvlan
- AC68U
- wrt54g
- h6000ii
- traefik2
- 골프 스윙
- webmin
- webdav
- proftpd
- Today
- Total
해피 투게더
omv 로 세팅한 samba 본문
삼바 설정
nano /etc/samba/smb.conf
#======================= Global Settings =======================
[global]
workgroup = WORKGROUP
server string = %h server
dns proxy = no
log level = 0
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
syslog only = yes
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = no
unix password sync = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdat$
pam password change = yes
socket options = TCP_NODELAY IPTOS_LOWDELAY
guest account = nobody
load printers = no
disable spoolss = yes
printing = bsd
printcap name = /dev/null
unix extensions = yes
wide links = no
create mask = 0777
directory mask = 0777
use sendfile = yes
aio read size = 16384
aio write size = 16384
null passwords = no
local master = yes
time server = no
wins support = no
#======================= Share Definitions =======================
[private]
path = /srv/dev-disk-by-id-ata-ST31500341AS_9VS3G04B-part1/private
guest ok = no
read only = no
browseable = yes
inherit acls = yes
inherit permissions = no
ea support = no
store dos attributes = no
vfs objects =
printable = no
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
hide special files = yes
follow symlinks = yes
hide dot files = yes
valid users = "dad"
invalid users = "kids"
read list =
write list = "dad"
[public]
path = /srv/dev-disk-by-id-ata-ST31500341AS_9VS3G04B-part1/public
guest ok = no
read only = no
browseable = yes
inherit acls = yes
inherit permissions = no
ea support = no
store dos attributes = no
vfs objects =
printable = no
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
hide special files = yes
follow symlinks = yes
hide dot files = yes
valid users = "kids","dad"
invalid users =
read list =
write list = "kids","dad"