summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build: On AIX we need _XOPEN_SOURCE >= 500 for CLOCK_REALTIMEMatthieu Patou2010-12-111-0/+3
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 14:48:21 CET 2010 on sn-devel-104
* libcli/echo: fix off by 1 crash bugStefan Metzmacher2010-12-111-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Dec 11 13:48:54 CET 2010 on sn-devel-104
* s4:selftest: use correct name for the test "ECHO-UDP" => "echo.udp"Stefan Metzmacher2010-12-111-1/+1
| | | | | | | | I wonder how commit 35fbc7bbda5851f7172538f79fc79be201f1d521 (s4-smbtorture: Make test names lowercase and dot-separated) ever passed make test. metze
* libcli/echo: lowercase testsuite namesStefan Metzmacher2010-12-111-2/+2
| | | | metze
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-11137-749/+718
| | | | | | | | This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
* talloc: Add ability to generate Python docs using pydoctor.Jelmer Vernooij2010-12-112-0/+10
|
* smbtorture: correct error handling in BASE-OPEN.James Peach2010-12-111-71/+104
| | | | | | | | | | | There are a number of cases in BASE-OPEN where an initial failure cascades into multiple failures due to lack of cleanup between test phases. Fix all these so that they close open file handles correctly. Replace torture_comment with torture_result where appropriate so that the results output contains a useful diagnostic. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 11 03:19:39 CET 2010 on sn-devel-104
* Add documentation for "smb2 max credits".Jeremy Allison2010-12-111-0/+15
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 11 02:14:07 CET 2010 on sn-devel-104
* Add a SMB2 crediting algorithm, by default the same as Windows. Defaults to ↵Jeremy Allison2010-12-105-28/+163
| | | | | | 128 credits. Jeremy.
* heimdal: unset SLIST_ENTRY only if we are with windowsMatthieu Patou2010-12-111-1/+3
| | | | | | | | | | | | | This is needed because otherwise on some OS like netbsd,openbsd,MacOSX. The preprossessing of ./heimdal/lib/gssapi/mech/cred.h on this plateform is broken because mechqueue.h's definition won't be used as SLIST_HEAD is already defined. The definition occurs when net/if.h is included as it includes sys/queue.h Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 00:34:51 CET 2010 on sn-devel-104
* build: cpp is prefixed by CPP=Matthieu Patou2010-12-101-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 22:34:45 CET 2010 on sn-devel-104
* build: add a function to test if -lc is neededMatthieu Patou2010-12-102-0/+47
| | | | | This is needed on openbsd as some linking flags makes mandatory to specify the libc for the linking
* drsblobs.idl: remove nopython from package_PrimaryKerberosBlob related stuffStefan Metzmacher2010-12-101-8/+8
| | | | | | | | | | This allows parsing and construction of the supplementatlCredentials attribute in python. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Dec 10 19:08:33 CET 2010 on sn-devel-104
* pidl:Samba4/Python.pm: ignore "SUBCONTEXT" levelsStefan Metzmacher2010-12-101-9/+21
| | | | | | | These are only important for the NDR marshalling and not for the python bindings. metze
* pidl:Samba4/Python.pm: don't handle scalar reference types specialStefan Metzmacher2010-12-101-10/+9
| | | | | | | The only special thing is that don't need get_value_of(), all other checks are needed. metze
* build: compiler on aix is xlc_r not xlr_cMatthieu Patou2010-12-101-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 17:54:49 CET 2010 on sn-devel-104
* build: reset cpp on host with xlr_c and let pidl use $CC -EMatthieu Patou2010-12-101-0/+4
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 13:27:22 CET 2010 on sn-devel-104
* s4-tests: Modified sec_descriptor.py to use the sd_utils helpers.Nadezhda Ivanova2010-12-101-208/+171
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Fri Dec 10 11:03:28 CET 2010 on sn-devel-104
* s4-tests: Modified acl.py to use the sd_utils helpers.Nadezhda Ivanova2010-12-101-127/+86
|
* s4-tests: Moved some commonly redefined security descriptor methods to a ↵Nadezhda Ivanova2010-12-101-0/+79
| | | | | | utils class These methods are used in more than one testsuite now so they are now in a utility class instead of being defined everywhere.
* build: detect if conf.env['CPP'] is an array or notMatthieu Patou2010-12-101-1/+6
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Dec 10 10:18:20 CET 2010 on sn-devel-104
* waf: the libXX.inst.so file also depends on the vscriptAndrew Tridgell2010-12-101-0/+4
| | | | | | | | this fixes a problem with installed libraries not relinking after a git version change Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Dec 10 09:30:46 CET 2010 on sn-devel-104
* s3-vfstest: fixed paths in vfstestAndrew Tridgell2010-12-101-0/+2
| | | | | vfstest tries to create /messages.tdb as loadparm has not been initialised
* wintest flush DNS on Windows clients to improve reliablityAndrew Bartlett2010-12-101-0/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Dec 10 08:45:28 CET 2010 on sn-devel-104
* s3-dns Don't use DELEG_FLAG in DNS update, Windows 2008R2 does not like itAndrew Bartlett2010-12-101-1/+1
|
* s3-dns Don't use SEQUENCE_FLAG in DNS update, Windows 2008R2 does not like itAndrew Bartlett2010-12-101-1/+1
| | | | Andrew Bartlett
* wintest More work to make test-s3.py workAndrew Bartlett2010-12-101-4/+17
| | | | | | | | | | | - Set the password on the newly added 'root' user so we can connect with a user that exists in getpwnam() without further configuration - bind interfaces only so we don't conflict with other Samba instances - use the full DNS name for smbclient - don't connect to localhost (as we will be on ${INTERFACE_IP} only - Use the windows domain in the wbinfo command (winbindd won't take bare name here). - Register our IP address in DNS using 'net ads dns register' Andrew Bartlett
* s3-net Allow 'net ads dns register' to take an optional hostname argumentAndrew Bartlett2010-12-101-6/+10
| | | | | | This allows the administrator to more carefully chose what name to register. Andrew Bartlett
* wintest Share more of the S4 test code with the s3 testAndrew Bartlett2010-12-103-257/+298
| | | | | | | | This allows us to run a private BIND in the S3 test, and allows the S3 test to join a freshly provisioned AD instance if the VM isn't already configured. Andrew Bartlett
* s3-winbind Improve memory handling in NTLMv2-backend plaintext authenticationAndrew Bartlett2010-12-101-17/+6
| | | | Andrew Bartlett
* s3-winbind Don't send the LM password to the server, everAndrew Bartlett2010-12-101-11/+1
| | | | | | | | | | | This is for the case where we have the plaintext password locally, and can construct the challenge-response values here. We should never ever use the LM password in domain authentication. The last domain controller to only have LM passwords stored was NT 3.5. Andrew Bartlett
* s3-libsmb Don't ever ask for machine$ principals as a target.Andrew Bartlett2010-12-101-30/+6
| | | | | | | | | | | | It is never correct to ask for a machine$ principal as the target of a kerberos connection. You should always connect via the servicePrincipalName. This current code appears to have built up from a series of minimal changes, as the codebase adapted the to lack of a SPNEGO principal from Windows 2008. Andrew Bartlett
* s3-docs Add docs for 'client use spnego principal' and 'send spengo principal'Andrew Bartlett2010-12-102-0/+56
| | | | Andrew Bartlett
* s3-docs Explain change to NTLMv2 by default in the clientAndrew Bartlett2010-12-101-6/+7
|
* s3-client Use NTLMv2 by default in the Samba clientAndrew Bartlett2010-12-101-2/+2
| | | | | | This matches the improved security measures of Windows Vista. Andrew Bartlett
* s3-smbd Don't send SPNEGO principal (rfc4178 hint) by defaultAndrew Bartlett2010-12-103-0/+15
| | | | | | | | | | | | | | This patch, based on the suggestion by Goldberg, Neil R. <ngoldber@mitre.org> turns off the sending of the principal in the negprot by default, matching Windows 2008 behaviour. This slowly works us back from this hack, which from an RFC perspective was never the right thing to do in the first place, but we traditionally follow windows behaviour. It also discourages client implmentations from relying on it, as if they do they are more open to man-in-the-middle attacks. Andrew Bartlett
* s3-libads Default to NOT using the server-supplied principal from SPNEGOAndrew Bartlett2010-12-104-6/+19
| | | | | | | | | | | | | | | | | This principal is not supplied by later versions of windows, and using it opens up some oportunities for man in the middle attacks. (Becuase it isn't the name being contacted that is verified with the KDC). This adds the option 'client use spnego principal' to the smb.conf (as used in Samba4) to control this behaivour. As in Samba4, this defaults to false. Against 2008 servers, this will not change behaviour. Against earlier servers, it may cause a downgrade to NTLMSSP more often, in environments where server names are not registered with the KDC as servicePrincipalName values. Andrew Bartlett
* subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij2010-12-102-27/+12
| | | | | | | available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
* s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij2010-12-102-4/+17
| | | | package.
* subunitrun: Extend hack to cope with older system subunit run installs.Jelmer Vernooij2010-12-101-0/+2
|
* subunitrun: Remove global subunit module when reimporting from aJelmer Vernooij2010-12-101-1/+6
| | | | different location.
* s4-dist: Remove no longer existing files from blacklist (fixes 'makeJelmer Vernooij2010-12-101-2/+1
| | | | dist' inclusion of configure)
* s4-python: Fix use of bundled modules.Jelmer Vernooij2010-12-101-1/+1
|
* s4-python: Split up ensure_external_module.Jelmer Vernooij2010-12-102-10/+23
|
* selftest: Make sure system subunit.run has TestProgram.Jelmer Vernooij2010-12-101-1/+1
|
* smbtorture: Rename --list to --list-suites, add stub --list.Jelmer Vernooij2010-12-104-13/+14
|
* selftest: Check exit code when listing tests.Jelmer Vernooij2010-12-101-0/+11
|
* s4-selftest: Add convenience function for running testsuites usingJelmer Vernooij2010-12-101-9/+17
| | | | subunitrun.
* selftest: Allow discovering tests in pure python testsuites.Jelmer Vernooij2010-12-101-2/+2
|
* subunitrun: Support --list.Jelmer Vernooij2010-12-101-3/+8
|