summaryrefslogtreecommitdiffstats
path: root/source4/scripting
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-s4-upgrade: do not add description if it is empty string or noneAmitay Isaacs2011-11-161-6/+12
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Nov 16 05:53:41 CET 2011 on sn-devel-104
* s4:join.py - fix typoMatthias Dieter Wallnöfer2011-11-151-1/+1
|
* s4:dsdb/pydsdb: pass down schema_dn to _dsdb_set_schema_from_ldif()Stefan Metzmacher2011-11-152-4/+5
| | | | metze
* s4:python/samba/schema: pass down the schema_dn to set_from_ldif()Stefan Metzmacher2011-11-151-3/+3
| | | | metze
* samba-tool: Don't set UF_PASSWD_NOTREQD flag on "user disable"Giampaolo Lauria2011-11-151-1/+1
| | | | | | | Signed-off-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 15 02:51:16 CET 2011 on sn-devel-104
* samba-tool: Remove "domain machinepassword" commandGiampaolo Lauria2011-11-151-28/+0
| | | | | | | | | | As per Andrew Bartlett's comment: "we should remove it. This was originally a script to support some interactions between samba3 and samba4, when they were in distinct build systems. We now can call between the two systems without difficulty at runtime, so this command has no value." Signed-off-by: Amitay Isaacs <amitay@gmail.com>
* 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
|
* waf: Don't link python modules against libpython2.x, consistent with other ↵Jelmer Vernooij2011-11-131-1/+1
| | | | | | Python modules. Rather, rely just on waf's pyext feature. This fixes a warning from dh_python2.
* upgrade: use logger.warning.Jelmer Vernooij2011-11-131-4/+4
|
* samba-tool: allow dbcheck to correct the originating_change_time of the ↵Matthieu Patou2011-11-131-0/+34
| | | | | | | deleted object container Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Nov 13 15:47:53 CET 2011 on sn-devel-104
* samba-tool: dbcheck avoid problems with deleted objectsMatthieu Patou2011-11-131-1/+1
| | | | | | We have to search for deleted objects as well as the previous search might have been done with the show_deleted control. If not samba-tool fails with no such DN error while fetching the object.
* s4: Simple test script to create lots of contacts to stress the LDBMatthieu Patou2011-11-111-0/+96
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Nov 11 22:02:53 CET 2011 on sn-devel-104
* 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.
* s4: samba-tool time --help documentation improvementsTheresa Halloran2011-11-101-1/+14
| | | | | | | | | Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Nov 10 06:04:22 CET 2011 on sn-devel-104
* s4: samba-tool group --help documentation improvementsTheresa Halloran2011-11-101-4/+75
| | | | | | Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Signed-off-by: Andrew Tridgell <tridge@samba.org>
* samba-tool: print samaccountname in samba-tool user listAndrew Tridgell2011-11-101-6/+3
| | | | | | this is the attribute the admin needs for other commands Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* 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-tool: Added new "user disable" commandGiampaolo Lauria2011-11-102-0/+43
|
* samba-tool: Added "user list" commandGiampaolo Lauria2011-11-101-0/+34
|
* samba-tool: Change internal argument name in domain machinepasswordGiampaolo Lauria2011-11-101-5/+5
|
* samba-tool: Fix domain machinepassword secret db searchGiampaolo Lauria2011-11-101-4/+2
| | | | | pair programmed with Jelmer Vernooij Add search to include secrets.ldb
* samba-tool: Fix domain machinepassword name searchGiampaolo Lauria2011-11-101-0/+2
| | | | | Append '$' to name provided by user to search for a machine account when necessary
* s4-test: improved error checking in samba-tool time testAndrew Tridgell2011-11-101-0/+2
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* test: add samba-tool user testsSean Dague2011-11-101-0/+215
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* test: Add samba-tool time testsSean Dague2011-11-101-0/+43
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* test: add directory and base class for samba-tool testsSean Dague2011-11-102-0/+124
| | | | | | this allows for more sophisticated testing of samba-tool Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:join.py - fix up "DsAddEntry" against Windows Server 2000Matthias Dieter Wallnöfer2011-11-091-9/+18
| | | | | | | | | | | It is important to consider the result level regarding error information. Windows 2000 seems to send us back v2, all other implementations v3. Consider post "Joining W2k AD domain" Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Nov 9 23:37:08 CET 2011 on sn-devel-104
* s4: Install samba-tool and samba_kcc to bin/ rather than sbin/.Jelmer Vernooij2011-11-091-1/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 9 19:43:07 CET 2011 on sn-devel-104
* samba_kcc: Remove unnecessary return statements.Jelmer Vernooij2011-11-071-17/+0
|
* s4-provision: Create ldap records for DNS partitions similar to windowsAmitay Isaacs2011-11-091-1/+1
| | | | | | | this allows easy comparison between windows and samba ldap trees Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Nov 9 08:27:46 CET 2011 on sn-devel-104
* s4-provision: Set security descriptor for DNS recordsAmitay Isaacs2011-11-092-18/+103
|
* s4:samba-tool user command - always initialise the boolean arguments properlyMatthias Dieter Wallnöfer2011-11-081-3/+3
| | | | | | | | | It they haven't been specified. Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Nov 8 22:28:38 CET 2011 on sn-devel-104
* s4:samba-tool - other fix for Gémes Géza patch regarding parameter handlingMatthias Dieter Wallnöfer2011-11-081-2/+2
| | | | | | | The condition has not been specified correctly since we are expecting a boolean. Pointed out by Jelmer. Reviewed-by: Jelmer
* s4-provision: site is passed as an argument to setup_ad_dns()Amitay Isaacs2011-11-081-1/+0
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 8 06:07:46 CET 2011 on sn-devel-104
* s4-provision Remove options for LDAP backend to reduce user confusionAndrew Bartlett2011-11-083-20/+14
| | | | | | | | | | | | We do not support the LDAP backend any more, but keep the code in case someone comes up with an interesting use case that could leverage this in a very particular situation. In order to keep the code, we must test it, so we keep just this much of the support around. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 8 04:33:49 CET 2011 on sn-devel-104
* s4-s3-upgrade Add my copyrightAndrew Bartlett2011-11-081-0/+1
|
* s4-dnsserver: Test forward zones are not listed in reverse zone searchAmitay Isaacs2011-11-081-2/+15
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 8 01:26:43 CET 2011 on sn-devel-104
* s4:samba-tool - fix Gémes Géza patch regarding parameter handlingMatthias Dieter Wallnöfer2011-11-071-4/+5
| | | | | | | The new "random-password" parameter has not been evaluated correctly. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 7 19:35:05 CET 2011 on sn-devel-104
* Add a --random-password option to user create command.Gémes Géza2011-11-071-4/+16
| | | | | Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* s4: samba-tool user --help documenation improvementsTheresa Halloran2011-11-072-7/+146
| | | | | | | Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 7 01:39:25 CET 2011 on sn-devel-104
* kcc: fixed program nameAndrew Tridgell2011-11-071-3/+3
| | | | kcccompute -> samba_kcc
* kcc: fixed tabs/spaces in kcc python implementationAndrew Tridgell2011-11-072-18/+18
| | | | as spotted by autobuild
* samba_kcc addtionDave Craft2011-11-073-1/+705
| | | | | | | | | | 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>
* add python KCC utility classes and methodsDave Craft2011-11-071-0/+890
| | | | | | | | | | | | | | New file source4/scripting/python/samba/kcc_utils.py contains classes and methods for: DirectoryServiceAgent NTDSConnection GraphNode NamingContext NCReplica These are consumed by a new samba_kcc python script for KCC topology computation Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Some formatting fixes, remove unused imports.Jelmer Vernooij2011-11-063-13/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 6 06:22:33 CET 2011 on sn-devel-104
* s4 provision/dns: Move DNS-related setup to sambadns moduleKai Blin2011-11-042-187/+194
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Fri Nov 4 09:15:54 CET 2011 on sn-devel-104
* s4 provision/dns: Move secretsdb_setup_dns to the AD DNS specific setupKai Blin2011-11-042-32/+63
|
* samba-tool: Fix short description and error msgs in domain levelGiampaolo Lauria2011-11-031-5/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Nov 3 16:53:16 CET 2011 on sn-devel-104