[Samba] long scripts

Rowland Penny rpenny at samba.org
Tue Nov 22 17:15:39 UTC 2022



On 22/11/2022 16:19, Rob Campbell via samba wrote:
> 
> $ samba-tool gpo manage scripts startup add
> {31B2F340-016D-11D2-945F-00C04FB984F9} login.sh '-n'
> 
> 
> *samba-tool gpo: no such subcommand: manage*
> Usage: samba-tool gpo <subcommand>
> 
> Group Policy Object (GPO) management.
> 
> 
> Options:
>    -h, --help  show this help message and exit
> 
> 
> Available subcommands:
>    aclcheck        - Check all GPOs have matching LDAP and DS ACLs.
>    admxload        - Loads samba admx files to sysvol
>    backup          - Backup a GPO.
>    create          - Create an empty GPO.
>    del             - Delete a GPO.
>    dellink         - Delete GPO link from a container.
>    fetch           - Download a GPO.
>    getinheritance  - Get inheritance flag for a container.
>    getlink         - List GPO Links for a container.
>    list            - List GPOs for an account.
>    listall         - List all GPOs.
>    listcontainers  - List all linked containers for a GPO.
>    restore         - Restore a GPO to a new container.
>    setinheritance  - Set inheritance flag on a container.
>    setlink         - Add or update a GPO link to a container.
>    show            - Show information for a GPO.
> For more help on a specific subcommand, please type: samba-tool gpo
> <subcommand> (-h|--help)

Your Samba version is too old, not sure without checking when it was 
added, but 4.15.7 has it.

Rowland




More information about the samba mailing list