samba-gpupdate a script for applying and unapplying Group Policy. Group Policy application is experimental. Currently this applies password policies (minimum/maximum password age, minimum password length, and password complexity) and kerberos policies (user/service ticket lifetime and renew lifetime).
-h, --help show this help message and exit
-H URL, --url=URL URL for the samdb
-X, --unapply Unapply Group Policy
--target {Computer | User}
Samba Common Options:
-s FILE, --configfile=FILE Configuration file
-d DEBUGLEVEL, --debuglevel=DEBUGLEVEL debug level
--option=OPTION set smb.conf option from command line
--realm=REALM set the realm name
Version Options:
-V, --version Display version number
Credentials Options:
--simple-bind-dn=DN DN to use for a simple bind
--password=PASSWORD Password
-U USERNAME, --username=USERNAME Username
-W WORKGROUP, --workgroup=WORKGROUP Workgroup
-N, --no-pass Don't ask for a password
-k KERBEROS, --kerberos=KERBEROS Use Kerberos
--ipaddress=IPADDRESS 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.