Change variable type of samba_load_* from string to boolean

This commit is contained in:
Bert Van Vreckem 2015-11-05 10:44:05 +01:00
parent 95432649a0
commit 59afcaf1a4
3 changed files with 6 additions and 6 deletions

View File

@ -7,6 +7,6 @@ samba_log_size: 5000
samba_security: 'user'
samba_passdb_backend: 'tdbsam'
samba_map_to_guest: 'bad user'
samba_load_printers: 'no'
samba_load_homes: 'no'
samba_load_printers: false
samba_load_homes: false
samba_shares_root: '/srv/shares'

View File

@ -29,7 +29,7 @@
domain master = yes
preferred master = yes
{% if samba_load_printers == 'no' %}
{% if not samba_load_printers %}
# Don't load printers
load printers = no
printing = bsd
@ -37,7 +37,7 @@
disable spoolss = yes
{% endif %}
{% if samba_load_homes == 'yes' %}
{% if samba_load_homes %}
## Make home directories accessible
[homes]
comment = Home Directories

View File

@ -6,8 +6,8 @@
samba_server_string: 'Welcome to the test file server'
samba_workgroup: TESTGROUP
samba_load_homes: yes
samba_load_printers: yes
samba_load_homes: true
samba_load_printers: true
samba_log: /var/log/samba.log
samba_log_size: 60000