summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2010-09-26s4-spn: don't try to do SPN updates as a RODCAndrew Tridgell1-0/+4
we don't have the permissions to do it
2010-09-26upgradeprovision: fix a typoMatthieu Patou1-1/+1
2010-09-26upgradeprovision: Fix a bug with renamed entriesMatthieu Patou1-2/+13
The SD was not refetched for renamed entries, resulting with a try to add an additional SD when there was already one.
2010-09-26upgradeprovision: fix a bug with not updated linksMatthieu Patou1-0/+1
2010-09-26s4 provision: start with gpo of version 0 and be consistent between ↵Matthieu Patou1-1/+1
different policies
2010-09-26s4 upgradeprovision: fix a bug with empty reference objectsMatthieu Patou1-1/+9
Thanks to lukas@eecs.qmul.ac.uk for poiting it to me
2010-09-26s4 upgradeprovision: Copy versionNumber if not present it helps to make gpo ↵Matthieu Patou1-3/+3
valid
2010-09-26s4 provision: Make GPO folder group writableMatthieu Patou1-3/+3
The group of this folder is domain administrator and it seems sensible that all domain administrators have the right to modify the gpo (they have it at the NT ACLs level ...)
2010-09-26upgradeprovision: use the same case for hostname in reference provision as ↵Matthieu Patou1-1/+1
in the current provision Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Sep 26 01:21:52 UTC 2010 on sn-devel-104
2010-09-26s4-provision: switch to dns-HOSTNAME instead of dnsAndrew Tridgell1-7/+23
We now use a host specific account name for the DNS account, which is the account used for dynamic DNS updates. We also setup the servicePrincipalName for automatic update, and add both DNS/${DNSDOMAIN} and DNS/${DNSNAME} for compatibility with both the old and new SPNs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-26s4-ldapcmp: Fix usage of 'paged_search' module for remote LDB connectionsKamen Mazdrashki1-2/+3
2010-09-26s4-ldapcmp: Extend ldapcmp to be able to compare more than one context at a timeKamen Mazdrashki1-20/+33
If no arguments given, ldapcmp will compare all NCs
2010-09-25s4-net: added --ipaddress option to net commandsAndrew Tridgell6-6/+13
this allows override of server IP address, bypassing NBT or DNS name resolution of DCs Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-24s4:provision - rootdse - remove static "ldapServiceName" attributeMatthias Dieter Wallnöfer1-3/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24s4:provision - rootdse - remove static "dnsHostName" attributeMatthias Dieter Wallnöfer1-1/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24s4:provision.py - support still not fully provisioned trees regarding the ↵Matthias Dieter Wallnöfer1-2/+11
rootDSE module We simply override the NTDS settings path manually Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24s4:provision.py - make more use of "names.serverdn" on NTDS settings locationMatthias Dieter Wallnöfer1-2/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24s4:python/samba/join.py - add a comment to point out that NCs have to be ↵Matthias Dieter Wallnöfer1-0/+1
assigned dynamically We could also have DNS partitions (only to make one example). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24s4:python/samba/join.py - use constant for DC function levelMatthias Dieter Wallnöfer1-1/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-23s4-drs: we don't need to decode to utf8 in python dcerpc strings any moreAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-22s4-selftest: Move credentials tests to standard python directory.Jelmer Vernooij1-0/+100
2010-09-22s4-selftest: Move samba3sam test to standard python directory.Jelmer Vernooij1-0/+1092
2010-09-22selftest: Fix idlist running.Jelmer Vernooij2-41/+65
2010-09-22s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij2-2/+5
2010-09-22s4-param: Check type when converting python object to lp_ctx, fix someJelmer Vernooij2-6/+4
memory leaks.
2010-09-22pygensec: Implement start_mech_by_name().Jelmer Vernooij1-3/+10
2010-09-22ndrdump: Move blackbox test to standard python namespace.Jelmer Vernooij3-0/+41
2010-09-22s4-ldapcmp: Enable comparisons between LDBs tooKamen Mazdrashki1-3/+12
This will enable us to compare two LDBs or and LDB with running AD server. Comparing LDB against running running server may come into handy when one want to see if 'net vampire' command does what it does the right way
2010-09-21s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij8-4/+394
2010-09-21selftest: Fix run for systems without testtools installed.Jelmer Vernooij2-2/+1
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