Skip to content

Commit

Permalink
Apply version() check
Browse files Browse the repository at this point in the history
  • Loading branch information
gorschu committed Mar 6, 2021
1 parent 8126435 commit 3d1fe4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/smb.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
{% endif %}
{% endif %}

{% if samba_mitigate_cve_2017_7494 and samba_version.stdout >= "3.5.0" and samba_version.stdout < "4.6.4" %}
{% if samba_mitigate_cve_2017_7494 and samba_version.stdout is version('3.5.0', '>=') and samba_version.stdout is version('4.6.4', '<') %}
# Fix for CVE-2017-7494 in Samba versions from 3.5.0 and before 4.6.4
# https://access.redhat.com/security/cve/cve-2017-7494
nt pipe support = no
Expand Down

0 comments on commit 3d1fe4c

Please sign in to comment.