diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2010-04-04 00:30:34 +0200 |
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2010-04-04 00:30:34 +0200 |
| commit | ccd954f2a7534cc27afd17b23e2fc838e10cf6b3 (patch) | |
| tree | 77ae964435274cda044a528dee063887c18f784c /source4/scripting/python/samba/__init__.py | |
| parent | aed295b97e649ef7db4300cc400bc2bd9b1a03b0 (diff) | |
| download | samba-ccd954f2a7534cc27afd17b23e2fc838e10cf6b3.tar.gz samba-ccd954f2a7534cc27afd17b23e2fc838e10cf6b3.tar.bz2 samba-ccd954f2a7534cc27afd17b23e2fc838e10cf6b3.zip | |
s4-python: Avoid importing glue directly.
Diffstat (limited to 'source4/scripting/python/samba/__init__.py')
| -rw-r--r-- | source4/scripting/python/samba/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/__init__.py b/source4/scripting/python/samba/__init__.py index 7299e113925..dd876f910d2 100644 --- a/source4/scripting/python/samba/__init__.py +++ b/source4/scripting/python/samba/__init__.py @@ -45,6 +45,8 @@ import ldb import dsdb import glue + + class Ldb(ldb.Ldb): """Simple Samba-specific LDB subclass that takes care of setting up the modules dir, credentials pointers, etc. @@ -414,3 +416,7 @@ def ensure_external_module(modulename, location): "samba.external.%s" % modulename, fromlist=["samba.external"]) version = glue.version +interface_ips = glue.interface_ips +set_debug_level = glue.set_debug_level +unix2nttime = glue.unix2nttime +generate_random_password = glue.generate_random_password |
