Add support for disabling WINs
This commit is contained in:
parent
b63ca1385e
commit
8c56bc0b35
@ -51,6 +51,10 @@ No specific requirements
|
|||||||
| `samba_users` | [] | List of dicts defining users that can access shares. |
|
| `samba_users` | [] | List of dicts defining users that can access shares. |
|
||||||
| `samba_workgroup` | `WORKGROUP` | Name of the server workgroup. |
|
| `samba_workgroup` | `WORKGROUP` | Name of the server workgroup. |
|
||||||
| `samba_guest_account` | - | Guest account for unknown users |
|
| `samba_guest_account` | - | Guest account for unknown users |
|
||||||
|
| `samba_wins_support` | true | When true, Samba will act as a WINS server |
|
||||||
|
| `samba_local_master` | true | When true, nmbd will try & become local master of the subnet |
|
||||||
|
| `samba_domain_master` | true | When true, smbd enables WAN-wide browse list collation |
|
||||||
|
| `samba_preferred_master` | true | When true, indicates nmbd is a preferred master browser for workgroup |
|
||||||
|
|
||||||
### Defining users
|
### Defining users
|
||||||
|
|
||||||
|
@ -14,3 +14,8 @@ samba_create_varwww_symlinks: false
|
|||||||
samba_shares_root: '/srv/shares'
|
samba_shares_root: '/srv/shares'
|
||||||
samba_shares: []
|
samba_shares: []
|
||||||
samba_users: []
|
samba_users: []
|
||||||
|
|
||||||
|
samba_wins_support: yes
|
||||||
|
samba_local_master: yes
|
||||||
|
samba_domain_master: yes
|
||||||
|
samba_preferred_master: yes
|
||||||
|
@ -32,10 +32,10 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# Name resolution: make sure \\NETBIOS_NAME\ works
|
# Name resolution: make sure \\NETBIOS_NAME\ works
|
||||||
wins support = yes
|
wins support = {{ samba_wins_support | ternary('yes', 'no') }}
|
||||||
local master = yes
|
local master = {{ samba_local_master | ternary('yes', 'no') }}
|
||||||
domain master = yes
|
domain master = {{ samba_domain_master | ternary('yes', 'no') }}
|
||||||
preferred master = yes
|
preferred master = {{ samba_preferred_master | ternary('yes', 'no') }}
|
||||||
|
|
||||||
{% if not samba_load_printers %}
|
{% if not samba_load_printers %}
|
||||||
# Don't load printers
|
# Don't load printers
|
||||||
|
Loading…
Reference in New Issue
Block a user