samba-tool: Clarify cse register command file dest
authorDavid Mulder <dmulder@samba.org>
Mon, 27 Feb 2023 15:37:10 +0000 (08:37 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 3 Mar 2023 01:07:37 +0000 (01:07 +0000)
Signed-off-by: David Mulder <dmulder@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/gpo.py

index 2f882cbf51cc5c198fee7fdc727326ff7eae01c4..05202a63f48ccdd12a318d9eade3ee0709bce950 100644 (file)
@@ -4286,10 +4286,14 @@ samba-tool gpo manage access remove {31B2F340-016D-11D2-945F-00C04FB984F9} allow
 class cmd_cse_register(Command):
     """Register a Client Side Extension (CSE) on the current host
 
-This command takes a CSE filename as an arguement, and registers it for
+This command takes a CSE filename as an argument, and registers it for
 applying policy on the current host. This is not necessary for CSEs which
 are distributed with the current version of Samba, but is useful for installing
 experimental CSEs or custom built CSEs.
+The <cse_file> argument MUST be a permanent location for the CSE. The register
+command does not copy the file to some other directory. The samba-gpupdate
+command will execute the CSE from the exact location specified from this
+command.
 
 Example:
 samba-tool gpo cse register ./gp_chromium_ext.py gp_chromium_ext --machine
@@ -4359,7 +4363,7 @@ samba-tool gpo cse list
 class cmd_cse_unregister(Command):
     """Unregister a Client Side Extension (CSE) from the current host
 
-This command takes a unique GUID as an arguement (representing a registered
+This command takes a unique GUID as an argument (representing a registered
 CSE), and unregisters it for applying policy on the current host. Use the
 `samba-tool gpo cse list` command to determine the unique GUIDs of CSEs.