samba-gpupdate - Man Page

apply group policy



samba-gpupdate [options]


This tool is part of the samba(1) suite.

samba-gpupdate a script for applying and unapplying Group Policy. This applies password policies (minimum/maximum password age, minimum password length, and password complexity), kerberos policies (user/service ticket lifetime and renew lifetime), smb.conf policies, hourly/daily/weekly/monthly cron scripts, Sudo Privileges, Message of the Day and Logon Prompt messages, etc.


-h,  --help
show this help message and exit
URL, --url=URL URL for the samdb
-X,  --unapply
Unapply Group Policy
{Computer | User}
Reapplies all policy settings
Print the Resultant Set of Policy

Samba Common Options:

FILE, --configfile=FILE Configuration file
DEBUGLEVEL, --debuglevel=DEBUGLEVEL debug level
set smb.conf option from command line
set the realm name

Version Options:

-V,  --version
Display version number

Credentials Options:

DN to use for a simple bind
USERNAME, --username=USERNAME Username
WORKGROUP, --workgroup=WORKGROUP Workgroup
-N,  --no-pass
Don't ask for a password
KERBEROS, --kerberos=KERBEROS Use Kerberos
IP address of server
-P,  --machine-pass
Use stored machine account password


The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.


2017-07-11 Samba 4.8.0 System Administration tools