configuration-templates – Diff between revs 94 and 95
?pathlinks?
Rev 94 | Rev 95 | |||
---|---|---|---|---|
Line 15... | Line 15... | |||
15 | ## / ## |
15 | ## / ## |
|
16 | ## `-- etc ## |
16 | ## `-- etc ## |
|
17 | ## `-- samba ## |
17 | ## `-- samba ## |
|
18 | ## |-- smb.conf ## |
18 | ## |-- smb.conf ## |
|
19 | ## |-- smb.conf.local ## |
19 | ## |-- smb.conf.local ## |
|
20 | ## `-- smb.conf.share ## |
20 | ## |-- smb.conf.share ## |
|
- | 21 | ## `-- smb.conf.ldap ## |
||
21 | ## ## |
22 | ## ## |
|
22 | ## Files Description: ## |
23 | ## Files Description: ## |
|
23 | ## * /etc/samba/smb.conf (this file) ## |
24 | ## * /etc/samba/smb.conf (this file) ## |
|
24 | ## * /etc/samba/smb.conf.local (local server-site settings) ## |
25 | ## * /etc/samba/smb.conf.local (local server-site settings) ## |
|
25 | ## * /etc/samba/smb.conf.share (samba shares go here) ## |
26 | ## * /etc/samba/smb.conf.share (samba shares go here) ## |
|
- | 27 | ## * /etc/samba/smb.conf.ldap (optional ldab configuration) ## |
||
26 | ## ## |
28 | ## ## |
|
27 | ########################################################################### |
29 | ########################################################################### |
|
Line 28... | Line 30... | |||
28 | |
30 | |
|
29 | [global] |
31 | [global] |
|
30 | bind interfaces only = yes |
32 | bind interfaces only = yes |
|
Line 31... | Line 33... | |||
31 | name resolve order = lmhosts host wins bcast |
33 | name resolve order = lmhosts host wins bcast |
|
32 | |
34 | |
|
33 | # Standalone. |
35 | # Standalone. |
|
34 | preferred master = yes |
- | ||
35 | security = user |
- | ||
36 | # Without authentication, shares are not visible |
- | ||
37 | browseable = no |
36 | preferred master = yes |
|
38 | public = no |
37 | security = user |
|
39 | # For compatibility with scripts. |
38 | # For compatibility with scripts. |
|
40 | passdb backend = smbpasswd |
39 | passdb backend = smbpasswd |
|
41 | map to guest = Bad Password |
40 | map to guest = Bad Password |
|
Line 73... | Line 72... | |||
73 | |
72 | |
|
74 | # Logging |
73 | # Logging |
|
75 | # 0 -> LOG_ERR, 1 -> LOG_WARNING, 2 -> LOG_NOTICE, 3 -> LOG_DEBUG |
74 | # 0 -> LOG_ERR, 1 -> LOG_WARNING, 2 -> LOG_NOTICE, 3 -> LOG_DEBUG |
|
Line -... | Line 75... | |||
- | 75 | log level = 1 |
||
- | 76 | |
||
- | 77 | # Include LDAP configuration. |
||
76 | log level = 1 |
78 | #include = /etc/samba/smb.conf.ldap |
|
77 | |
79 | |
|
Line 78... | Line 80... | |||
78 | # Include local settings. |
80 | # Include local settings. |
|
79 | include = /etc/samba/smb.conf.local |
81 | include = /etc/samba/smb.conf.local |