1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

16178 Commits

Author SHA1 Message Date
Stefan Metzmacher
690c12cd2a libndr: add dom_sid0 type that can later be used for CLDAP and MAILSLOT ntlogon packets
metze
2008-04-17 16:28:40 +02:00
Andrew Bartlett
c74c67c383 Fix bug in registry test on big-endian machines.
Andrew Bartlett
2008-04-17 15:54:22 +02:00
Andrew Tridgell
3ab9abf406 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test 2008-04-17 15:21:08 +02:00
Andrew Tridgell
92d5fb531d fix the overflow/wrap checks in Samba4 for new gcc optimisation behavior
The approach I have used is as set out in
https://www.securecoding.cert.org/confluence/display/seccode/ARR38-C.+Do+not+add+or+subtract+an+integer+to+a+pointer+if+the+resulting+value+does+not+refer+to+an+element+within+the+array
2008-04-17 15:20:39 +02:00
Andrew Bartlett
a38f413c55 Don't exclude all tests mentioning 'samba3', but only those actually
specific.

Andrew Bartlett
2008-04-17 14:59:16 +02:00
Andrew Bartlett
d15ca7e38b Fix samba3sam test.
sAMAccountType is blocked by the samldb module.

Andrew Bartlett
2008-04-17 14:51:30 +02:00
Andrew Tridgell
d62f2bcc85 use uintptr_t instead of intptr_t where appropriate 2008-04-17 14:47:07 +02:00
Andrew Bartlett
8d9812bada Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet 2008-04-17 14:25:22 +02:00
Andrew Bartlett
12fa307653 Run samba3sam.js with bin/smbscript explicitly.
Andrew Bartlett
2008-04-17 14:23:50 +02:00
Andrew Bartlett
052edb7864 Fix build not to always use code coverage.
Somehow, the way this was structured before always did a gcov build.

Andrew Bartlett
2008-04-17 14:20:46 +02:00
Simo Sorce
3f46eb95e4 Add useful provisioning debugging options 2008-04-17 08:04:57 -04:00
Jelmer Vernooij
ece878c1f9 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test 2008-04-17 13:05:25 +02:00
Jelmer Vernooij
5632fe8c61 Fix the build. 2008-04-17 13:04:04 +02:00
Jelmer Vernooij
b4e1ae07a2 Specify event_context to ldb_wrap_connect explicitly. 2008-04-17 12:23:44 +02:00
Andrew Bartlett
0df2b3e0b5 Fix the expectations on the unixinfo test.
Andrew Bartlett
2008-04-17 12:03:49 +02:00
Andrew Bartlett
4e06b1d684 Run more tests that were previously skipped.
Andrew Bartlett
2008-04-17 11:25:19 +02:00
Andrew Bartlett
7b9a647ebb Skip strcmp() on 2 NULL pointers.
Andrew Bartlett
2008-04-17 11:22:23 +02:00
Andrew Bartlett
85c9b21a45 Use the struct based winbind tests, but mark as known fail.
Andrew Bartlett
2008-04-17 10:40:16 +02:00
Andrew Tridgell
2090e75e0c make smb2 read and write size configurable 2008-04-17 09:37:29 +02:00
Andrew Tridgell
a626a9c69c Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
Conflicts:

	source/ntvfs/ntvfs_generic.c
2008-04-17 09:36:09 +02:00
Stefan Metzmacher
9013748273 ntvfs_generic: map SMB2 oplock levels to the generic ones
metze
2008-04-17 03:54:26 +02:00
Stefan Metzmacher
ae0a7d0918 SMB2-PERSISTENT-HANDLES1: verify some more fields
metze
2008-04-17 03:52:45 +02:00
Stefan Metzmacher
30e04ae3a0 torture/smb2: add SMB2-PERSISTENT-HANDLES1 test
This demonstrates that the file seek position
is still available on reconnected persistent handles.

