summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:libnet: initialize forest structure in py_net_replicate_init()Stefan Metzmacher2011-11-151-0/+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>
* s4-smbtorture: add spoolss_OpenPrinterEx ndr test with full devmode.Günther Deschner2011-11-141-0/+183
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 14 20:21:48 CET 2011 on sn-devel-104
* 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
* s4-tests: Use plansmbtorturesuite where possible.Jelmer Vernooij2011-11-141-45/+45
|
* s4-tests: Remove unnecessary py suffix.Jelmer Vernooij2011-11-141-1/+1
|
* s4-tests: Allow listing tests run for iconv.Jelmer Vernooij2011-11-141-5/+6
|
* subunitrun: Don't load smb.conf when just listing tests.Jelmer Vernooij2011-11-141-4/+5
|
* Remove broken code - these lines use undefined symbols.Jelmer Vernooij2011-11-141-7/+2
|
* s4:selftest: samba4.urgent_replication.python needs to run as "dc:local"Stefan Metzmacher2011-11-141-1/+1
| | | | | | | | | As it uses local files on the dc. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 14 15:48:33 CET 2011 on sn-devel-104
* Move testr configuration to root.Jelmer Vernooij2011-11-131-3/+0
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 13 23:19:27 CET 2011 on sn-devel-104
* 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
* s4-dsdb: initialize correctly the value of originating_change_time for the ↵Matthieu Patou2011-11-131-2/+52
| | | | Deleted Object Container
* s4-drs: check if we have a domain level >= 2k8r2 as before the isRecycled do ↵Matthieu Patou2011-11-131-7/+24
| | | | | | | not exists and so is always False Having a false value cause the link on removed attribute to be always returned which is what we try to avoid.
* 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
* s4-librpc: do not limit to the first IP when trying to do a rpc connectionMatthieu Patou2011-11-111-7/+25
| | | | | | | | The function continue_ip_resolve_name was calling resolve_name_recv which returns only the first IP for a given hostname. Instead we use resolve_name_multiple_recv which returns all the IP for a given hostname. This kind of problem can occur if a host has more than 1 IP but is listenning only on 1.
* s4-socket: allow connect_multi_next_socket to try all the IP for a given hostMatthieu Patou2011-11-111-12/+21
| | | | | | This fix an incorrect behavior which was that if a host has 2 IP but was listening on only 1 (and the second one) connect_multi_next_socket was not able to connect because it used only the first result.
* policy/tests: Fix import of TestCase.Jelmer Vernooij2011-11-111-2/+3
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 11 01:10:49 CET 2011 on sn-devel-104
* selftesthelper: Fix argument order.Jelmer Vernooij2011-11-101-1/+1
|
* selftest: Make planoldpythontestsuite arguments consistent with ↵Jelmer Vernooij2011-11-101-1/+1
| | | | planpythontestsuite.
* selftest: Simplify calling of python tests.Jelmer Vernooij2011-11-101-14/+39
|
* selftest: Allow passing arbitrary number of additional python path values.Jelmer Vernooij2011-11-101-1/+1
|
* ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest ratherJelmer Vernooij2011-11-101-1/+1
| | | | than samba.tests.
* 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:finddcs_cldap: debug the correct server address instead of NULLStefan Metzmacher2011-11-101-1/+2
| | | | metze
* 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>
* test: fixed several tests to use samba.testsAndrew Tridgell2011-11-106-10/+11
| | | | | | | this fixes error checking. Test failures were not being detected otherwise Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* 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: use planpythontestsuite() for ldb.python testAndrew Tridgell2011-11-101-2/+1
| | | | 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>
* s4-socket: detect NULL server in socket connection codeAndrew Tridgell2011-11-101-0/+5
| | | | | | return NT_STATUS_NOT_FOUND instead of a segfault Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* test: enable time and user samba-tool testsSean Dague2011-11-101-0/+4
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* 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-setup Remove servicePrincipalName: DNS/${DNSDOMAIN} from new installationsAndrew Bartlett2011-11-102-2/+0
| | | | | | | | | | | | | This servicePrincipalName is incorrect (windows does not use that servicePrincipalName, as it targets the server it is updating, not the root of the DNS tree), and now that we have multiple DNS backends that use the internal database, it is quite incorrect (as it cannot exist on more than one account). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Nov 10 01:11:46 CET 2011 on sn-devel-104
* 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