Add samba_server_max_protocol parameter
This commit is contained in:
parent
4add05ac71
commit
fda9ec8452
@ -46,6 +46,7 @@ No specific requirements
|
|||||||
| `samba_passdb_backend` | `tdbsam` | Password database backend. |
|
| `samba_passdb_backend` | `tdbsam` | Password database backend. |
|
||||||
| `samba_realm` | - | Realm domain name |
|
| `samba_realm` | - | Realm domain name |
|
||||||
| `samba_security` | `user` | Samba security setting |
|
| `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_server_string` | `fileserver %m` | Comment string for the server. |
|
||||||
| `samba_shares` | [] | List of dicts containing share definitions. See below for details. |
|
| `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. |
|
| `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 }}
|
guest account = {{ samba_guest_account }}
|
||||||
{% endif %}
|
{% 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 %}
|
{% if samba_interfaces|length > 0 %}
|
||||||
interfaces = {{ samba_interfaces }}
|
interfaces = {{ samba_interfaces }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user