Merge pull request #20 from SvenEeckeman/master

Added support for Realmd
This commit is contained in:
Bert Van Vreckem 2017-11-21 08:58:07 +01:00 committed by GitHub
commit 99ff1abb1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -44,6 +44,7 @@ No specific requirements
| `samba_map_to_guest` | `bad user` | Behaviour when unregistered users access the shares. | | `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_netbios_name` | `{{ ansible_hostname }}` | The NetBIOS name of this server. |
| `samba_passdb_backend` | `tdbsam` | Password database backend. | | `samba_passdb_backend` | `tdbsam` | Password database backend. |
| `samba_realm` | - | Realm domain name |
| `samba_security` | `user` | Samba security setting | | `samba_security` | `user` | Samba security setting |
| `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. |

View File

@ -8,6 +8,9 @@
netbios name = {% if samba_netbios_name is defined %}{{ samba_netbios_name }}{% else %}{{ ansible_hostname }}{% endif %} netbios name = {% if samba_netbios_name is defined %}{{ samba_netbios_name }}{% else %}{{ ansible_hostname }}{% endif %}
workgroup = {{ samba_workgroup }} workgroup = {{ samba_workgroup }}
{% if samba_realm is defined %}
realm = {{ samba_realm }}
{% endif %}
server string = {{ samba_server_string }} server string = {{ samba_server_string }}
# Logging # Logging