Change variable type of samba_load_* from string to boolean
This commit is contained in:
parent
95432649a0
commit
59afcaf1a4
@ -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'
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user