Add samba_server_min_protocol parameter

This commit is contained in:
Jonathan G. Underwood 2018-04-03 17:07:25 +01:00
parent fda9ec8452
commit 858d4a246b
2 changed files with 8 additions and 1 deletions

View File

@ -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_min_protocol` | - | Specify a minimum protocol version offered by the server. |
| `samba_server_max_protocol` | - | Specify a maximum protocol version offered by the server. | | `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. |
@ -220,4 +221,5 @@ Pull requests are also very welcome. The best way to submit a PR is by first cre
[Paul Montero](https://github.com/lpaulmp), [Paul Montero](https://github.com/lpaulmp),
[Slavek Jurkowski](https://github.com/slavekjurkowski2), [Slavek Jurkowski](https://github.com/slavekjurkowski2),
[Sven Eeckeman](https://github.com/SvenEeckeman), [Sven Eeckeman](https://github.com/SvenEeckeman),
[Tomohiko Ozawa](https://github.com/kota65535). [Tomohiko Ozawa](https://github.com/kota65535),
[Jonathan Underwood](https://github.com/jonathanunderwood).

View File

@ -30,6 +30,11 @@ server string = {{ samba_server_string }}
guest account = {{ samba_guest_account }} guest account = {{ samba_guest_account }}
{% endif %} {% endif %}
{% if samba_server_min_protocol is defined %}
# Minimum protocol version offered by the server
server min protocol = {{ samba_server_min_protocol }}
{% endif %}
{% if samba_server_max_protocol is defined %} {% if samba_server_max_protocol is defined %}
# Maximum protocol version offered by the server # Maximum protocol version offered by the server
server max protocol = {{ samba_server_max_protocol }} server max protocol = {{ samba_server_max_protocol }}