summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python
Commit message (Collapse)AuthorAgeFilesLines
* s4 python: fix glues functions manipulating NTTIMEMatthieu Patou2010-05-021-1/+35
| | | | | The fix include reverse function (from NTTIME to timestamp) + fix on the transformation of a NTTIME to a PyLong object
* Revert "s4/dsdb: Set schemaInfo attribute value during provisioning"Kamen Mazdrashki2010-04-293-31/+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.
* s4:provisionbackend Don't loop forever waiting for OpenLDAPAndrew Bartlett2010-04-281-0/+6
| | | | | | | We need to give a good error when we can't get OpenLDAP to accept our connections. Andrew Bartlett
* s4-provision: setup spn_update_list in provisionAndrew Tridgell2010-04-271-1/+5
|
* s4-python: added --realm option to python scriptsAndrew Tridgell2010-04-211-1/+7
| | | | | | this is needed for net vampire Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-python: accept --option arguments in python cmdline parsingAndrew Tridgell2010-04-211-10/+17
| | | | | | also fixed the -d option to use lp.set() which calls lp_set_cmdline() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-net: don't show a full python exception when you can't open sam.ldbAndrew Tridgell2010-04-201-2/+2
|
* s4-python: added PYTHONDIR to python search pathAndrew Tridgell2010-04-201-0/+5
| | | | | we put it after the scripting/python dir, so we look in the build directory (if applicable) first.
* s4:provisionbackend Print the command we failed to start slapd withAndrew Bartlett2010-04-201-1/+2
| | | | | | This makes it easier to put failed startups into a debugger. Andrew Bartlett
* s4:provision Pass in the invoication ID and NTDS Settings DN to Schema()Andrew Bartlett2010-04-203-11/+31
| | | | | | | By putting these values into the cache on the LDB, this reduces some of the noise in provision, particularly with the LDAP backend. Andrew Bartlett
* s4-net: allow a username to be displayed in setpassword errorsAndrew Tridgell2010-04-161-1/+6
| | | | | | the filter is a bit too cryptic Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-net: nicer error message (and no exception)Andrew Tridgell2010-04-162-5/+17
| | | | | | | in net newuser and net setpasswd we shouldn't be throwing python exceptions on normal user errors like unknown user Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* pydsdb: Fix memory leak on invalid parameters, formatting, trivialJelmer Vernooij2010-04-151-9/+7
| | | | typos.
* s4 python: add a unit test for function dsdb_get_oid_from_attidMatthieu Patou2010-04-151-0/+44
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 python: make the function dsdb_get_oid_from_attid reachable from a samDB ↵Matthieu Patou2010-04-151-0/+3
| | | | | | object Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fixed a problem with provision missing the default_dir/etc directory.Nadezhda Ivanova2010-04-121-2/+2
|
* s4-net: Add definition of outf.Jelmer Vernooij2010-04-121-0/+2
|
* s4:provision Don't make the 'slaptest' call produce errorsAndrew Bartlett2010-04-101-6/+3
| | | | | | Adding -n 0 also allows us to check the error code too Andrew Bartlett
* s4-waf: only enable the python uuid module if python <= 2.4Andrew Tridgell2010-04-091-1/+2
|
* s4-net: Cope with options without arguments.Jelmer Vernooij2010-04-091-1/+2
|
* s4-net: 'net user create' -> 'net user add', for backwards compatibility.Jelmer Vernooij2010-04-091-3/+3
|
* Support --version in python scripts.Jelmer Vernooij2010-04-091-0/+8
|
* s4-net: Convert machinepw command to python.Jelmer Vernooij2010-04-094-63/+114
|
* s4-net: Convert vampire command over to Python.Jelmer Vernooij2010-04-092-0/+117
|
* s4-net: Convert user subcommand to Python.Jelmer Vernooij2010-04-092-0/+76
|
* s4/dsdb: Set schemaInfo attribute value during provisioningKamen Mazdrashki2010-04-093-0/+31
| | | | | After provisioning new Forest, schemaInfo should be set to a value with revision=1 and current invocation_id
* s4-net: Convert 'net time' to python.Jelmer Vernooij2010-04-082-0/+47
|
* net: Convert time command to python.Jelmer Vernooij2010-04-081-1/+1
|
* s4-net: Use new Net() object in net export keytab.Jelmer Vernooij2010-04-081-2/+2
|
* pynet: Create a net class.Jelmer Vernooij2010-04-081-3/+4
|
* s4-python: Fix formatting, use standard convention to call instance methods.Jelmer Vernooij2010-04-086-49/+51
|
* s4-python: Cancel transaction properly in case of exceptions, fix formatting.Jelmer Vernooij2010-04-081-29/+33
|
* s4-python: Move load_partition_usn to dsdb module.Jelmer Vernooij2010-04-082-48/+3
|
* s4-python: More cleanups.Jelmer Vernooij2010-04-084-15/+27
|
* s4-python: rename samba.glue to samba._glue to indicate it's private.Jelmer Vernooij2010-04-085-18/+18
|
* s4-python: Fix formatting, import of FLG_NOSYNC.Jelmer Vernooij2010-04-082-2/+2
|
* s4-python: Simplify code, improve formatting.Jelmer Vernooij2010-04-086-210/+178
|
* s4-python: Remove obsolete and broken torture modules.Jelmer Vernooij2010-04-085-963/+0
| | | | | The functionality of these modules is already present in a more current form in other modules.
* s4-python: samdb: Default to using global schema.Jelmer Vernooij2010-04-081-2/+1
|
* Migrate 'net export keytab' to python.Jelmer Vernooij2010-04-082-0/+59
|
* s4-net: Simplify SamDB connect code.Jelmer Vernooij2010-04-088-49/+10
|
* s4-python: Move set_global_schema to pydsdb.Jelmer Vernooij2010-04-082-19/+1
|
* s4-samdb: Allow skipping global schema.Jelmer Vernooij2010-04-073-8/+9
|
* s4-provision: Proper handling of exceptions, use SamDB class but skip global ↵Jelmer Vernooij2010-04-071-10/+17
| | | | schema.
* s4-python: Move samdb_ntds_objectGUID to pydsdb.Jelmer Vernooij2010-04-073-157/+48
|
* s4:provision - add a comment which explains why "paths.dns_keytab" is stored ↵Matthias Dieter Wallnöfer2010-04-071-0/+3
| | | | without path reference
* s4-python: Use standard infrastructure for finding included testtools, ↵Jelmer Vernooij2010-04-071-2/+0
| | | | subunit and iso8601.
* s4-python: Move set_session_info to PySambaLdb.Jelmer Vernooij2010-04-063-31/+4
|
* s4-python: Move register_samba_handlers to PySambaLdb.Jelmer Vernooij2010-04-062-20/+1
|
* s4-python: Move ldb_set_utf8_casefold to pyldb-samba.Jelmer Vernooij2010-04-062-29/+3
|