summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/__init__.py
AgeCommit message (Collapse)AuthorFilesLines
2012-09-27s4-python: Various formatting fixes.Jelmer Vernooij1-1/+1
* Trailing whitespace * use of "==" where "is" should be used * double spaces
2012-05-27Avoid all(), as it's not available in Python 2.4.Jelmer Vernooij1-1/+5
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun May 27 16:13:34 CEST 2012 on sn-devel-104
2012-03-13s4-python: Remove env from non-executable samba scripts.Andreas Schneider1-2/+0
2012-03-10python: samba: Use relative import for _glue.Jelmer Vernooij1-1/+1
For some reason, using an absolute import breaks pydoctor.
2012-02-26provision: Share more code for determine_netbios_name() with ↵Jelmer Vernooij1-5/+5
samba.valid_netbios_name(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Feb 26 22:24:42 CET 2012 on sn-devel-104
2012-02-18s4-python: Various formatting fixes.Jelmer Vernooij1-3/+8
2011-09-13s4-python: Fix some formatting issues.Jelmer Vernooij1-3/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Sep 13 03:51:13 CEST 2011 on sn-devel-104
2011-08-26s4-provision Use samba.dns_name_to_dnAndrew Bartlett1-0/+4
2011-06-06s4-param Remove 'modules dir'Andrew Bartlett1-2/+3
The Samba waf build ensures that dyn_MODULESDIR is always correct (even for in-tree binaries), so we don't need to allow the user to configure this at run time. Andrew Bartlett
2011-05-18selftest: Re-enable strings.py from source3/stf as a python subunit testAndrew Bartlett1-0/+2
2011-02-07s4-provision: cope with top level directory for provisionAndrew Tridgell1-14/+16
to allow for top level 'make test' we need to cope with two in-tree directory layouts Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-02s4-python Remove manipuation of python path from samba moduleAndrew Bartlett1-2/+1
This manipulation should be done by top level scripts, otherwise we won't find samba in the first place (and these can be munged correctly for the install). Andrew Bartlett
2010-12-10subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij1-16/+1
available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
2010-12-10s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij1-0/+15
package.
2010-12-10s4-python: Fix use of bundled modules.Jelmer Vernooij1-1/+1
2010-12-10s4-python: Split up ensure_external_module.Jelmer Vernooij1-8/+22
2010-11-29s4-pyglue: added get_debug_level() methodAndrew Tridgell1-0/+1
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-11-28s4-python: Some reformatting for the purpose of pydoctor.Jelmer Vernooij1-7/+9
2010-11-28s4-pyglue: expose the remaining NTTIME functions from glueAndrew Tridgell1-0/+3
2010-11-05talloc: Add python talloc module, move convenience functions to it.Jelmer Vernooij1-3/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104
2010-11-03samba: Make in_source_tree() public.Jelmer Vernooij1-3/+3
2010-10-03s4:dsdb python stuff - introduce also here the "show_recycled" controlMatthias Dieter Wallnöfer1-2/+2
But also here beside "show_deleted" to not loose compatibility with older provisions. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-03s4-python-samba: 'file' is a built-inKamen Mazdrashki1-3/+3
2010-10-03s4-python-samba: Fix few cosmeticsKamen Mazdrashki1-4/+3
- we have sys module already imported - _glue module is part of samba package so be more precise how to import
2010-09-21selftest: Fix run for systems without testtools installed.Jelmer Vernooij1-0/+1
2010-08-25s4-pyglue: added talloc_total_blocks() python callAndrew Tridgell1-0/+1
2010-08-25s4-pyglue: added talloc_report_full() and talloc_enable_null_tracking()Andrew Tridgell1-0/+2
these are useful for tracking down leaks and bugs in python scripts Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-20s4:python LDB __init__.py - remove completely unused "erase_partitions" callMatthias Dieter Wallnöfer1-33/+0
Seems to be a relict from the past.
2010-06-20pydsdb: Mark all SamDB and Schema methods that are in pydsdb asJelmer Vernooij1-2/+2
private, to discourage them being called directly.
2010-06-20ldb: Remove last import of dsdb.Jelmer Vernooij1-12/+0
2010-06-20Some more formatting fixes, move schema related functions from Ldb to Schema.Jelmer Vernooij1-21/+8
2010-06-20Move convert_to_openldap onto Schema class.Jelmer Vernooij1-3/+0
2010-06-20Move a few more samdb-specific methods to SamDB, away from Ldb.Jelmer Vernooij1-13/+1
2010-06-20samdb: Fix formatting, move get_oid_from_attid from Ldb to SamDB.Jelmer Vernooij1-3/+0
2010-06-19python: Remove unnecessary Ldb.set_invocation_id - use ↵Jelmer Vernooij1-7/+0
SamDB.set_invocation_id instead.
2010-06-19pydsdb: Move write_prefixes_from_schema_to_ldb to pydsdb from pyglue.Jelmer Vernooij1-1/+1
2010-06-19pydsdb: Move dsdb_set_schema_from_ldb to pydsdb.Jelmer Vernooij1-1/+1
2010-06-19pydsdb: Move set_schema_from_ldif function to pydsdb from pyglue.Jelmer Vernooij1-1/+1
2010-06-19s4:python/samba/__init__.py - now specify the "relax" control for the delete ↵Matthias Dieter Wallnöfer1-5/+5
operation before the provision
2010-06-11s4-python: Fix formatting.Jelmer Vernooij1-12/+17
2010-04-29Revert "s4/dsdb: Set schemaInfo attribute value during provisioning"Kamen Mazdrashki1-3/+0
This reverts commit 8149094eddebd9a0e8b7c123c2ed54d00164bb26. Windows implementation does not set schemaInfo attribute value until first Schema update request. This way, newly provisioned forest returns no schemaInfo value. I think it won't be bad for us to have this value preset, but I want to mimic Win AD behavior as close as possible.
2010-04-15s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB ↵Matthieu Patou1-0/+3
object Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-09s4/dsdb: Set schemaInfo attribute value during provisioningKamen Mazdrashki1-0/+3
After provisioning new Forest, schemaInfo should be set to a value with revision=1 and current invocation_id
2010-04-08s4-python: rename samba.glue to samba._glue to indicate it's private.Jelmer Vernooij1-9/+9
2010-04-08s4-python: Fix formatting, import of FLG_NOSYNC.Jelmer Vernooij1-1/+1
2010-04-07s4-samdb: Allow skipping global schema.Jelmer Vernooij1-5/+5
2010-04-06s4-python: Move set_session_info to PySambaLdb.Jelmer Vernooij1-3/+0
2010-04-06s4-python: Move register_samba_handlers to PySambaLdb.Jelmer Vernooij1-1/+1
2010-04-06s4-python: Move ldb_set_utf8_casefold to pyldb-samba.Jelmer Vernooij1-11/+3