суббота, 1 января 2011 г.

smb.conf

[global]
workgroup = WORKGROUP
netbios name = Server
server string = Linux Server
bind interfaces only = yes
interfaces = eth0, wlan0, lo
hosts deny = ALL
hosts allow = 192.168.1.1 192.168.1.98 192.168.1.99 127.0.0.1
printcap name = /etc/printcap
printing = cups
cups options = raw
log file = /var/log/samba/log.smbd
max log size = 50
debug level = 5
security = share
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
local master = yes
preferred master = yes
domain master = no
wins support = no
dns proxy = no
guest ok = yes
guest account = nobody
unix charset = utf8
dos charset = cp1251
display charset = cp1251

[ftp]
path = /home/ftp/pub
writable = no
guest ok = yes
create mask = 0666
directory mask = 0777
read only = yes

#######################################################################

smbpasswd -a "username"

Комментариев нет:

Отправить комментарий

h265.sh

#!/bin/bash file="../mp4" if [ -d $file ]; then         echo "  Директория существует :-) "         for i in *.mp4; do f...