summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-11-11s4-librpc: do not limit to the first IP when trying to do a rpc connectionMatthieu Patou1-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.
2011-11-11s4-socket: allow connect_multi_next_socket to try all the IP for a given hostMatthieu Patou1-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.
2011-11-11policy/tests: Fix import of TestCase.Jelmer Vernooij1-2/+3
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 11 01:10:49 CET 2011 on sn-devel-104
2011-11-10selftesthelper: Fix argument order.Jelmer Vernooij1-1/+1
2011-11-10selftest: Make planoldpythontestsuite arguments consistent with ↵Jelmer Vernooij1-1/+1
planpythontestsuite.
2011-11-10selftest: Simplify calling of python tests.Jelmer Vernooij1-14/+39
2011-11-10selftest: Allow passing arbitrary number of additional python path values.Jelmer Vernooij1-1/+1
2011-11-10ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest ratherJelmer Vernooij1-1/+1
than samba.tests.
2011-11-10subunitrun: Add notes about subunitrun being deprecated.Jelmer Vernooij1-0/+12
2011-11-10Revert "test: added -D option to subunitrun"Jelmer Vernooij1-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.
2011-11-10s4:finddcs_cldap: debug the correct server address instead of NULLStefan Metzmacher1-1/+2
metze
2011-11-10s4: samba-tool time --help documentation improvementsTheresa Halloran1-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
2011-11-10s4: samba-tool group --help documentation improvementsTheresa Halloran1-4/+75
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com> Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10test: fixed several tests to use samba.testsAndrew Tridgell6-10/+11
this fixes error checking. Test failures were not being detected otherwise Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10samba-tool: print samaccountname in samba-tool user listAndrew Tridgell1-6/+3
this is the attribute the admin needs for other commands Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10test: use planpythontestsuite() for ldb.python testAndrew Tridgell1-2/+1
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10test: added -D option to subunitrunAndrew Tridgell1-0/+5
this allows for: subunitrun -D lib/ldb/tests/python api which makes this easier for developers
2011-11-10samba-tool: Added new "user disable" commandGiampaolo Lauria2-0/+43
2011-11-10samba-tool: Added "user list" commandGiampaolo Lauria1-0/+34
2011-11-10samba-tool: Change internal argument name in domain machinepasswordGiampaolo Lauria1-5/+5
2011-11-10samba-tool: Fix domain machinepassword secret db searchGiampaolo Lauria1-4/+2
pair programmed with Jelmer Vernooij Add search to include secrets.ldb
2011-11-10samba-tool: Fix domain machinepassword name searchGiampaolo Lauria1-0/+2
Append '$' to name provided by user to search for a machine account when necessary
2011-11-10s4-test: improved error checking in samba-tool time testAndrew Tridgell1-0/+2
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10s4-socket: detect NULL server in socket connection codeAndrew Tridgell1-0/+5
return NT_STATUS_NOT_FOUND instead of a segfault Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10test: enable time and user samba-tool testsSean Dague1-0/+4
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10test: add samba-tool user testsSean Dague1-0/+215
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10test: Add samba-tool time testsSean Dague1-0/+43
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10test: add directory and base class for samba-tool testsSean Dague2-0/+124
this allows for more sophisticated testing of samba-tool Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10s4-setup Remove servicePrincipalName: DNS/${DNSDOMAIN} from new installationsAndrew Bartlett2-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
2011-11-09s4:join.py - fix up "DsAddEntry" against Windows Server 2000Matthias Dieter Wallnöfer1-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
2011-11-09s4: Install samba-tool and samba_kcc to bin/ rather than sbin/.Jelmer Vernooij1-1/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Nov 9 19:43:07 CET 2011 on sn-devel-104
2011-11-07samba_kcc: Remove unnecessary return statements.Jelmer Vernooij1-17/+0
2011-11-09s4-provision: Create ldap records for DNS partitions similar to windowsAmitay Isaacs2-5/+3
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
2011-11-09s4-provision: Set security descriptor for DNS recordsAmitay Isaacs2-18/+103
2011-11-09s4:torture:smb2: rewrite durable-open.open test to use smb2_*_create functionsMichael Adam1-26/+7
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Nov 9 02:36:36 CET 2011 on sn-devel-104
2011-11-09s4:torture:smb2: rewrite the durable-open.lock test to use smb2_lease_create()Michael Adam1-23/+3
2011-11-09s4:torture:smb2: rewrite the durable-open.lease test to use smb2_lease_create()Michael Adam1-29/+6
2011-11-09s4:torture:smb2: rewrite the durable-open.oplock test to use ↵Michael Adam1-19/+3
smb2_oplock_create()
2011-11-09s4:torture:smb2: rewrite the durable-open.file-position test to use ↵Michael Adam1-18/+2
smb2_oplock_create()
2011-11-09s4:torture:smb2: rewrite the durable-open.open2 test to use ↵Michael Adam1-26/+6
smb2_lease_create_share()
2011-11-09s4:torture:smb2: rewrite the durable-open.open1 test to use ↵Michael Adam1-21/+6
smb2_oplock_create_share()
2011-11-09s4:torture:smb2: add smb2_oplock_create_share() that takes sharemode as ↵Michael Adam1-2/+8
parameter
2011-11-09s4:torture:smb2: add smb2_lease_create_share() that takes a sharemode as ↵Michael Adam1-2/+12
parameter
2011-11-09s4:torture:smb2: add smb2_generic_create_share() that also takes the ↵Michael Adam1-7/+17
sharemode as parameter
2011-11-09s4:torture:smb2: move the smb2_create_*() utility functions from lease.c to ↵Michael Adam2-54/+57
util.c for re-use
2011-11-09s4:torture:smb2: use smb2_util_oplock_level() in the durable-open test for ↵Michael Adam1-38/+38
convenience
2011-11-09s4:torture:smb2: lease: oplock_level is uint8_t, not uint32_t or intMichael Adam2-6/+6
2011-11-09s4:torture:smb2: move oplock() from lease.c to smb2_util_oplock_level() in ↵Michael Adam2-35/+36
util.c for re-use
2011-11-09s4:torture:smb2: extract map_sharemode() to smb2_util_share_access() in util.cMichael Adam2-24/+25
2011-11-09s4:torture:smb2: use common smb2_util_lease_state() in the lease testsMichael Adam1-55/+34