s.n.gpo : module documentation

Part of samba.netcmd

No module docstring
Function samdb_connect make a ldap connection to the server
Function attr_default get an attribute from a ldap msg with a default
Function gpo_flags_string return gpo flags string
Function gplink_options_string return gplink options string
Function parse_gplink parse a gPLink into an array of dn and options
Function encode_gplink Encode an array of dn and options into gPLink string
Function dc_url If URL is not specified, return URL for writable DC. If dc is provided, use that to construct ldap URL
Function get_gpo_dn Construct the DN for gpo
Function get_gpo_info Get GPO information using gpo, displayname or dn
Function parse_unc Parse UNC string into a hostname, a service, and a filepath
Function copy_directory_remote_to_local Undocumented
Function copy_directory_local_to_remote Undocumented
Function create_directory_hier Undocumented
Class cmd_listall list all GPOs
Class cmd_list list GPOs for an account
Class cmd_show Show information for a GPO
Class cmd_getlink List GPO Links for a container
Class cmd_setlink Add or Update a GPO link to a container
Class cmd_dellink Delete GPO link from a container
Class cmd_getinheritance Get inheritance flag for a container
Class cmd_setinheritance Set inheritance flag on a container
Class cmd_fetch Download a GPO
Class cmd_create Create an empty GPO
Class cmd_gpo Group Policy Object (GPO) management
def samdb_connect(ctx):
make a ldap connection to the server
def attr_default(msg, attrname, default):
get an attribute from a ldap msg with a default
def gpo_flags_string(value):
return gpo flags string
def gplink_options_string(value):
return gplink options string
def parse_gplink(gplink):
parse a gPLink into an array of dn and options
def encode_gplink(gplist):
Encode an array of dn and options into gPLink string
def dc_url(lp, creds, url=None, dc=None):
If URL is not specified, return URL for writable DC. If dc is provided, use that to construct ldap URL
def get_gpo_dn(samdb, gpo):
Construct the DN for gpo
def get_gpo_info(samdb, gpo=None, displayname=None, dn=None):
Get GPO information using gpo, displayname or dn
def parse_unc(unc):
Parse UNC string into a hostname, a service, and a filepath
def copy_directory_remote_to_local(conn, remotedir, localdir):
Undocumented
def copy_directory_local_to_remote(conn, localdir, remotedir):
Undocumented
def create_directory_hier(conn, remotedir):
Undocumented
API Documentation for Samba, generated by pydoctor at 2012-03-06 23:17:58.