summaryrefslogtreecommitdiffstats
path: root/source4/scripting
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-upgradeprovision: renames need a relax to avoid subtree_rename checksAndrew Tridgell2011-02-071-2/+3
|
* s4-provision: removed spurious os.chdir() from upgradehelpers.pyAndrew Tridgell2011-02-071-1/+0
| | | | | | this breaks make test with a top level build, and is not needed Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: fixed ndrdump test for top level buildAndrew Tridgell2011-02-071-1/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-test: fixed setup/ assumption for top level buildAndrew Tridgell2011-02-073-6/+13
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-loadparm: removed "setup directory" optionAndrew Tridgell2011-02-071-8/+0
| | | | | | | the correct setup directory is known at both build time and install time using dyn_SETUPDIR, so we no longer have any need to override it Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision: cope with top level directory for provisionAndrew Tridgell2011-02-072-16/+18
| | | | | | | to allow for top level 'make test' we need to cope with two in-tree directory layouts Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4/samba-tool: Add --sync-forced flag to 'drs replicate' commandKamen Mazdrashki2011-02-021-1/+4
| | | | | | | | We are going to need this to trigger replication when inbound replication is disabled for a given DC Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Feb 2 09:03:22 CET 2011 on sn-devel-104
* s4-waf Don't install any Samba packages into PYTHONDIRAndrew Bartlett2011-02-021-1/+1
| | | | | | | This causes the parts of Samba installed into PYTHONARCHDIR to then be missed in mixed python/C module namespaces. Andrew Bartlett
* s4-python Remove manipuation of python path from samba moduleAndrew Bartlett2011-02-021-2/+1
| | | | | | | | This manipulation should be done by top level scripts, otherwise we won't find samba in the first place (and these can be munged correctly for the install). Andrew Bartlett
* s4-python Ensure we add the Samba python path first.Andrew Bartlett2011-02-021-1/+1
| | | | | | | This exact form of the construction is important, and we match on it in the installation scripts. Andrew Bartlett
* s4-python Remove unused missing.py (used by old build system)Andrew Bartlett2011-02-021-17/+0
|
* pygensec: remove special case handling for None for buffersAndrew Tridgell2011-01-191-1/+1
| | | | | | always returning a buffer makes life easier for callers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-gensec Extend python bindings for GENSEC and the associated testAndrew Bartlett2011-01-181-6/+51
| | | | | | | | | | This now tests a real GENSEC exchange, including wrap and unwrap, using GSSAPI. Therefore, it now needs to access a KDC. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jan 18 11:41:26 CET 2011 on sn-devel-104
* s4-provision: Fixed owner/group for hard-coded Sites descriptor.Nadezhda Ivanova2011-01-171-3/+1
| | | | | | | | We must not specify explicitly owner and group. As there is a difference between WIN_2003 and WIN_2008, we should let descriptor module compute the correct default ones. Also removed inherited ACEs, they are ignored during SD creation anyway. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Jan 17 18:23:24 CET 2011 on sn-devel-104
* s4-tools: Fixed a bug in ldapcmp - DACL was not retrieved correctly if the ↵Nadezhda Ivanova2011-01-171-1/+4
| | | | | | object had no SACL. --Pair-Programmed-With: Zahari Zahariev
* s4-tools: Added a --sort-aces option to ldapcmpNadezhda Ivanova2011-01-171-6/+12
| | | | | | | | This option sorts the ACE lists during SD comparison in collision view to make it easier to determine of a difference is only in ACE order, and if not, where do differences start. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Jan 17 14:09:09 CET 2011 on sn-devel-104
* web_server: Display trivial placeholder page if SWAT could not be found.Jelmer Vernooij2011-01-171-6/+19
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Jan 17 01:27:10 CET 2011 on sn-devel-104
* web_server: Avoid references to swat. Load samba.web_server instead.Jelmer Vernooij2011-01-171-0/+39
|
* waf: use PYTHONARCHDIR for installing python shared libsAndrew Tridgell2011-01-141-0/+4
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Jan 14 08:19:40 CET 2011 on sn-devel-104
* s4-samba-tool: fixed the gpo command to use the right DN for access checksAndrew Tridgell2011-01-141-5/+14
|
* s4-samba_tool Added ACL checking to python GPO management toolAndrew Bartlett2011-01-141-8/+26
|
* s4: upgradeprovision: Improve wording, punctuationMichael Wood2011-01-081-57/+60
| | | | | | | Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Jan 8 00:25:08 CET 2011 on sn-devel-104
* s4/ldapcmp: Two new options are added to the toolZahari Zahariev2011-01-071-40/+76
| | | | | | | | | | | | The new ones are --base and --scope they give us the opportunity to compare DN subsets of the partitions. Now we are also able to compare any two objects even if they have different DNs. This is exteremely helpful when you are after nasty nTSecurityDescriptor bug. Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Fri Jan 7 13:22:26 CET 2011 on sn-devel-104
* Use new style objects.Jelmer Vernooij2011-01-061-1/+2
|
* s4/ldapcmp: Correct fix for creds2Anatoliy Atanasov2011-01-051-0/+3
| | | | | We need to set domain and workstation to creds2 otherwise we get Segfault because they are not initialized correctly.
* Revert "s4/ldapcmp: Fix the parsing of the second set of credentials"Anatoliy Atanasov2011-01-051-1/+1
| | | | | This reverts commit 1cbce84683ef4fa49b85d87988c5e8db7057530a. Wrong assumption about a segmentation fault
* Revert "s4/ldapcmp: Check if creds2 is actualy set by the command line"Anatoliy Atanasov2011-01-051-1/+1
| | | | | This reverts commit f8275bae5d7b471967be7222170d049c18b8882f. Wrong assumption about a segmentation fault.
* upgradeprovision: Fix use of dict.get().Jelmer Vernooij2011-01-051-11/+5
| | | | | | | Avoid modifying list while iterating over it. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Jan 5 03:37:35 CET 2011 on sn-devel-104
* s4-python: Allow setting TEST_DEBUG_LEVEL to override debug level for tests.Jelmer Vernooij2011-01-051-0/+10
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Jan 5 01:58:44 CET 2011 on sn-devel-104
* s4/ldapcmp: Check if creds2 is actualy set by the command lineAnatoliy Atanasov2011-01-041-1/+1
| | | | | | | | | When parsing the command line for the second set of credentials the parser returns wrong user if the second set of parameters isn't set. So check if the password is set instead. Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Tue Jan 4 18:11:26 CET 2011 on sn-devel-104
* s4/ldapcmp: Fix the parsing of the second set of credentialsAnatoliy Atanasov2011-01-041-1/+1
| | | | | | | | We need this second set of credentials so we can do comparison between DCs in two different domains. Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Tue Jan 4 16:36:06 CET 2011 on sn-devel-104
* s4-devel/pfm_verify: Move schemaInfo getter into separate functionKamen Mazdrashki2010-12-221-4/+12
| | | | | | | | so it can be used against Windows DC without fetching prefixMap Fetching prefixMap doesn't work against WinDCs for some reason at the moment Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 22 01:28:49 CET 2010 on sn-devel-104
* s4-devel/pfm_verify: Extend the tool to verify schemaInfo attribute valueKamen Mazdrashki2010-12-181-6/+43
|
* pyglue: Add prototype for init function.Jelmer Vernooij2010-12-181-0/+2
|
* s4-tests: Added a speedtest for LDAP search operations with different accounts.Nadezhda Ivanova2010-12-151-11/+67
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Dec 15 21:32:09 CET 2010 on sn-devel-104
* join: Properly cancel transaction on exceptions.Jelmer Vernooij2010-12-151-35/+44
|
* Move get_loadparm() and get_credentials() to samba.tests.TestCase.Jelmer Vernooij2010-12-151-8/+15
|
* s4:scripting/python/pyglue.c - add a OOM handlingMatthias Dieter Wallnöfer2010-12-121-0/+4
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 20:50:55 CET 2010 on sn-devel-104
* s4:scripting/python/pyglue.c - optimise includesMatthias Dieter Wallnöfer2010-12-121-4/+0
|
* s4-tests: Moved some commonly redefined security descriptor methods to a ↵Nadezhda Ivanova2010-12-101-0/+79
| | | | | | utils class These methods are used in more than one testsuite now so they are now in a utility class instead of being defined everywhere.
* subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij2010-12-102-27/+12
| | | | | | | available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
* s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij2010-12-102-4/+17
| | | | package.
* subunitrun: Extend hack to cope with older system subunit run installs.Jelmer Vernooij2010-12-101-0/+2
|
* subunitrun: Remove global subunit module when reimporting from aJelmer Vernooij2010-12-101-1/+6
| | | | different location.
* s4-python: Fix use of bundled modules.Jelmer Vernooij2010-12-101-1/+1
|
* s4-python: Split up ensure_external_module.Jelmer Vernooij2010-12-102-10/+23
|
* subunitrun: Support --list.Jelmer Vernooij2010-12-101-3/+8
|
* build: do not duplicate the checks for python in samba4Matthieu Patou2010-12-091-12/+0
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu Dec 9 00:47:23 CET 2010 on sn-devel-104
* s4-param Allow +foo syntax in smb.conf list parsingAndrew Bartlett2010-12-081-2/+3
| | | | | | | | | | The idea here is to allow an smb.conf file to work from the defaults, rather than override them. For example, 'server services = +openchange'. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 8 09:39:06 CET 2010 on sn-devel-104
* samba-tools: more reasonable defaults for samba-tool commandsAndrew Tridgell2010-12-0813-53/+79
| | | | | | - fallback to machine account where possible - default to local hostname where this is reasonable