Add samba_server_max_protocol parameter
This commit is contained in:
parent
4add05ac71
commit
fda9ec8452
@ -44,8 +44,9 @@ No specific requirements
|
||||
| `samba_map_to_guest` | `bad user` | Behaviour when unregistered users access the shares. |
|
||||
| `samba_netbios_name` | `{{ ansible_hostname }}` | The NetBIOS name of this server. |
|
||||
| `samba_passdb_backend` | `tdbsam` | Password database backend. |
|
||||
| `samba_realm` | - | Realm domain name |
|
||||
| `samba_realm` | - | Realm domain name |
|
||||
| `samba_security` | `user` | Samba security setting |
|
||||
| `samba_server_max_protocol` | - | Specify a maximum protocol version offered by the server. |
|
||||
| `samba_server_string` | `fileserver %m` | Comment string for the server. |
|
||||
| `samba_shares` | [] | List of dicts containing share definitions. See below for details. |
|
||||
| `samba_shares_root` | `/srv/shares` | Directories for the shares are created under this directory. |
|
||||
|
@ -30,6 +30,11 @@ server string = {{ samba_server_string }}
|
||||
guest account = {{ samba_guest_account }}
|
||||
{% endif %}
|
||||
|
||||
{% if samba_server_max_protocol is defined %}
|
||||
# Maximum protocol version offered by the server
|
||||
server max protocol = {{ samba_server_max_protocol }}
|
||||
{% endif %}
|
||||
|
||||
{% if samba_interfaces|length > 0 %}
|
||||
interfaces = {{ samba_interfaces }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user