- [Show page]
- [Old revisions]
- [[unknown link type]]
- []
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux:skoleni:firewall [2016/05/13 14:04] admin |
linux:skoleni:firewall [2016/05/13 15:47] (current) admin [OpenVPN a Easy RSA] |
||
|---|---|---|---|
| Line 239: | Line 239: | ||
| status openvpn-status.log | status openvpn-status.log | ||
| </code> | </code> | ||
| + | |||
| + | ====== Samba Server ====== | ||
| + | Priklad jednoducheho konfiguracniho souboru ''/etc/samba/smb.conf'' | ||
| + | <code> | ||
| + | [global] | ||
| + | |||
| + | workgroup = MYGROUP | ||
| + | server string = Samba Server Version %v | ||
| + | |||
| + | ; netbios name = MYSERVER | ||
| + | |||
| + | log file = /var/log/samba/log.%m | ||
| + | max log size = 50 | ||
| + | |||
| + | security = user | ||
| + | passdb backend = tdbsam | ||
| + | |||
| + | # the login script name depends on the machine name | ||
| + | ; logon script = %m.bat | ||
| + | # the login script name depends on the unix user used | ||
| + | ; logon script = %u.bat | ||
| + | ; logon path = \\%L\Profiles\%u | ||
| + | # disables profiles support by specifing an empty path | ||
| + | ; logon path = | ||
| + | |||
| + | [homes] | ||
| + | comment = Home Directories | ||
| + | browseable = no | ||
| + | writable = yes | ||
| + | |||
| + | [pub] | ||
| + | path=/srv/samba-public | ||
| + | writable = yes | ||
| + | readonly = no | ||
| + | browsable = yes | ||
| + | |||
| + | </code> | ||
| + | |||
| + | Pridejte uzivatele uziv | ||
| + | <code> | ||
| + | adduser uziv | ||
| + | pdbedit -a uziv | ||
| + | </code> | ||
| + | |||
| + | Priklad vytvoreni slozky Kos (Trash) | ||
| + | <code> | ||
| + | vfs object = recycle:recycle | ||
| + | recycle:subdir_mode = 0777 | ||
| + | recycle:repository = .recycle | ||
| + | recycle:keeptree = Yes | ||
| + | recycle:touch = Yes | ||
| + | recycle:versions = No | ||
| + | recycle:maxsize = 100000000 ; 100 metric million bytes | ||
| + | </code> | ||
| + | |||
linux/skoleni/firewall.1463141096.txt.gz · Last modified: 2016/05/13 14:04 by admin


