summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python
Commit message (Collapse)AuthorAgeFilesLines
* s4-drs: we don't need to decode to utf8 in python dcerpc strings any moreAndrew Tridgell2010-09-231-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-selftest: Move credentials tests to standard python directory.Jelmer Vernooij2010-09-221-0/+100
|
* s4-selftest: Move samba3sam test to standard python directory.Jelmer Vernooij2010-09-221-0/+1092
|
* selftest: Fix idlist running.Jelmer Vernooij2010-09-222-41/+65
|
* s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij2010-09-222-2/+5
|
* s4-param: Check type when converting python object to lp_ctx, fix someJelmer Vernooij2010-09-222-6/+4
| | | | memory leaks.
* pygensec: Implement start_mech_by_name().Jelmer Vernooij2010-09-221-3/+10
|
* ndrdump: Move blackbox test to standard python namespace.Jelmer Vernooij2010-09-223-0/+41
|
* s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2010-09-218-4/+394
|
* selftest: Fix run for systems without testtools installed.Jelmer Vernooij2010-09-212-2/+1
|
* rpc_talloc: Update test now that we create fewer references.Jelmer Vernooij2010-09-201-7/+4
|
* pytestrpc: Be more verbose.Jelmer Vernooij2010-09-201-4/+6
|
* testrpc: Convert from a single unit test to a simple test script, beJelmer Vernooij2010-09-201-18/+32
| | | | more verbose.
* pidl: Fix segfault when accessing unicode objects.Jelmer Vernooij2010-09-201-1/+1
|
* s4-rodc: override client site from cldap responseAndrew Tridgell2010-09-191-0/+2
|
* s4-pydsdb: added am_rodc() method on samdbAndrew Tridgell2010-09-191-0/+3
|
* s4-pydsdb: don't force am_rodc unless it is set by callerAndrew Tridgell2010-09-191-2/+3
| | | | | we should normally get the rodc flag by looking at the database, not by forcing it in the database connect
* s4-pydrs: fix for python 2.4Andrew Tridgell2010-09-161-1/+1
| | | | thanks to Kamen and David Gonzalez for spotting this
* s4-pyjoin: use new pynet finddc interfaceAndrew Tridgell2010-09-161-1/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell2010-09-151-3/+0
| | | | | | | once we get the 1C lookup reply, use a CLDAP query to find the details for the server Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-join: give a clear error when using short domain formAndrew Tridgell2010-09-151-1/+4
| | | | | | we now require the full domain name, for the DNS/CLDAP lookup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rodc: use python finddc code to avoid the need for --serverAndrew Tridgell2010-09-151-6/+12
| | | | | | The DC is now found via DNS/CLDAP Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:fsmo.py - fix an obvious typoMatthias Dieter Wallnöfer2010-09-121-1/+1
|
* s4:provision: remember the setup directory if it wasn't the defaultStefan Metzmacher2010-09-101-0/+8
| | | | | | This fixes make test without a make install. metze
* s4-rodc: cope with missing searchFlagsAndrew Tridgell2010-09-091-3/+4
| | | | this can be missing after the schema tests
* s4-rodc: get the domain name from the partitions DNAndrew Tridgell2010-09-092-7/+9
| | | | | | | don't rely on the netbios domain name being the first part of the realm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: fixed error format stringAndrew Tridgell2010-09-091-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pydsdb: expose samdb_partitions_dn() as get_partitions_dn() in pythonAndrew Tridgell2010-09-091-0/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij2010-09-031-1/+1
|
* s4-pidl: added a test for all generated rpc interfacesAndrew Tridgell2010-09-021-0/+113
| | | | | | this tries to instantiate all types in all generated python RPC interfaces, then checks that all attributes can be read, written and compared.
* s4-net: use CommandError() in net rodcAndrew Tridgell2010-09-021-4/+4
| | | | | | this integrates better with the net command Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* s4:provision Allow OpenLDAP backend to provision againAndrew Bartlett2010-09-021-0/+2
| | | | | | OpenLDAP does not have any post-setup requirements at the moment. Andrew Bartlett
* s4:provision Improved error handling in provisionbackendZahari Zahariev2010-09-021-2/+3
| | | | | | | When using OpenLDAP as a backend with Samba4 we get failure during provision and this patch will help better determining the real error. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-net: fixed docstring on spn commandAndrew Tridgell2010-08-261-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-net: added "net rodc preload" commandAndrew Tridgell2010-08-262-0/+125
| | | | | | | this command will preload the credentials for an account from the full domain controller Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: split out drs utility python functionsAndrew Tridgell2010-08-262-135/+167
| | | | these will be re-used by other net commands
* s4-pyrpc: convert rpc_talloc.py test to unittest frameworkAndrew Tridgell2010-08-261-45/+59
| | | | | | This fits in better with our test framework Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* s4-pyrpc: added a test for talloc behaviour in pidl python codeAndrew Tridgell2010-08-251-0/+56
|
* s4-pyglue: added talloc_total_blocks() python callAndrew Tridgell2010-08-252-2/+23
|
* s4-rodc: removed python memory workaroundAndrew Tridgell2010-08-251-2/+1
| | | | we can now assign pidl generates structures directly without errors
* s4-pyglue: pyglue now depends on pytallocAndrew Tridgell2010-08-251-1/+1
|
* s4-rodc: setup secrets database at end of RODC joinAndrew Tridgell2010-08-251-5/+33
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pyglue: added talloc_report_full() and talloc_enable_null_tracking()Andrew Tridgell2010-08-252-0/+32
| | | | | | these are useful for tracking down leaks and bugs in python scripts Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* s4-rodc: broke up RODC join into separate functionsAndrew Tridgell2010-08-251-186/+194
| | | | this also removes some of the magic constants
* s4-rodc: added REPL_SECRET exop replication of accountsAndrew Tridgell2010-08-251-11/+58
| | | | | | | | During a RODC join, we need to fetch the secrets for the machine account and krbtgt account using GetNCChanges DRSUAPI_EXOP_REPL_SECRET calls Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added get_attid_from_lDAPDisplayName() on samdbAndrew Tridgell2010-08-251-0/+3
| | | | | | | This can be used to form the partial_attribute_set list for GetNCChanges Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rodc: next step in RODC join codeAndrew Tridgell2010-08-251-126/+218
| | | | | | | | a RODC net join can now replicate the schame, config and base partitions, by calling the net.replicate*() python hooks, and driving the GetNCChanges calls from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-net: role should be case insensitive for joinAndrew Tridgell2010-08-231-1/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-net: added initial implemention of RODC joinAndrew Tridgell2010-08-232-6/+311
| | | | | | This does the join using python code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-net: moved the net join command to pythonAndrew Tridgell2010-08-232-2/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>