summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2012-10-16Revert "provision: Always create DNS user."Stefan Metzmacher1-13/+18
This reverts commit c2d14747d608d406de6410556807d467cd0b85ef. samba_upgradedns handles creates/removed the dns acount. See https://lists.samba.org/archive/samba-technical/2012-October/thread.html#87578 metze
2012-10-11samba.join: Fix multiple spaces.Jelmer Vernooij1-1/+1
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Oct 11 20:30:43 CEST 2012 on sn-devel-104
2012-10-11samba.provision.sambadns: Use == to compare strings, not 'is'.Jelmer Vernooij1-1/+1
2012-10-11provision: Always create DNS user.Jelmer Vernooij1-18/+13
The DNS user is currently only used by the bind9 plugin. This makes it easier to later on switch between the builtin DNS server and bind backend. In addition, ideally the internal DNS server would use that (separate) user too. Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Oct 11 17:05:40 CEST 2012 on sn-devel-104
2012-10-09samba-tool: Some more unifications...Karolin Seeger15-15/+15
in the usage message. Karolin
2012-10-09samba-tool: skip chown in sysvolreset when it would fail on a GIDAndrew Bartlett2-13/+48
This skips the chown of the files if (for example) the domain Admins group were to own the file and not be able to because the group maps only to a GID. This essentially papers over the problem, but may be enough to get us past the Samba 4.0 release. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Oct 9 15:24:44 CEST 2012 on sn-devel-104
2012-10-08s4:scripting/python: add '-V' as alias for '--version'Stefan Metzmacher1-1/+1
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Oct 8 17:52:52 CEST 2012 on sn-devel-104
2012-10-08s4:samba-tool: allow 'samba-tool --version'Stefan Metzmacher1-0/+6
metze
2012-10-08s4:samba-tool: use normal option parsing in SuperCommandStefan Metzmacher1-10/+13
We use the epilog to print the subcommands. metze
2012-10-08s4:samba-tool: add optional epilog to _create_parser()Stefan Metzmacher1-2/+7
metze
2012-10-08samba-tool: Unify usage messages.Karolin Seeger13-60/+60
Karolin Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Mon Oct 8 14:26:52 CEST 2012 on sn-devel-104
2012-10-08samba-tool: Clarify usage of --help.Karolin Seeger1-1/+1
Karolin
2012-10-08samba-tool: Fix typo in usage.Karolin Seeger1-1/+1
Karolin
2012-10-07s4-join: factorize code, add infoMatthieu Patou1-5/+9
2012-10-07s4-join: add some documentationMatthieu Patou1-1/+11
2012-10-07devel-crackname: Print if count > 0Matthieu Patou1-2/+5
2012-10-03s4: samba_backup: Fix typos.Björn Baumbach1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-10-03provision: Use logger rather than print.Jelmer Vernooij1-1/+1
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Wed Oct 3 14:24:09 CEST 2012 on sn-devel-104
2012-10-03s4-provision: do not skip setting the acls on sysvolMatthieu Patou2-2/+4
Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Wed Oct 3 10:26:06 CEST 2012 on sn-devel-104
2012-09-30s4 dns: Fix return code for deleted recordsKai Blin1-3/+43
This fixes bug #9225. We already had a test for this scenario, but the test wasn't correct. This patch fixes the test, and also fixes the bug. Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Sun Sep 30 13:09:14 CEST 2012 on sn-devel-104
2012-09-27sanba.upgradehelpers: Use standard functionality for getting temp dir.Jelmer Vernooij1-3/+0
2012-09-27s4-python: Various formatting fixes.Jelmer Vernooij37-282/+283
* Trailing whitespace * use of "==" where "is" should be used * double spaces
2012-09-27samba.tests.source: Check for trailing whitespace in Python files.Jelmer Vernooij1-1/+16
2012-09-27samba-tool domain provision: DNS forwarder defaultRicky Nance1-0/+2
Provision would break with an exception if there was no value given for the DNS forwarder, this simply sets a default to "none". Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Sep 27 04:35:33 CEST 2012 on sn-devel-104
2012-09-26samba-tool: Hide 'samba-tool domain samba3upgrade'.Jelmer Vernooij2-12/+25
This subcommand is provided for backwards compatibility only; new use of it should be discouraged. Its new name is 'samba-tool domain classicupgrade'. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9047
2012-09-26samba_dnsupdate: Safely update/create names for Samba3 targets as wellAndrew Bartlett1-4/+14
This avoids unlocked writes to the dns_hosts_file, and may fix some of our issues on the build farm where large numbers of tests fail due to failed name resolution. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 26 05:48:25 CEST 2012 on sn-devel-104
2012-09-26samba_dnsupdate: Move to using tmpfile/rename to keep the dns_hosts_file ↵Andrew Bartlett1-3/+10
consistent This may be the cause of some of the large failure modes on the build farm. Andrew Bartlett
2012-09-25s4-python: Override SIGINT handler in scripts only.Jelmer Vernooij5-8/+26
Override the SIGINT handler in a few select cases only, rather than doing so in one of the samba Python modules. I've done this where it matters most; we can add this code to other scripts too if necessary. This means that importing the 'samba' module from a third party application does not have side-effects on the state of the signal handlers. Bug: https://bugzilla.samba.org/show_bug.cgi?id=9068
2012-09-25samba-tool domain provision: DNS forwarder is not a boolean.Jelmer Vernooij1-3/+3
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Tue Sep 25 00:48:43 CEST 2012 on sn-devel-104
2012-09-24replace: Support setproctitle().Jelmer Vernooij1-2/+2
This uses the setproctitle() from libc, libsetproctitle or libbsd. If none is available it provides a dummy implementation.
2012-09-24samba-tool domain-provision: Avoid python2.5-isms.Jelmer Vernooij1-1/+4
2012-09-24samba-tool domain-provision: Fix docstring.Jelmer Vernooij1-2/+2
2012-09-22s4:dns.py: reproducer for (bug #9184)Stefan Metzmacher1-0/+29
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 22 06:08:05 CEST 2012 on sn-devel-104
2012-09-20Correct command help messageDaniele Dario1-1/+1
Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Sep 20 16:55:17 CEST 2012 on sn-devel-104
2012-09-16s4-python: Formatting fixes, break lines.Jelmer Vernooij14-50/+69
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sun Sep 16 15:58:04 CEST 2012 on sn-devel-104
2012-09-16samba.netcmd: Formatting fixes, break lines.Jelmer Vernooij8-194/+209
2012-09-16samba.provision.common: Fix formatting.Jelmer Vernooij1-2/+0
2012-09-16samba.provision.sambadns: Fix formatting.Jelmer Vernooij1-57/+126
2012-09-16samba.provision.backend: Fix formatting.Jelmer Vernooij1-0/+1
2012-09-16samba.provision: Fix formatting, NameErrors.Jelmer Vernooij1-68/+80
2012-09-12s4 provision: Ask for the dns forwarder IP address during interactive provisionKai Blin2-10/+50
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12s4:samba_upgradedns: delete dns-HOSTNAME account if using the internal dns ↵Stefan Metzmacher1-0/+28
server metze
2012-09-12s4:upgradehelpers.py: don't require a dns-$HOSTNAME accountStefan Metzmacher1-3/+0
metze
2012-09-12s4:provision: don't add the dns-HOSTNAME account if we use the internal dns ↵Stefan Metzmacher1-6/+10
server metze
2012-09-12s4 dns: use the internal DNS server per defaultKai Blin3-18/+18
2012-09-12s4 dns: Run python tests in fl2003dc envKai Blin1-19/+19
2012-09-12s4:scripting: rename upgradeprovision -> samba_upgradeprovisionStefan Metzmacher3-2/+2
metze
2012-09-12smbd-posix_acls: Use a IDL union to store the ACL entryAndrew Bartlett1-41/+11
This is a clearer, long-term-stable structure we can hash without risking it changing. Andrew Bartlett
2012-09-11provision: Only give the "no posix ACLs" exception if we could not set the SDAndrew Bartlett1-6/+6
This will allow us to run make test on all platforms again, as we emululate the posix ACLs using the fake_acls module. By then testing smbd.have_posix_acls() we gain a more specific error message. Andrew Bartlett
2012-09-11s4:scripting: install samba_kcc to SBINDIRStefan Metzmacher1-2/+2
It's use as "%s/samba_kcc", dyn_SCRIPTSBINDIR" similar to samba_spnupdate and samba_dnsupdate. metze