summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2010-09-20rpc_talloc: Update test now that we create fewer references.Jelmer Vernooij1-7/+4
2010-09-20pytestrpc: Be more verbose.Jelmer Vernooij1-4/+6
2010-09-20testrpc: Convert from a single unit test to a simple test script, beJelmer Vernooij1-18/+32
more verbose.
2010-09-20pidl: Fix segfault when accessing unicode objects.Jelmer Vernooij1-1/+1
2010-09-21s4-devel-getncchanges: Add common Samba options as a group to be displayedKamen Mazdrashki1-0/+1
Those options are processed but never shown with --help argument
2010-09-19s4-rodc: override client site from cldap responseAndrew Tridgell1-0/+2
2010-09-19s4-dns: fixed the dns_domain_info_type for netlogon DNS callsAndrew Tridgell1-3/+14
w2k8r2 does check this field (WSPP docs need an update)
2010-09-19s4-dns: added --all-names option to samba_dnsupdateAndrew Tridgell1-1/+2
this forces the re-registration of all names
2010-09-19s4-rodc: added RODC DNS update support to samba_dnsupdateAndrew Tridgell1-3/+70
for DNS updates that have a netlogon equivalent, send via netlogon
2010-09-19s4-pydsdb: added am_rodc() method on samdbAndrew Tridgell1-0/+3
2010-09-19s4-pydsdb: don't force am_rodc unless it is set by callerAndrew Tridgell1-2/+3
we should normally get the rodc flag by looking at the database, not by forcing it in the database connect
2010-09-18s4-ldapcmp: Fix options parsing for common Samba optionsKamen Mazdrashki1-4/+10
And also set 'creds2' to be equal to 'creds' in case username2 paramater is not supplied on cmd line
2010-09-17s4-devel: developer script for adding DNS entries via netlogon RPCAndrew Tridgell1-0/+43
this calls the netlogon DsrUpdateReadOnlyServerDnsRecords call to add DNS entries for a RODC via RPC calls. The call is routed via a IRPC call to winbind, as winbind is the one with the schannel credential chaining setup. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16s4-dns: use a non-forwardable ticket in samba_dnsupdateAndrew Tridgell1-2/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-16s4-pydrs: fix for python 2.4Andrew Tridgell1-1/+1
thanks to Kamen and David Gonzalez for spotting this
2010-09-16s4-pyjoin: use new pynet finddc interfaceAndrew Tridgell1-1/+4
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell1-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>
2010-09-15s4-join: give a clear error when using short domain formAndrew Tridgell1-1/+4
we now require the full domain name, for the DNS/CLDAP lookup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-15s4-rodc: use python finddc code to avoid the need for --serverAndrew Tridgell1-6/+12
The DC is now found via DNS/CLDAP Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-12s4:fsmo.py - fix an obvious typoMatthias Dieter Wallnöfer1-1/+1
2010-09-10s4:provision: remember the setup directory if it wasn't the defaultStefan Metzmacher1-0/+8
This fixes make test without a make install. metze
2010-09-09s4-rodc: cope with missing searchFlagsAndrew Tridgell1-3/+4
this can be missing after the schema tests
2010-09-09s4-rodc: get the domain name from the partitions DNAndrew Tridgell2-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>
2010-09-09s4-provision: fixed error format stringAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09s4-pydsdb: expose samdb_partitions_dn() as get_partitions_dn() in pythonAndrew Tridgell1-0/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-05upgradeprovision: avoid working with None objects ...Matthieu Patou1-9/+10
2010-09-05upgradeprovision: do not try to remove/change attribute before the RID Set ↵Matthieu Patou1-6/+28
object is present
2010-09-05upgradeprovision: cleanupMatthieu Patou1-2/+2
2010-09-05s4 upgradeprovision: add dns_update_list if missingMatthieu Patou1-0/+4
2010-09-03pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij1-1/+1
2010-09-02s4-pidl: added a test for all generated rpc interfacesAndrew Tridgell1-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.
2010-09-02s4-net: use CommandError() in net rodcAndrew Tridgell1-4/+4
this integrates better with the net command Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-09-02s4:provision Allow OpenLDAP backend to provision againAndrew Bartlett1-0/+2
OpenLDAP does not have any post-setup requirements at the moment. Andrew Bartlett
2010-09-02s4:provision Improved error handling in provisionbackendZahari Zahariev1-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>
2010-08-26s4-devel: added enumprivs developer scriptAndrew Tridgell1-0/+58
this enumerates all LSA privileges on a server Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-26s4-net: fixed docstring on spn commandAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-26s4-net: added "net rodc preload" commandAndrew Tridgell2-0/+125
this command will preload the credentials for an account from the full domain controller Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-26s4-drs: split out drs utility python functionsAndrew Tridgell2-135/+167
these will be re-used by other net commands
2010-08-26s4-pyrpc: convert rpc_talloc.py test to unittest frameworkAndrew Tridgell1-45/+59
This fits in better with our test framework Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-25s4-pyrpc: added a test for talloc behaviour in pidl python codeAndrew Tridgell1-0/+56
2010-08-25s4-pyglue: added talloc_total_blocks() python callAndrew Tridgell2-2/+23
2010-08-25s4-rodc: removed python memory workaroundAndrew Tridgell1-2/+1
we can now assign pidl generates structures directly without errors
2010-08-25s4-pyglue: pyglue now depends on pytallocAndrew Tridgell1-1/+1
2010-08-25s4-rodc: setup secrets database at end of RODC joinAndrew Tridgell1-5/+33
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25s4-pyglue: added talloc_report_full() and talloc_enable_null_tracking()Andrew Tridgell2-0/+32
these are useful for tracking down leaks and bugs in python scripts Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-25s4-rodc: broke up RODC join into separate functionsAndrew Tridgell1-186/+194
this also removes some of the magic constants
2010-08-25s4-rodc: added REPL_SECRET exop replication of accountsAndrew Tridgell1-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>
2010-08-25s4-dsdb: added get_attid_from_lDAPDisplayName() on samdbAndrew Tridgell1-0/+3
This can be used to form the partial_attribute_set list for GetNCChanges Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-25s4-rodc: next step in RODC join codeAndrew Tridgell1-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>
2010-08-23s4-devel: added a getncchanges developer scriptAndrew Tridgell1-0/+120
this allows for command line access to getncchanges it also provides a good example of calling DRSUAPI interfaces from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>