summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2011-02-17s4:scripting/python/modules.c - remove a really unnecessary variableMatthias Dieter Wallnöfer1-1/+0
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Feb 17 16:01:44 CET 2011 on sn-devel-104
2011-02-14s4:ldapcmp: cope with range retrivals of multivalued attributesStefan Metzmacher1-1/+72
A Windows Server returns a 'member;range=0-1499' attribute with the first 1500 values of the 'member' attribute. The client can do a BASE search on the given object and ask for the 'member;range=1500-*' attribute. It needs to loop until the high part of the returned range is '*'. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 14 16:26:46 CET 2011 on sn-devel-104
2011-02-13s4/upgradeprovision: Fix help for --debugguess.Michael Wood1-1/+1
Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Feb 13 16:38:13 CET 2011 on sn-devel-104
2011-02-13s4/upgradeprovision: Typo and better word.Michael Wood1-2/+2
Signed-off-by: Matthieu Patou <mat@matws.net>
2011-02-13s4: samba_backup: Fix typos.Michael Wood1-3/+3
Signed-off-by: Matthieu Patou <mat@matws.net>
2011-02-10s4-tools: Added --sddl option, which allows the user to add an ACE to an ↵Nadezhda Ivanova1-4/+8
object's security descriptor in SDDL format Useful for testing purposes. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Thu Feb 10 15:28:04 CET 2011 on sn-devel-104
2011-02-09s4/tests: Implement a blackbox test for 'samba-tool drs' commandKamen Mazdrashki1-0/+100
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Feb 9 11:45:30 CET 2011 on sn-devel-104
2011-02-09s4/tests: Move command line processing into separate method to be reusedKamen Mazdrashki1-6/+6
2011-02-09s4/tests: Implement BlackboxTestCase.check_output() methodKamen Mazdrashki1-0/+11
I am going to need this to check if output is OK (kind of)
2011-02-09s4/samba-tool/drs: Make use of Command.message() method instead of using 'print'Kamen Mazdrashki1-36/+37
2011-02-09s4/samba-tool/drs: Move get_dsServiceName function at module level to be re-usedKamen Mazdrashki1-12/+8
2011-02-09s4/samba-tool: 'drs options' command implementationKamen Mazdrashki1-0/+71
Current implementation handle only one flag change per call
2011-02-07s4-provision: added setup_path() import in two more placesAndrew Tridgell2-1/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-python: get ordering right on python pathsAndrew Tridgell1-3/+5
we need to have PYTHONARCHDIR first, as that is where we currently install. That will minimise problems with upgrades from old installs. We also don't need to add the path twice if PYTHONDIR is the same as PYTHONARCHDIR (as happens on debian based systems) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-python Don't force "bin" into the python sys.pathAndrew Bartlett2-20/+2
This patch uses the fact that dyn_PYTHONDIR and dyn_PYTHONARCHDIR is now set properly at all times, incluidng for installed and build-directory binaries. So we don't need to make assumptions about bin being magic any more. Andrew Bartlett
2011-02-07s4-provision Remove setup_path, setup_dir and find_setup_dirAndrew Bartlett9-166/+114
We now have a reliable way to know the current location of the templates: dyn_SETUPDIR, which is updated for both the in-build and installed binaries. This replaces the function arguments and the distributed resolution of the setup directory with one 'global' function (imported as required). This also removes the ability to specify an alternate setup directory on the command line, as this was rarely if ever used and never tested. Andrew Bartlett
2011-02-07s4-upgradeprovision: renames need a relax to avoid subtree_rename checksAndrew Tridgell1-2/+3
2011-02-07s4-provision: removed spurious os.chdir() from upgradehelpers.pyAndrew Tridgell1-1/+0
this breaks make test with a top level build, and is not needed Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-test: fixed ndrdump test for top level buildAndrew Tridgell1-1/+6
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-test: fixed setup/ assumption for top level buildAndrew Tridgell3-6/+13
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07s4-loadparm: removed "setup directory" optionAndrew Tridgell1-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>
2011-02-07s4-provision: cope with top level directory for provisionAndrew Tridgell2-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>
2011-02-02s4/samba-tool: Add --sync-forced flag to 'drs replicate' commandKamen Mazdrashki1-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
2011-02-02s4-waf Don't install any Samba packages into PYTHONDIRAndrew Bartlett1-1/+1
This causes the parts of Samba installed into PYTHONARCHDIR to then be missed in mixed python/C module namespaces. Andrew Bartlett
2011-02-02s4-python Remove manipuation of python path from samba moduleAndrew Bartlett1-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
2011-02-02s4-python Ensure we add the Samba python path first.Andrew Bartlett1-1/+1
This exact form of the construction is important, and we match on it in the installation scripts. Andrew Bartlett
2011-02-02s4-python Remove unused missing.py (used by old build system)Andrew Bartlett1-17/+0
2011-01-19pygensec: remove special case handling for None for buffersAndrew Tridgell1-1/+1
always returning a buffer makes life easier for callers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-18s4-gensec Extend python bindings for GENSEC and the associated testAndrew Bartlett1-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
2011-01-17s4-provision: Fixed owner/group for hard-coded Sites descriptor.Nadezhda Ivanova1-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
2011-01-17s4-tools: Fixed a bug in ldapcmp - DACL was not retrieved correctly if the ↵Nadezhda Ivanova1-1/+4
object had no SACL. --Pair-Programmed-With: Zahari Zahariev
2011-01-17s4-tools: Added a --sort-aces option to ldapcmpNadezhda Ivanova1-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
2011-01-17web_server: Display trivial placeholder page if SWAT could not be found.Jelmer Vernooij1-6/+19
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Jan 17 01:27:10 CET 2011 on sn-devel-104
2011-01-17web_server: Avoid references to swat. Load samba.web_server instead.Jelmer Vernooij1-0/+39
2011-01-14waf: use PYTHONARCHDIR for installing python shared libsAndrew Tridgell1-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
2011-01-14s4-samba-tool: fixed the gpo command to use the right DN for access checksAndrew Tridgell1-5/+14
2011-01-14s4-samba_tool Added ACL checking to python GPO management toolAndrew Bartlett1-8/+26
2011-01-08s4: upgradeprovision: Improve wording, punctuationMichael Wood1-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
2011-01-07s4/ldapcmp: Two new options are added to the toolZahari Zahariev1-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
2011-01-06Use new style objects.Jelmer Vernooij1-1/+2
2011-01-05s4/ldapcmp: Correct fix for creds2Anatoliy Atanasov1-0/+3
We need to set domain and workstation to creds2 otherwise we get Segfault because they are not initialized correctly.
2011-01-05Revert "s4/ldapcmp: Fix the parsing of the second set of credentials"Anatoliy Atanasov1-1/+1
This reverts commit 1cbce84683ef4fa49b85d87988c5e8db7057530a. Wrong assumption about a segmentation fault
2011-01-05Revert "s4/ldapcmp: Check if creds2 is actualy set by the command line"Anatoliy Atanasov1-1/+1
This reverts commit f8275bae5d7b471967be7222170d049c18b8882f. Wrong assumption about a segmentation fault.
2011-01-05upgradeprovision: Fix use of dict.get().Jelmer Vernooij1-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
2011-01-05s4-python: Allow setting TEST_DEBUG_LEVEL to override debug level for tests.Jelmer Vernooij1-0/+10
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Jan 5 01:58:44 CET 2011 on sn-devel-104
2011-01-04s4/ldapcmp: Check if creds2 is actualy set by the command lineAnatoliy Atanasov1-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
2011-01-04s4/ldapcmp: Fix the parsing of the second set of credentialsAnatoliy Atanasov1-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
2010-12-22s4-devel/pfm_verify: Move schemaInfo getter into separate functionKamen Mazdrashki1-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
2010-12-18s4-devel/pfm_verify: Extend the tool to verify schemaInfo attribute valueKamen Mazdrashki1-6/+43
2010-12-18pyglue: Add prototype for init function.Jelmer Vernooij1-0/+2