]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
gpo: Add admxload warning about Windows templates
authorDavid Mulder <dmulder@suse.com>
Wed, 24 Feb 2021 19:43:55 +0000 (12:43 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 8 Mar 2021 17:58:37 +0000 (17:58 +0000)
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/netcmd/gpo.py

index 2928ebcf7ce4d596f2c990d6f98718c5a91e4e68..818c46ddb1adee6a481e4e8f594fbd1a1b57f6ba 100644 (file)
@@ -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