mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Updated templates to support disabling cifsacl in autofs mounts
This commit is contained in:
parent
22d0c87538
commit
316c0881a9
@ -19,9 +19,9 @@
|
||||
{%- for drv in drives %}
|
||||
{% if (drv.thisDrive != 'HIDE') %}
|
||||
{% if drv.label %}
|
||||
"{{ drv.label }}" {% if drv.username %}-fstype=cifs,cruid=$USER,sec=krb5,noperm,cifsacl{% else %}-fstype=cifs,cruid=$USER,sec=krb5,noperm,cifsacl,multiuser{% endif %} :{{ drv.path }}
|
||||
"{{ drv.label }}" -fstype=cifs,cruid=$USER,sec=krb5,noperm{% if drv.username %}{% else %},multiuser{% endif %}{% if drv.cifsacl %},cifsacl{% endif %} :{{ drv.path }}
|
||||
{% else %}
|
||||
"{{ drv.dir }}" {% if drv.username %}-fstype=cifs,cruid=$USER,sec=krb5,noperm,cifsacl{% else %}-fstype=cifs,cruid=$USER,sec=krb5,noperm,cifsacl,multiuser{% endif %} :{{ drv.path }}
|
||||
"{{ drv.dir }}" -fstype=cifs,cruid=$USER,sec=krb5,noperm{% if drv.username %}{% else %},multiuser{% endif %}{% if drv.cifsacl %},cifsacl{% endif %} :{{ drv.path }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
@ -19,9 +19,9 @@
|
||||
{%- for drv in drives %}
|
||||
{% if (drv.thisDrive == 'HIDE') %}
|
||||
{% if drv.label %}
|
||||
"{{ drv.label }}" {% if drv.username %}-fstype=cifs,cruid=$USER,sec=krb5,noperm,cifsacl{% else %}-fstype=cifs,cruid=$USER,sec=krb5,noperm,cifsacl,multiuser{% endif %} :{{ drv.path }}
|
||||
"{{ drv.label }}" -fstype=cifs,cruid=$USER,sec=krb5,noperm{% if drv.username %}{% else %},multiuser{% endif %}{% if drv.cifsacl %},cifsacl{% endif %} :{{ drv.path }}
|
||||
{% else %}
|
||||
"{{ drv.dir }}" {% if drv.username %}-fstype=cifs,cruid=$USER,sec=krb5,noperm,cifsacl{% else %}-fstype=cifs,cruid=$USER,sec=krb5,noperm,cifsacl,multiuser{% endif %} :{{ drv.path }}
|
||||
"{{ drv.dir }}" -fstype=cifs,cruid=$USER,sec=krb5,noperm{% if drv.username %}{% else %},multiuser{% endif %}{% if drv.cifsacl %},cifsacl{% endif %} :{{ drv.path }}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user