metze
2008-04-17 02:39:32 +02:00
Stefan Metzmacher
02bfe20fd3 selftest: ignore failures in the SMB2-PERSISTENT-HANDLES1 test
metze
2008-04-17 02:39:31 +02:00
Stefan Metzmacher
d70afbb067 torture/smb2: add torture_suite_add_2smb2_test() helper function
metze
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
66c0f331a2 torture/smb2: fix whitespaces
metze
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
fbfbd74e65 smb_server/smb2: initialize new create.in.blobs element untill it'll be supported
metze
2008-04-17 02:39:29 +02:00
Jelmer Vernooij
2d1ca8cb7a Avoid recursive make for code coverage. 2008-04-17 02:06:07 +02:00
Stefan Metzmacher
e0a0d8e36a libcli/smb2: make it possible to pass additional extra blobs in smb2_create()
This also fixes the alignment from 8 to 4 byte bounderies.

metze
2008-04-17 01:58:25 +02:00
Stefan Metzmacher
874924a85a libcli/smb2: also offer the SMB2 dialect that what used in longhorn beta3
With this smbtorture works against longhorn beta3 again,
hopefully it still works with new versions...

metze
2008-04-17 01:58:24 +02:00
Jelmer Vernooij
b659e83cd6 Add convenience function for getting at event context from ejs code. 2008-04-17 01:37:42 +02:00
Jelmer Vernooij
04420b4689 Avoid using event_context_find where possible. 2008-04-17 01:37:02 +02:00
Jelmer Vernooij
40b7b0e503 Fix the build. 2008-04-17 01:30:21 +02:00
Jelmer Vernooij
1da0063bd5 Require explicit event context rather than looking if it is not specified. 2008-04-17 01:22:39 +02:00
Jelmer Vernooij
a95a71fe45 Explicitly require event context to be specified. 2008-04-17 01:19:53 +02:00
Jelmer Vernooij
fd0bb96ace Use provided event context rather than looking for it. 2008-04-17 01:19:20 +02:00
Jelmer Vernooij
906b9fe158 Require passing in an event context to endpoint mapper utility function. 2008-04-17 01:09:33 +02:00
Jelmer Vernooij
4d7fc946b2 Remove event context tracking from the credentials struct. 2008-04-17 01:03:18 +02:00
Jelmer Vernooij
4ca264679e Avoid event_find_context when a event context is already available. 2008-04-16 23:06:27 +02:00
Jelmer Vernooij
2823fca23a Use readily available event context. 2008-04-16 22:52:07 +02:00
Jelmer Vernooij
d40804777e Avoid event_find_context() when the event context is already available
in the net utility.
2008-04-16 22:30:15 +02:00
Jelmer Vernooij
b175e7bf16 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test 2008-04-16 18:17:10 +02:00
Jelmer Vernooij
dedbeea4d2 Fix todo element on actually implemented function. 2008-04-16 18:11:37 +02:00
Andrew Bartlett
eab5f6a7f5 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet 2008-04-16 17:35:32 +02:00
Andrew Bartlett
29d5de9e8f Adjust the expectations of the struct based winbind test.
These expectations (such as what happens when we have no trusted
domains) were incorrect, compared with Samba3 (which is the reference
for this protocol).

Andrew Bartlett
2008-04-16 17:33:58 +02:00
Jelmer Vernooij
356a5d2474 Provide stubs when the [todo] attribute is set. 2008-04-16 17:21:48 +02:00
Andrew Tridgell
40c93ffbe9 fixed popt handling on 64bit boxes in gentest 2008-04-16 17:11:21 +02:00
Andrew Bartlett
18dd8120cc Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet 2008-04-16 16:12:58 +02:00
Andrew Bartlett
df05f11883 Fix struct_based winbind test for 'check machine account'.
The problem here was that we did not fill in the error strings in the
success case, and the testsuite checked against the incorrect
'freindly' error string.

Andrew Bartlett
2008-04-16 16:11:17 +02:00
Andrew Bartlett
86694d429d Fix wbinfo --trusted-domains.
The problems here were that we did not bind to the LSA pipe, and we
did not consider it possible to have 0 trusted domains.

Andrew Bartlett
2008-04-16 16:10:16 +02:00