You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
On Windows Server operating systems there are two adml/admx files for terminal services.
TerminalServer.adml/.admx
TerminalServer-Server.adml/.admx
These files share identical policy names for `Do not allow Clipboard redirection". The Server policy redirects to the original policy
Since this is basically the same policy and ends up having the exact same path, we should just resolve it and allow it to be set using just the short name.
Steps to Reproduce the behavior
On Windows Server 2016/2019
(venv) C:\src\salt>salt-call --local lgpo.get_policy_info "Do not allow Clipboard redirection" Machine
local:
----------
message:
ADML policy name "Do not allow Clipboard redirection" is used as the display name for multiple policies. These policies matched: Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection\Do not allow Clipboard redirection, Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection\Do not allow Clipboard redirection. You can utilize these long names to specify the correct policy
policy_aliases:
policy_class:
Machine
policy_elements:
policy_found:
False
policy_name:
Do not allow Clipboard redirection
rights_assignment:
False
Expected behavior
Should just return the single non-duplicate policy name
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)
Salt Version:
Salt: 3003rc1+2846.ga6f9e76c79Dependency Versions:
cffi: 1.14.6cherrypy: 18.6.1dateutil: 2.8.1docker-py: Not Installedgitdb: 4.0.7gitpython: 3.1.18Jinja2: 3.1.0libgit2: Not InstalledM2Crypto: Not InstalledMako: 1.1.4msgpack: 1.0.2msgpack-pure: Not Installedmysql-python: Not Installedpycparser: 2.21pycrypto: Not Installedpycryptodome: 3.10.1pygit2: Not InstalledPython: 3.8.13 (tags/v3.8.13:ea67321, Jun 16 2022, 15:50:48) [MSC v.1916 64 bit (AMD64)]python-gnupg: 0.4.8PyYAML: 5.4.1PyZMQ: 19.0.0smmap: 4.0.0timelib: 0.2.4Tornado: 4.5.3ZMQ: 4.3.2System Versions:
dist:
locale: cp1252machine: AMD64release: 2019Serversystem: Windowsversion: 2019Server 10.0.17763 SP0 Multiprocessor Free```</details>
The text was updated successfully, but these errors were encountered:
Description
On Windows Server operating systems there are two adml/admx files for terminal services.
These files share identical policy names for `Do not allow Clipboard redirection". The Server policy redirects to the original policy
Since this is basically the same policy and ends up having the exact same path, we should just resolve it and allow it to be set using just the short name.
Steps to Reproduce the behavior
On Windows Server 2016/2019
Expected behavior
Should just return the single non-duplicate policy name
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)The text was updated successfully, but these errors were encountered: