configuration-templates – Diff between revs 84 and 85
?pathlinks?
Rev 84 | Rev 85 | |||
---|---|---|---|---|
Line 39... | Line 39... | |||
39 | map to guest = bad user |
39 | map to guest = bad user |
|
40 | # For compatibility with clients. |
40 | # For compatibility with clients. |
|
41 | client use spnego = no |
41 | client use spnego = no |
|
42 | client ntlmv2 auth = no |
42 | client ntlmv2 auth = no |
|
Line -... | Line 43... | |||
- | 43 | |
||
- | 44 | # Samba modules. |
||
43 | |
45 | vfs objects = catia fruit streams_xattr aio_linux |
|
44 | # Better compatibility with OSX. |
46 | # Better compatibility with OSX. |
|
- | 47 | ea support = yes |
||
- | 48 | fruit:aapl = yes |
||
- | 49 | fruit:encoding = native |
||
45 | ea support = yes |
50 | fruit:locking = none |
|
- | 51 | fruit:metadata = stream |
||
- | 52 | fruit:resource = file |
||
Line 46... | Line 53... | |||
46 | vfs objects = fruit streams_xattr |
53 | aio_linux:aio num events = 256 |
|
- | 54 | |
||
47 | |
55 | ### Tweaks |
|
48 | # Safe Tweaks |
56 | # Don't tweak Linux buffers: SO_RCVBUF=131072 SO_SNDBUF=131072 |
|
49 | socket options=SO_RCVBUF=131072 SO_SNDBUF=131072 TCP_NODELAY IPTOS_LOWDELAY |
- | ||
50 | use sendfile = true |
- | ||
51 | max xmit = 65535 |
57 | socket options=TCP_NODELAY IPTOS_THROUGHPUT SO_KEEPALIVE SO_BROADCAST |
|
52 | max connections = 65535 |
58 | use sendfile = true |
|
- | 59 | max open files = 65535 |
||
53 | max open files = 65535 |
60 | min receivefile size = 131072 |
|
54 | min receivefile size = 16384 |
61 | # Requires aio_linux as last module in vfs_objects |
|
- | 62 | aio read size = 16384 |
||
55 | aio read size = 16384 |
63 | aio write size = 16384 |
|
56 | aio write size = 16384 |
64 | write cache size = 262144 |
|
57 | read raw = yes |
65 | read raw = yes |
|
58 | write raw = yes |
66 | write raw = yes |
|
59 | getwd cache = yes |
67 | # Close connection on idle time (minutes). |
|
60 | dead time = 15 |
68 | # deadtime = 15 |
|
Line 61... | Line 69... | |||
61 | kernel oplocks = yes |
69 | kernel oplocks = yes |
|
62 | server multi channel support = yes |
70 | server multi channel support = yes |
|
63 | |
71 | |
|
Line 64... | Line 72... | |||
64 | # Logging |
72 | # Logging |
|
65 | log file = /var/log/samba/log.%m |
73 | # 0 -> LOG_ERR, 1 -> LOG_WARNING, 2 -> LOG_NOTICE, 3 -> LOG_DEBUG |
|
Line 66... | Line 74... | |||
66 | log level = 2 |
74 | logging = syslog@3 |