summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2011-10-19s4-s3-upgrade rename samba-tool domain samba3upgrade --libdir to --dbdir for ↵Andrew Bartlett2-16/+16
clarity The things pointed at are not typically in a directory called lib, so avoid confusing our administrators. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Oct 19 15:43:04 CEST 2011 on sn-devel-104
2011-10-19s4-s3-upgrade fix format string for secrets.tdb exceptionAndrew Bartlett1-1/+1
2011-10-19s4-s3-upgrade Fix samba3upgrade code to cope with a missing wins.datAndrew Bartlett1-1/+10
2011-10-19samba.getopt: Add some basic tests.Jelmer Vernooij1-0/+57
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 19 05:04:33 CEST 2011 on sn-devel-104
2011-10-19samba.getopt: Keep exception message when setting a lp option fails.Jelmer Vernooij1-4/+5
2011-10-19samba-tool: Improve getopt.py error handlingGiampaolo Lauria1-4/+5
Modified code to handle -k and --kerberos options to: 1. Throw the correct exception 2. On error, display the correct user's specified option
2011-10-19samba-tool: Improve getopt.py error handlingGiampaolo Lauria1-1/+5
Throw an exception when the --option value is invalid
2011-10-19samba-tool: Improve getopt.py error handlingGiampaolo Lauria1-2/+1
Throw an exception when --option value is not in the form "a=b"
2011-10-19samba-tool: Improve getopt.py error handlingGiampaolo Lauria1-0/+3
Raise exception when -d or --debuglevel value is <0
2011-10-18s4-s3-upgrade: Give a better clue when we cannot open secrets.tdbAndrew Bartlett2-2/+5
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-10-17s4 provision: DNS backend should be set by callerKai Blin4-8/+13
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Mon Oct 17 09:51:12 CEST 2011 on sn-devel-104
2011-10-17s4 provision/dns: Clean up os level handlingKai Blin1-10/+12
2011-10-17s4 provision/dns: Clean up backend handlingKai Blin1-6/+13
2011-10-17s4 provision: Reword opinionated dns backend help text, add NONE backendKai Blin1-2/+2
2011-10-17s4 provision: Rename bind9 flatfile backend to BIND9_FLATFILEKai Blin2-6/+6
2011-10-16s4: check that the xattr are supported in the folder where we want to provisionMatthieu Patou1-1/+4
By default we were checking this on the default folder for tempfile.NamedTemporaryFile (usualy /tmp) but this folder can be mounted on tmpfs (which didn't support xattr currently). Now we should check on the filesystem where the provision will be done.
2011-10-14samba-tool: Add test to make sure all commands have a short description set.Jelmer Vernooij1-0/+11
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Oct 14 01:53:45 CEST 2011 on sn-devel-104
2011-10-14samba-tool: Add test to make sure all commands have a synopsis set.Jelmer Vernooij3-3/+26
2011-10-14samba-tool: Move main command implementation to samba.netcmd.main, so it is ↵Jelmer Vernooij3-61/+79
accessible by the testsuite.
2011-10-14samba-tool: Don't require full prog line to be in synopsis.Jelmer Vernooij17-98/+80
2011-10-14samba.netcmd: Reintroduce Command.name.Jelmer Vernooij2-0/+13
2011-10-14samba-tool: Determine long option from docstring.Jelmer Vernooij3-17/+25
2011-10-14creds: Remove unnecessary calls to credopts.get_credentials.Jelmer Vernooij1-2/+0
2011-10-14python: Remove extra newlines.Jelmer Vernooij1-3/+0
2011-10-13s4-messaging: Pass the loadparm context, not just the messaging pathAndrew Bartlett1-1/+0
This will allow the TDB layer to get at the lp_ctx for tdb options. Andrew Bartlett
2011-10-13samba-tool: Use self.outf in a few more places.Jelmer Vernooij13-88/+104
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 05:06:52 CEST 2011 on sn-devel-104
2011-10-13samba-tool delegation: Use self.outf, simplify some code.Jelmer Vernooij1-14/+8
2011-10-13samba.getopt: Refactor parsing of --kerberos argument into separate function.Jelmer Vernooij1-13/+16
2011-10-13samba-tools/testparm: Add really basic unit test, demonstrating how to write ↵Jelmer Vernooij1-0/+29
unit tests for samba-tool in Python. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Oct 13 01:56:20 CEST 2011 on sn-devel-104
2011-10-13netcmd: Add Command.get_logger() method.Jelmer Vernooij3-5/+8
2011-10-13netcmd: Add errf stream to command instances.Jelmer Vernooij2-8/+9
2011-10-13samba-tool/testparm: Fix traceback when checking client name/ip against ↵Jelmer Vernooij1-2/+2
hosts allowed.
2011-10-13samba-tool/testparm: Fix handling of command-line options.Jelmer Vernooij1-26/+29
2011-10-12samba.upgrade: Use list comprehension.Jelmer Vernooij1-4/+4
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 12 22:44:40 CEST 2011 on sn-devel-104
2011-10-12samba.getopt: Allow --kerberos=auto, and fix exception name if an unknownJelmer Vernooij1-1/+4
value is specified. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 12 02:12:21 CEST 2011 on sn-devel-104
2011-10-11s4-s3-upgrade: Allow import (just without a uid mapping) where getpwnam failsAndrew Bartlett1-1/+1
This allows the tests to pass on systems without a jelmer user :-) Andrew Bartlett
2011-10-08netcmd/domain: Remove unused imports.Jelmer Vernooij1-2/+2
2011-10-08netcmd: Avoid catching all exceptions, avoid using ';' at the end of lines.Jelmer Vernooij1-9/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 8 15:46:46 CEST 2011 on sn-devel-104
2011-10-08upgrade: Avoid catching all exceptions, just catch the ones we care about.Jelmer Vernooij1-11/+9
2011-10-08s4:findprovisionusnranges - the default python path is detected over "env"Matthias Dieter Wallnöfer1-1/+1
Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 8 13:06:20 CEST 2011 on sn-devel-104
2011-10-07s4:dbchecker: make use of local_oid controls for dsdb.DSDB_CONTROL_DBCHECKStefan Metzmacher1-1/+1
metze
2011-10-06samba-tool: add support for fixing broken backlinks in dbcheckAndrew Tridgell1-20/+32
this allows dangling backlinks to be removed Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 6 07:08:35 CEST 2011 on sn-devel-104
2011-10-04s4-subdomain: create trust record with forest root DCAndrew Tridgell1-7/+33
when we create a sub-subdomain we need to use the forest naming master to setup the partition changes for the new subdomain. We also need to setup the trust with the forest root, as that allows us to create the needed _msdcs DNS entries in the forest Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Oct 4 07:40:59 CEST 2011 on sn-devel-104
2011-10-04s4-join: enable cleanup on failed joinAndrew Tridgell1-1/+1
if a join fails, then cleanup the old records
2011-10-04dns: added example python script for dnsserver protocolAndrew Tridgell1-0/+89
2011-10-04samba-tool: cope with GC compares in ldapcmpAndrew Tridgell1-3/+5
the two base DNs do not need to match when doing GC replica compares
2011-10-04samba-tool: added --full-sync and --sync-all options to samba-tool drs replicateAndrew Tridgell1-3/+9
2011-10-04s4-dbchecker: fixed handling of DSDB DNs in dbcheckAndrew Tridgell1-1/+1
we need to use the original value, as ldb.Dn() can't parse a DSDB binary DN
2011-09-22s4-dbcheck: fixed transaction nesting in dbcheckAndrew Tridgell1-2/+6
ensure we don't cancel a transaction we didn't start Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Sep 22 03:39:59 CEST 2011 on sn-devel-104
2011-09-22samba-tool: use show_recycled in dbcheckerAndrew Tridgell1-13/+16
we need to use show_recycled instead of show_deleted in dbchecker to allow us to see recycled objects