Module | common | No module docstring; 1/1 classes, 2/2 functions documented |
Module | dbchecker | No module docstring; 1/1 classes documented |
Package | dcerpc | Undocumented |
Module | drs_utils | No module docstring; 2/2 classes, 4/4 functions documented |
Module | getopt | Support for parsing Samba-related command-line options. |
Module | hostconfig | Local host configuration. |
Module | idmap | Convenience functions for using the idmap database. |
Module | join | Joining a domain. |
Module | kcc_utils | No module docstring; 7/10 classes documented |
Module | ms_display_specifiers | No module docstring; 6/6 functions documented |
Module | ms_schema | Generate LDIF from WSPP documentation. |
Module | ndr | Network Data Representation (NDR) marshalling and unmarshalling. |
Package | netcmd | No package docstring; 1/20 modules documented |
Module | ntacls | NT Acls. |
Package | provision | Functions for setting up a Samba configuration. |
Package | samba3 | Support for reading Samba 3 data files. |
Module | samdb | Convenience functions for using the SAM. |
Module | schema | Functions for setting up a Samba Schema. |
Module | sd_utils | Utility methods for security descriptor manipulation. |
Module | sites | Manipulating sites. |
Module | socket | No module docstring; 1/1 functions documented |
Package | tests | Samba Python tests. |
Module | upgrade | Support code for upgrading from Samba 3 to Samba 4. |
Module | upgradehelpers | Helpers used for upgrading between different database formats. |
Package | web_server | Undocumented |
From the __init__.py module:
Class | Ldb | Simple Samba-specific LDB subclass that takes care of setting up the modules dir, credentials pointers, etc. |
Function | check_all_substituted | Check that all substitution variables in a string have been replaced. |
Function | dn_from_dns_name | return a DN from a DNS name domain/forest root |
Function | ensure_external_module | Add a location to sys.path if an external dependency can't be found. |
Function | import_bundled_package | Import the bundled version of a package. |
Function | in_source_tree | Return True if we are running from within the samba source tree |
Function | read_and_sub_file | Read a file and sub in variables found in it |
Function | setup_file | Setup a file in the private dir. |
Function | source_tree_topdir | Return the top level source directory. |
Function | substitute_var | Substitute strings of the form ${NAME} in str, replacing with substitutions from values. |
Function | valid_netbios_name | Check whether a name is valid as a NetBIOS name. |
Parameters | text | Text in which to subsitute. |
values | Dictionary with keys and values. |
If not, raise an exception.
Parameters | text | The text to search for substitution variables |
Parameters | file_name | File to be read (typically from setup directory) param subst_vars: Optional variables to subsitute in the file. |
Parameters | template | Path of the template file. |
fname | Path of the file to create. | |
subst_vars | Substitution variables. |
Parameters | modulename | Module name to import |
location | Location to add to sys.path (can be relative to ${srcdir}/lib) | |
Note | This should only be called if the system version of the package is not adequate. |