summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed phpldapadmin inclusion for Samba 4.Ricky Nance2012-10-172-30/+0
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Oct 17 12:55:44 CEST 2012 on sn-devel-104
* Revert "provision: Always create DNS user."Stefan Metzmacher2012-10-161-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
* samba.join: Fix multiple spaces.Jelmer Vernooij2012-10-111-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
* samba.provision.sambadns: Use == to compare strings, not 'is'.Jelmer Vernooij2012-10-111-1/+1
|
* provision: Always create DNS user.Jelmer Vernooij2012-10-111-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
* samba-tool: Some more unifications...Karolin Seeger2012-10-0915-15/+15
| | | | | | in the usage message. Karolin
* samba-tool: skip chown in sysvolreset when it would fail on a GIDAndrew Bartlett2012-10-092-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
* s4:scripting/python: add '-V' as alias for '--version'Stefan Metzmacher2012-10-081-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
* s4:samba-tool: allow 'samba-tool --version'Stefan Metzmacher2012-10-081-0/+6
| | | | metze
* s4:samba-tool: use normal option parsing in SuperCommandStefan Metzmacher2012-10-081-10/+13
| | | | | | We use the epilog to print the subcommands. metze
* s4:samba-tool: add optional epilog to _create_parser()Stefan Metzmacher2012-10-081-2/+7
| | | | metze
* samba-tool: Unify usage messages.Karolin Seeger2012-10-0813-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
* samba-tool: Clarify usage of --help.Karolin Seeger2012-10-081-1/+1
| | | | Karolin
* samba-tool: Fix typo in usage.Karolin Seeger2012-10-081-1/+1
| | | | Karolin
* s4-join: factorize code, add infoMatthieu Patou2012-10-071-5/+9
|
* s4-join: add some documentationMatthieu Patou2012-10-071-1/+11
|
* provision: Use logger rather than print.Jelmer Vernooij2012-10-031-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
* s4-provision: do not skip setting the acls on sysvolMatthieu Patou2012-10-032-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
* s4 dns: Fix return code for deleted recordsKai Blin2012-09-301-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
* sanba.upgradehelpers: Use standard functionality for getting temp dir.Jelmer Vernooij2012-09-271-3/+0
|
* s4-python: Various formatting fixes.Jelmer Vernooij2012-09-2734-210/+207
| | | | | | * Trailing whitespace * use of "==" where "is" should be used * double spaces
* samba.tests.source: Check for trailing whitespace in Python files.Jelmer Vernooij2012-09-271-1/+16
|
* samba-tool domain provision: DNS forwarder defaultRicky Nance2012-09-271-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
* samba-tool: Hide 'samba-tool domain samba3upgrade'.Jelmer Vernooij2012-09-262-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
* samba-tool domain provision: DNS forwarder is not a boolean.Jelmer Vernooij2012-09-251-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
* replace: Support setproctitle().Jelmer Vernooij2012-09-241-2/+2
| | | | | This uses the setproctitle() from libc, libsetproctitle or libbsd. If none is available it provides a dummy implementation.
* samba-tool domain-provision: Avoid python2.5-isms.Jelmer Vernooij2012-09-241-1/+4
|
* samba-tool domain-provision: Fix docstring.Jelmer Vernooij2012-09-241-2/+2
|
* s4:dns.py: reproducer for (bug #9184)Stefan Metzmacher2012-09-221-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
* Correct command help messageDaniele Dario2012-09-201-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
* s4-python: Formatting fixes, break lines.Jelmer Vernooij2012-09-1614-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
* samba.netcmd: Formatting fixes, break lines.Jelmer Vernooij2012-09-168-194/+209
|
* samba.provision.common: Fix formatting.Jelmer Vernooij2012-09-161-2/+0
|
* samba.provision.sambadns: Fix formatting.Jelmer Vernooij2012-09-161-57/+126
|
* samba.provision.backend: Fix formatting.Jelmer Vernooij2012-09-161-0/+1
|
* samba.provision: Fix formatting, NameErrors.Jelmer Vernooij2012-09-161-68/+80
|
* s4 provision: Ask for the dns forwarder IP address during interactive provisionKai Blin2012-09-122-10/+50
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:upgradehelpers.py: don't require a dns-$HOSTNAME accountStefan Metzmacher2012-09-121-3/+0
| | | | metze
* s4:provision: don't add the dns-HOSTNAME account if we use the internal dns ↵Stefan Metzmacher2012-09-121-6/+10
| | | | | | server metze
* s4 dns: use the internal DNS server per defaultKai Blin2012-09-122-15/+15
|
* s4 dns: Run python tests in fl2003dc envKai Blin2012-09-121-19/+19
|
* smbd-posix_acls: Use a IDL union to store the ACL entryAndrew Bartlett2012-09-121-41/+11
| | | | | | | This is a clearer, long-term-stable structure we can hash without risking it changing. Andrew Bartlett
* provision: Only give the "no posix ACLs" exception if we could not set the SDAndrew Bartlett2012-09-111-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
* s4:samba-tool: add 'samba-tool domain provision'Stefan Metzmacher2012-09-111-1/+264
| | | | | | This is mostly a copy of the standalone source4/setup/provision. metze
* s4:python/netcmd: give the Commad implementations access to the raw argumentsStefan Metzmacher2012-09-111-0/+8
| | | | metze
* s4:samba-tool: remove unused code in testparm.pyStefan Metzmacher2012-09-111-5/+0
| | | | metze
* join.py: Only replicate DNS zones if the source DC had DNS zonesAndrew Bartlett2012-09-061-7/+18
| | | | | | | | | This avoid folks needing to specify --dns-backend=NONE Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Sep 6 04:48:55 CEST 2012 on sn-devel-104
* selftest: Add python blackbox tests for samba-tool ntacl get/setAndrew Bartlett2012-09-051-2/+67
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 5 15:47:55 CEST 2012 on sn-devel-104
* samba_tool: Improve samba-tool ntacl get/set to use the local sam.ldb SIDAndrew Bartlett2012-09-051-19/+53
| | | | | | | | | This gets the SID for the local machine correctly. We also add options for --use-ntvfs and --use-s3fs to help control exactly which database is being read and written. Andrew Bartlett
* samba_tool: Fix ntacl get to correctly output in sddlAndrew Bartlett2012-09-051-3/+3
|