summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2010-06-19samba.tests: Provide TestCase and TestSkipped classes (from testtools) for ↵Jelmer Vernooij1-6/+9
convenience.
2010-06-19python: Remove unnecessary Ldb.set_invocation_id - use ↵Jelmer Vernooij1-7/+0
SamDB.set_invocation_id instead.
2010-06-19pyglue: Trim dependencies.Jelmer Vernooij1-1/+1
2010-06-19pyglue: Remove unused code.Jelmer Vernooij1-27/+5
2010-06-19pydsdb: Move write_prefixes_from_schema_to_ldb to pydsdb from pyglue.Jelmer Vernooij2-27/+1
2010-06-19pydsdb: Move dsdb_set_schema_from_ldb to pydsdb.Jelmer Vernooij2-49/+1
2010-06-19pydsdb: Move set_schema_from_ldif function to pydsdb from pyglue.Jelmer Vernooij2-19/+1
2010-06-19s4:provision: don't use hardcoded 'Default-First-Site-Name'Stefan Metzmacher1-2/+2
metze Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
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-19s4-python: Use sys.prefix rather than guessing prefix from currentJelmer Vernooij1-7/+6
file path.
2010-06-19waf: Add missing dependency (so header paths are inherited) on talloc to ↵Jelmer Vernooij1-0/+1
internal python lib.
2010-06-18s4: Don't build a $prefix/lib/libpython.so, as such a library often already ↵Jelmer Vernooij1-1/+2
exists :-)
2010-06-18s4-waf: Don't include pytalloc when embedding python.Jelmer Vernooij1-1/+0
2010-06-18s4: Build more python convenience files as subsystems rather than as python ↵Jelmer Vernooij1-2/+3
modules.
2010-06-16s4:provision.py - we do now support the "Windows 2000 Native" domain ↵Matthias Dieter Wallnöfer1-3/+0
function level
2010-06-15Attempt to fix SamDB test infrastructure (not used in Samba anywhere, only ↵Jelmer Vernooij2-21/+25
in OpenChange).
2010-06-15s4:provision Allow a specific prefix map to be loaded into a new schema ↵Andrew Bartlett1-2/+3
provision This allows the prefixMap from a DRS server to be used when loading the schema from the local files. This helps us then import other schema with this map in place. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
2010-06-14s4:provision: Make gc._msdcs DNS entries A/AAAA recordsAndrew Kroeger1-0/+6
When adding an additional DC as a GC server, the new DC attempts to register its own gc._msdcs records. If the existing gc._msdcs record is a CNAME, BIND fails the update with the message "attempt to add non-CNAME alongside CNAME ignored", and the new DC is not registered as a GC server. The A & AAAA record types for gc._msdcs have been verified against the DNS server of a W2K8 DC.
2010-06-13s4-provision: Use logger in provision backends.Jelmer Vernooij2-42/+38
2010-06-13s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij5-17/+20
command-line options. This is the first step towards supporting custom test runners.
2010-06-13Remove unused version options for subunitrun.Jelmer Vernooij1-1/+0
2010-06-13upgradeprovision: Use logging infrastructure.Jelmer Vernooij2-18/+21
2010-06-13upgrade: Properly cancel/commit transactions in a couple more places.Jelmer Vernooij2-123/+136
2010-06-13s4-python: Start using standard python logging infrastructure ratherJelmer Vernooij6-97/+97
than simple messaging callbacks.
2010-06-12s4:provision Allow both additional and override prefixmaps in SchemaAndrew Bartlett2-5/+8
The idea here is to allow some callers to specify a new prefixMap that will override the values loaded from the prefixMap.txt. Andrew Bartlett
2010-06-11Add missing stub functions.Jelmer Vernooij1-0/+9
2010-06-11s4-python: Fix formatting.Jelmer Vernooij7-133/+176
2010-06-06s4:provision - fix typo in substitution variableMatthias Dieter Wallnöfer1-1/+1
2010-05-31ldb: Fix dependencies when building with system ldb.Jelmer Vernooij1-1/+1
2010-05-31s4-python: Remove cruft to deal with static python modules, which are noJelmer Vernooij2-41/+0
longer supported.
2010-05-28s4:scripting/python/modules.c - fix "asprintf" callsMatthias Dieter Wallnöfer1-2/+6
2010-05-19pynet: Raise proper exceptions rather than invoking sys.exit.Jelmer Vernooij2-8/+6
2010-05-19s4/selftest: fix passwords in selftest-vars scriptKamen Mazdrashki1-2/+2
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-3/+0
2010-05-17s4-rodc: Set am_rodc flag during provisionAnatoliy Atanasov3-11/+16
2010-05-14s4:net domainlevel tool - fix up the error handling as Jelmer suggestedMatthias Dieter Wallnöfer1-2/+4
Sorry, I've copied this from the "ldap.py" test and thought it would work.
2010-05-13s4:domainlevel - handle exceptions more preciselyMatthias Dieter Wallnöfer1-2/+2
LDB_ERR_UNWILLING_TO_PERFORM should be the right error code when the "msDS-Behavior-Version" was already raised by the first change as it is on Windows Server. When s4 itself does implement this trigger then we don't need to do the second write operation anymore (they're kept in sync).
2010-05-13s4:domainlevel.py - update the script to handle both domain level ↵Matthias Dieter Wallnöfer1-0/+25
occourrences on s4 The second "modify" is located under a try-catch block to ignore the change failure against Windows Server (there only the first change is required).
2010-05-13s4:domain functional level - it is also specified in the domain object under ↵Matthias Dieter Wallnöfer1-1/+2
partitions Discovered by the "ldapcmp" tool
2010-05-11Revert "s4-rodc: Fix provision warnings by creating ntds objectGUID in ↵Anatoliy Atanasov2-9/+1
provision" This reverts commit c3cbb846d0bfbaa11fd255bada7fa5fe502d4d96. The fix is not correct, we should cache a bool to answer amIRODC
2010-05-10v2 Latest enhancements in ldapcmp toolZahari Zahariev1-140/+262
- Added support for replicating hosts versus hosts in different domains - Added switches for the following modes: = two - ignores additional attributes that cannot be the same in two different provisions (domains) = quiet - display nothing, only return code = verbose - display all dn objects through compare fase = default - display only objects with differences - Added more placeholders for nETBIOSDomainName and ServerName
2010-05-10s4-rodc: Fix provision warnings by creating ntds objectGUID in provisionAnatoliy Atanasov2-1/+9
2010-05-09s4:net utility - make outprinted description comments more consistentMatthias Dieter Wallnöfer13-14/+14
I've added a [server connection needed] when commands won't work on the local SamDB.
2010-05-09s4:net utility - remove unixname parameter of samdb.newuserMatthias Dieter Wallnöfer1-9/+4
We don't handle the id mapping stuff manually anymore.
2010-05-09s4:samdb python bindings - remove idmap creation stuff from this callMatthias Dieter Wallnöfer1-22/+1
The id mapping should now be handled automatically by the s4 daemon.
2010-05-09s4:net utility - add an optional password attribute to "net user add"Matthias Dieter Wallnöfer1-3/+5
To make it behave similar to "net newuser".
2010-05-07s4-devel: a very useful script when dealing with library/linking issuesAndrew Tridgell1-0/+15
I use this all the time, so I thought I'd put it in the tree for others
2010-05-06s4-devel: auto-delete any leftover IPsAndrew Tridgell1-0/+8
remove IP from a previous vampire_ad.sh run
2010-05-06s4-devel: a useful script for giving DRS replication demosAndrew Tridgell1-0/+14
2010-05-04s4:py_nttime2string - removed unused variable "nt2"Matthias Dieter Wallnöfer1-2/+3
And add some linespaces to look better.