diff --git a/templates/smb.conf.j2 b/templates/smb.conf.j2 index 067f480..2273a74 100755 --- a/templates/smb.conf.j2 +++ b/templates/smb.conf.j2 @@ -63,7 +63,7 @@ load printers = yes printing = {{ samba_printer_type }} printcap name = {{ samba_printer_type }} - {% if not samba_printer_type == 'cups' %} + {% if samba_printer_type == 'cups' %} cups server = {{ samba_cups_server }} {% endif %} {% endif %}