summaryrefslogtreecommitdiffstats
path: root/source4/scripting/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* upgradeprovision: do not hold references to messageElementsMatthieu Patou2012-01-031-10/+17
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Jan 3 08:20:02 CET 2012 on sn-devel-104
* upgradeprovision: treat provision without oem attribute as quite recent, ↵Matthieu Patou2012-01-031-1/+1
| | | | it's provision that comes from Windows replication
* samba_kcc NTDSConnection translationDave Craft2011-12-081-110/+610
| | | | | | | | | | | | | | | This is an advancement of samba_kcc to compute and commit the modification of a repsFrom on an NC Replica. The repsFrom is computed according to the MS tech spec for implied replicas of NTDSConnections. Proper maintenance of (DRS options, schedules, etc) from a NTDSConnection are now all present. New classes for inter-site transports, sites, and repsFrom) are now present in kcc_utils.py. Substantively this gets intra-site topology generation functional by committing the repsFrom that were computed from the DSA graph implemented in prior drops of samba_kcc Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dnsupdate: Do not attempt to add the PDC names if we are not a PDCAndrew Bartlett2011-12-071-5/+11
|
* s4:libnet/py_net.c: "py_net_finddc" - add an "address" parameterMatthias Dieter Wallnöfer2011-11-261-1/+1
| | | | | | | | This is useful for a new "samba-tool domain info" command. Patch inspired by Matthieu Patou. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-dns: added --no-credentials option to samba_dnsupdateAndrew Tridgell2011-11-221-3/+10
| | | | | | | | this is for a user who is doing DNS updates via key files rather than GSSAPI. This allows the update to go through without a kerberos error Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 22 06:34:59 CET 2011 on sn-devel-104
* s4:dsdb/pydsdb: pass down schema_dn to _dsdb_set_schema_from_ldif()Stefan Metzmacher2011-11-151-3/+4
| | | | metze
* Fix default value for subunitrun --list.Jelmer Vernooij2011-11-141-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 14 17:27:03 CET 2011 on sn-devel-104
* subunitrun: Don't load smb.conf when just listing tests.Jelmer Vernooij2011-11-141-4/+5
|
* subunitrun: Add notes about subunitrun being deprecated.Jelmer Vernooij2011-11-101-0/+12
|
* Revert "test: added -D option to subunitrun"Jelmer Vernooij2011-11-101-5/+0
| | | | | | | | | | This reverts commit ac0bba2ea18e2e9ac578a333a3b260951e4c976e. "python -m subunit.run" is the preferred way of running tests to generate subunit. I also don't want to move too far away from the standard test running infrastructure for python so that other test runners (nosetests, trial, tribunal, ...) can be used with Samba code.
* test: added -D option to subunitrunAndrew Tridgell2011-11-101-0/+5
| | | | | | | | this allows for: subunitrun -D lib/ldb/tests/python api which makes this easier for developers
* samba_kcc: Remove unnecessary return statements.Jelmer Vernooij2011-11-071-17/+0
|
* kcc: fixed program nameAndrew Tridgell2011-11-071-3/+3
| | | | kcccompute -> samba_kcc
* kcc: fixed tabs/spaces in kcc python implementationAndrew Tridgell2011-11-071-5/+5
| | | | as spotted by autobuild
* samba_kcc addtionDave Craft2011-11-072-0/+704
| | | | | | | | | | Scaffolding and initial implementations of portions of the KCC in python. This code currently properly computes the graph nodes for the intrasite topology as well as enumerating all steps for a full run of the KCC. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* subunitrun: give more useful helpAndrew Tridgell2011-10-201-2/+25
| | | | | | give some examples and more useful description for subunitrun command Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* samba-tool: Move main command implementation to samba.netcmd.main, so it is ↵Jelmer Vernooij2011-10-141-60/+18
| | | | accessible by the testsuite.
* netcmd: Add errf stream to command instances.Jelmer Vernooij2011-10-131-1/+2
|
* s4:findprovisionusnranges - the default python path is detected over "env"Matthias Dieter Wallnöfer2011-10-081-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
* s4-dns: started adding support for auto-creation of NS glue recordAndrew Tridgell2011-09-221-1/+37
| | | | | when we create a new subdomain we need to create a NS glue record in the parent domain pointing at our subdomain
* s4-python: Consistently use spaces rather than tabs, fix headers in several ↵Jelmer Vernooij2011-09-131-1/+1
| | | | places.
* samba-tool: Correctly handle sys.exit() called from subcommandAmitay Isaacs2011-09-091-1/+3
| | | | | | | Catch SystemExit exception if any subcommand calls sys.exit() and return with failure (-1). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Removed "acl" commandGiampaolo Lauria2011-09-091-2/+0
| | | | | | | | Removed "acl" command as it has been changed to: "dsacl" and "ntacl" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Added "ntacl" commandGiampaolo Lauria2011-09-091-0/+2
| | | | | | | Added "ntacl" command to substitute "acl nt" command Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Added "dsacl" commandGiampaolo Lauria2011-09-091-0/+2
| | | | | | | Added "dsacl" command to substitute "acl ds" Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Moved command definition to sambatool commandGiampaolo Lauria2011-09-091-8/+36
| | | | | | | Moved subcommand definition from __init__.py to cmd_sambatool class Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Redefined samba-tool as a SuperCommandGiampaolo Lauria2011-09-091-31/+5
| | | | | | | | | Removed MainCommand class as samba-tool is a SuperCommand Redefined samba-tool as a SuperCommand Fixed error handling in SuperCommand _run Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba-tool: Avoid use of "except .. as" construction introduced in python2.6.Jelmer Vernooij2011-09-081-2/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Sep 8 00:34:22 CEST 2011 on sn-devel-104
* samba3dump: Update the code using modified samba3 module with passdb apiAmitay Isaacs2011-08-261-40/+53
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-dns: cope with duplicate entries in dns_update_listAndrew Tridgell2011-08-251-1/+5
| | | | | | this is needed for when DNSFOREST and DNSDOMAIN are the same Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4-dns/spn: fixed DNS and SPN scripts to setup forest DNS nameAndrew Tridgell2011-08-252-5/+6
|
* s4-spnupdate: fixed searches on domain NCAndrew Tridgell2011-08-251-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: fixed base search on domain NCAndrew Tridgell2011-08-251-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-upgradeprovision: try to fix the detection of @provision recordMatthieu Patou2011-08-011-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Aug 1 13:43:50 CEST 2011 on sn-devel-104
* samba-tool: Catch exceptions at top-level and exit with correct return valueAmitay Isaacs2011-07-281-1/+5
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Display usage for main commands and list them alphabeticallyAmitay Isaacs2011-07-281-31/+35
| | | | | | This makes the MainCommand class similar to SuperCommand class in netcmd. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: Replace C version of samba-tool with python versionAmitay Isaacs2011-07-282-0/+70
| | | | | | | C version of samba-tool is now called samba-tool-c, which will be removed as soon as all the samba-tool commands are ported to python. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-upgradeprovision: Detect recent provision in a more reliable wayMatthieu Patou2011-07-261-1/+12
|
* scripting/bin: Some formatting fixes.Jelmer Vernooij2011-07-232-4/+4
|
* samba_backup: check that directory really existsMatthieu Patou2011-07-211-1/+11
|
* ldb: use base searches for @ special DNsAndrew Tridgell2011-07-131-1/+1
| | | | | | subtree searches on these DNs don't work any more Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* upgradeprovision: reduce the number of attribute that we skipMatthieu Patou2011-07-111-2/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* rebuildexetendeddn: PEP8: Use spaces rather than tabs.Jelmer Vernooij2011-06-301-66/+61
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Jun 30 12:07:32 CEST 2011 on sn-devel-104
* rpcclient: PEP8: Use spaces rather than tabs.Jelmer Vernooij2011-06-301-45/+45
|
* smbstatus: PEP8: Use spaces rather than tabs.Jelmer Vernooij2011-06-301-38/+38
|
* mischema: Remove unused import.Jelmer Vernooij2011-06-301-1/+0
|
* enablerecyclebin: Remove unused imports, fix formatting.Jelmer Vernooij2011-06-301-5/+3
|
* s4-samba_dnsupdate: set environment via the env parameterMatthieu Patou2011-06-221-1/+1
| | | | | I faced a situation where the os.environ("KRB5CCNAME") = ... didn't seems to be effective
* s4-upgradeprovision: Don't forget to populate the non replicated objects, ↵Matthieu Patou2011-06-221-2/+4
| | | | and don't touch rIDPreviousAllocationPool