From: David Mulder Date: Wed, 24 Feb 2021 19:43:55 +0000 (-0700) Subject: gpo: Add admxload warning about Windows templates X-Git-Tag: tevent-0.11.0~1664 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66ac3c1959c19d8d4e6f03f7784f8996a84cae96;p=thirdparty%2Fsamba.git gpo: Add admxload warning about Windows templates Signed-off-by: David Mulder Reviewed-by: Jeremy Allison --- diff --git a/python/samba/netcmd/gpo.py b/python/samba/netcmd/gpo.py index 2928ebcf7ce..818c46ddb1a 100644 --- a/python/samba/netcmd/gpo.py +++ b/python/samba/netcmd/gpo.py @@ -1669,6 +1669,12 @@ class cmd_admxload(Command): if e.args[0] == 0xC0000022: # STATUS_ACCESS_DENIED raise CommandError("The authenticated user does " "not have sufficient privileges") + self.outf.write('Installing ADMX templates to the Central Store ' + 'prevents Windows from displaying its own templates ' + 'in the Group Policy Management Console. You will ' + 'need to install these templates ' + 'from https://www.microsoft.com/en-us/download/102157 ' + 'to continue using Windows Administrative Templates. ') class cmd_add_sudoers(Command): """Adds a Samba Sudoers Group Policy to the sysvol