Jelmer Vernooij
0197b8e0ff
Fix the build.
...
(This used to be commit 5632fe8c61
)
2008-04-17 13:04:04 +02:00
Jelmer Vernooij
21fc767378
Specify event_context to ldb_wrap_connect explicitly.
...
(This used to be commit b4e1ae07a2
)
2008-04-17 12:23:44 +02:00
Andrew Bartlett
4d8f3f1902
Fix the expectations on the unixinfo test.
...
Andrew Bartlett
(This used to be commit 0df2b3e0b5
)
2008-04-17 12:03:49 +02:00
Andrew Bartlett
eb8a4e2883
Run more tests that were previously skipped.
...
Andrew Bartlett
(This used to be commit 4e06b1d684
)
2008-04-17 11:25:19 +02:00
Andrew Bartlett
0236a50c11
Skip strcmp() on 2 NULL pointers.
...
Andrew Bartlett
(This used to be commit 7b9a647ebb
)
2008-04-17 11:22:23 +02:00
Andrew Bartlett
e1b3c0fa89
Use the struct based winbind tests, but mark as known fail.
...
Andrew Bartlett
(This used to be commit 85c9b21a45
)
2008-04-17 10:40:16 +02:00
Andrew Tridgell
769ebe9171
make smb2 read and write size configurable
...
(This used to be commit 2090e75e0c
)
2008-04-17 09:37:29 +02:00
Andrew Tridgell
30b9c37420
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
Conflicts:
source/ntvfs/ntvfs_generic.c
(This used to be commit a626a9c69c
)
2008-04-17 09:36:09 +02:00
Stefan Metzmacher
baad7a7e56
ntvfs_generic: map SMB2 oplock levels to the generic ones
...
metze
(This used to be commit 9013748273
)
2008-04-17 03:54:26 +02:00
Stefan Metzmacher
8d6af0a8ad
SMB2-PERSISTENT-HANDLES1: verify some more fields
...
metze
(This used to be commit ae0a7d0918
)
2008-04-17 03:52:45 +02:00
Stefan Metzmacher
4dc59022e8
torture/smb2: add SMB2-PERSISTENT-HANDLES1 test
...
This demonstrates that the file seek position
is still available on reconnected persistent handles.
metze
(This used to be commit 30e04ae3a0
)
2008-04-17 02:39:32 +02:00
Stefan Metzmacher
9064aad727
selftest: ignore failures in the SMB2-PERSISTENT-HANDLES1 test
...
metze
(This used to be commit 02bfe20fd3
)
2008-04-17 02:39:31 +02:00
Stefan Metzmacher
17e41720d9
torture/smb2: add torture_suite_add_2smb2_test() helper function
...
metze
(This used to be commit d70afbb067
)
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
1fe057f2e8
torture/smb2: fix whitespaces
...
metze
(This used to be commit 66c0f331a2
)
2008-04-17 02:39:30 +02:00
Stefan Metzmacher
79b2980cf5
smb_server/smb2: initialize new create.in.blobs element untill it'll be supported
...
metze
(This used to be commit fbfbd74e65
)
2008-04-17 02:39:29 +02:00
Jelmer Vernooij
ab07a60d6e
Avoid recursive make for code coverage.
...
(This used to be commit 2d1ca8cb7a
)
2008-04-17 02:06:07 +02:00
Stefan Metzmacher
578539216f
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
(This used to be commit e0a0d8e36a
)
2008-04-17 01:58:25 +02:00
Stefan Metzmacher
b0f34bc8ca
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
(This used to be commit 874924a85a
)
2008-04-17 01:58:24 +02:00
Jelmer Vernooij
bbb826bdac
Add convenience function for getting at event context from ejs code.
...
(This used to be commit b659e83cd6
)
2008-04-17 01:37:42 +02:00
Jelmer Vernooij
a145d21de6
Avoid using event_context_find where possible.
...
(This used to be commit 04420b4689
)
2008-04-17 01:37:02 +02:00
Jelmer Vernooij
9de0594175
Fix the build.
...
(This used to be commit 40b7b0e503
)
2008-04-17 01:30:21 +02:00
Jelmer Vernooij
14023e502b
Require explicit event context rather than looking if it is not specified.
...
(This used to be commit 1da0063bd5
)
2008-04-17 01:22:39 +02:00
Jelmer Vernooij
c15ffa27cb
Explicitly require event context to be specified.
...
(This used to be commit a95a71fe45
)
2008-04-17 01:19:53 +02:00
Jelmer Vernooij
06d06c6c94
Use provided event context rather than looking for it.
...
(This used to be commit fd0bb96ace
)
2008-04-17 01:19:20 +02:00
Jelmer Vernooij
f875669314
Require passing in an event context to endpoint mapper utility function.
...
(This used to be commit 906b9fe158
)
2008-04-17 01:09:33 +02:00
Jelmer Vernooij
1efbd5fbf6
Remove event context tracking from the credentials struct.
...
(This used to be commit 4d7fc946b2
)
2008-04-17 01:03:18 +02:00
Jelmer Vernooij
4b9c7df9b7
Avoid event_find_context when a event context is already available.
...
(This used to be commit 4ca264679e
)
2008-04-16 23:06:27 +02:00
Jelmer Vernooij
a195cd9d8f
Use readily available event context.
...
(This used to be commit 2823fca23a
)
2008-04-16 22:52:07 +02:00
Jelmer Vernooij
a5d52174bd
Avoid event_find_context() when the event context is already available
...
in the net utility.
(This used to be commit d40804777e
)
2008-04-16 22:30:15 +02:00
Jelmer Vernooij
b815b81fb0
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit b175e7bf16
)
2008-04-16 18:17:10 +02:00
Jelmer Vernooij
c47286e57a
Fix todo element on actually implemented function.
...
(This used to be commit dedbeea4d2
)
2008-04-16 18:11:37 +02:00
Andrew Bartlett
f9ca1a80c6
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit eab5f6a7f5
)
2008-04-16 17:35:32 +02:00
Andrew Bartlett
80ad7025cf
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
(This used to be commit 29d5de9e8f
)
2008-04-16 17:33:58 +02:00
Jelmer Vernooij
d49f94621b
Provide stubs when the [todo] attribute is set.
...
(This used to be commit 356a5d2474
)
2008-04-16 17:21:48 +02:00
Andrew Tridgell
4bbaf36f6f
fixed popt handling on 64bit boxes in gentest
...
(This used to be commit 40c93ffbe9
)
2008-04-16 17:11:21 +02:00
Andrew Bartlett
9586462b8f
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 18dd8120cc
)
2008-04-16 16:12:58 +02:00
Andrew Bartlett
a58df2f54c
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
(This used to be commit df05f11883
)
2008-04-16 16:11:17 +02:00
Andrew Bartlett
008c8adfe3
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
(This used to be commit 86694d429d
)
2008-04-16 16:10:16 +02:00
Jelmer Vernooij
68b2d9372f
Remove policy library - it's now in a separate git repository.
...
(This used to be commit 9b364bf390
)
2008-04-16 14:41:42 +02:00
Jelmer Vernooij
7c4a45de26
make sure header can be included more than once.
...
(This used to be commit 38ed501ac8
)
2008-04-16 11:43:37 +02:00
Andrew Bartlett
8eaf64b47b
Now that we don't create a new event context, don't free it.
...
This previously would free the torture provided global event context.
Andrew Bartlett
(This used to be commit 664f2fc49f
)
2008-04-16 09:02:12 +02:00
Jelmer Vernooij
2ef07ad551
Remove unused arguments from reg_open_local().
...
(This used to be commit fee7ea7080
)
2008-04-16 01:32:54 +02:00
Jelmer Vernooij
c60a914052
Mention the actual exit code when a suite failed.
...
(This used to be commit 46ad68ad0b
)
2008-04-16 00:17:03 +02:00
Jelmer Vernooij
f5c0be9208
Merge branch 'wbinfo-test' of git://git.samba.org/kai/samba/kai-work-in-progress into v4-0-selftest
...
(This used to be commit 56340a5fa1
)
2008-04-16 00:05:36 +02:00
Jelmer Vernooij
4b4a56fb1e
Provide the right error count to formatters.
...
(This used to be commit f22602797f
)
2008-04-16 00:04:11 +02:00
Jelmer Vernooij
8eb6d59a46
Properly warn about exit codes that indicate success while tests claim
...
failure.
(This used to be commit 92873264d7
)
2008-04-16 00:03:45 +02:00
Jelmer Vernooij
d3729a8efa
Support knownfail Subunit command.
...
(This used to be commit ad58a50854
)
2008-04-16 00:03:00 +02:00
Jelmer Vernooij
e4cfb2d316
Deal with commands not even starting.
...
(This used to be commit 0f789e6779
)
2008-04-15 23:52:06 +02:00
Kai Blin
3413cfefb8
blackbox: Add many more tests for wbinfo
...
(This used to be commit 0a2942f6e9
)
2008-04-15 23:36:41 +02:00
Jelmer Vernooij
8170956b68
Add some documentation about the expected testsuite output.
...
(This used to be commit a24651d649
)
2008-04-15 23:21:43 +02:00
Jelmer Vernooij
9062214d09
Add some documentation on test behaviour in selftest.
...
(This used to be commit e8e9f2cc7b
)
2008-04-15 22:42:52 +02:00
Jelmer Vernooij
b708a3d1e7
Split binding structure handling out into a separate file.
...
For easier synchronisation with Samba 3.
(This used to be commit b9cac469f3
)
2008-04-15 18:03:09 +02:00
Andrew Bartlett
2ddd23a875
Re-add 'db' subdirectory for LDAP backend provision
...
Andrew Bartlett
(This used to be commit 19890c0d15
)
2008-04-15 17:10:47 +02:00
Andrew Bartlett
dfedfae1cd
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 66327b8bd8
)
2008-04-15 16:56:15 +02:00
Andrew Bartlett
cb5873f36d
Fix some of the winbind tests.
...
Some of the test expectations were incorrect.
Andrew Bartlett
(This used to be commit bc0e94360e
)
2008-04-15 16:31:08 +02:00
Andrew Bartlett
e0eba5232d
Fix winbind to check machine account.
...
This enables 'wbinfo -t', by checking the machine account with a
SamLogon call.
Andrew Bartlett
(This used to be commit abefa12029
)
2008-04-15 16:29:13 +02:00
Jelmer Vernooij
7bb2ebb884
Fix size to memcpy call in generated Samba 3 client code.
...
Reported-By: vl
(This used to be commit a28807569d
)
2008-04-15 16:00:07 +02:00
Andrew Bartlett
f8f4856ab7
Fix provision-backend script
...
Andrew Bartlett
(This used to be commit ee6e4f8da2
)
2008-04-15 15:52:52 +02:00
Jelmer Vernooij
fd52fe8616
Fix pointers when pushing strings to python during pidl generation.
...
(This used to be commit ca72187b3e
)
2008-04-15 14:32:13 +02:00
Jelmer Vernooij
983b66b8f1
Saner names for Python objects.
...
(This used to be commit f4de8d2c1c
)
2008-04-15 12:51:31 +02:00
Jelmer Vernooij
1a8bfba545
Fix warnings.
...
(This used to be commit 88013ca977
)
2008-04-15 12:15:43 +02:00
Jelmer Vernooij
961f412190
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into HEAD
...
(This used to be commit a039acb915
)
2008-04-15 11:10:56 +02:00
Jelmer Vernooij
c937efc1a6
Attempt to fix the pidl installation on fedora.
...
(This used to be commit 4dd29284bd
)
2008-04-15 10:55:32 +02:00
Andrew Tridgell
b967afca64
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit e891157b4e
)
2008-04-15 09:54:41 +02:00
Andrew Bartlett
afaba23131
Add blackbox test for ndrdump, to ensure it at least does not
...
segfault.
Andrew Bartlett
(This used to be commit d2fe61a13a
)
2008-04-15 09:13:32 +02:00
Jelmer Vernooij
223df634c8
Work around 'test' quirks - use make's string comparison instead.
...
(This used to be commit 434b61623e
)
2008-04-15 04:08:28 +02:00
Jelmer Vernooij
98a4dd9b5e
Fix ALL_OBJS value.
...
(This used to be commit 8710087728
)
2008-04-15 03:59:56 +02:00
Jelmer Vernooij
08baea013b
Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly instead.
...
(This used to be commit 9d0ae012b0
)
2008-04-15 02:25:16 +02:00
Jelmer Vernooij
b62d7aa8eb
Make sure init function sentinels are set for modules.
...
(This used to be commit fac3463dd5
)
2008-04-15 01:52:55 +02:00
Jelmer Vernooij
d04926914a
Fix the build.
...
(This used to be commit ecaa5bb83b
)
2008-04-15 01:40:32 +02:00
Jelmer Vernooij
91baa45dfd
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 0239011ced
)
2008-04-14 23:30:17 +02:00
Jelmer Vernooij
1b5f32128d
Use RpcInterfaceTestCase everywhere.
...
(This used to be commit 799095b4e5
)
2008-04-14 23:28:14 +02:00
Jelmer Vernooij
b1bdcd4a8a
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 7fd98e492e
)
2008-04-14 22:57:07 +02:00
Jelmer Vernooij
9b50347076
Explicitly specify the paths when installing pidl.
...
(This used to be commit 5e988a34de
)
2008-04-14 22:43:08 +02:00
Jelmer Vernooij
7be47a3665
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into fixbuild
...
(This used to be commit d2d564ad2e
)
2008-04-14 22:34:22 +02:00
Jelmer Vernooij
2bc26db97f
Fix the build.
...
(This used to be commit a70cbd63d9
)
2008-04-14 20:39:12 +02:00
Jelmer Vernooij
18f8f5d656
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 1ef3830bb0
)
2008-04-14 20:00:32 +02:00
Jelmer Vernooij
a15b6f1606
Fix unresolved symbols.
...
(This used to be commit 8573e828d1
)
2008-04-14 20:00:04 +02:00
Jelmer Vernooij
43896320dd
Explicitly specify the paths when installing pidl.
...
(This used to be commit 1695e0e1ab
)
2008-04-14 19:41:13 +02:00
Andrew Bartlett
68a2c547d0
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 0f0c8519b8
)
2008-04-14 19:32:42 +02:00
Jelmer Vernooij
2cdfaedee2
Make sure credentials are specified when running the Python winreg RPC tests.
...
(This used to be commit 280339e3d1
)
2008-04-14 19:20:43 +02:00
Jelmer Vernooij
1bcbc4afcf
Allow command line options in the subunitrun script.
...
(This used to be commit 524ec0796e
)
2008-04-14 19:13:41 +02:00
Andrew Tridgell
9cd04363f5
make the SMB2 negotiated read and write size settable in smb.conf
...
parametic options:
smb2:max read size = NNN
smb2:max write size = NNN
The defaults are 65536, which is what Vista sets, and what we
previously set
(This used to be commit 9e60164cae
)
2008-04-14 19:09:57 +02:00
Jelmer Vernooij
c1d9167fbc
Also look in the environment for smb.conf path.
...
(This used to be commit 8be7d93735
)
2008-04-14 19:01:32 +02:00
Andrew Tridgell
79af7ff2f7
fixed a valgrind error in id mapping
...
the status field is sent on both call and reply, but was only being
initialised on reply
(This used to be commit 2ebd7b8099
)
2008-04-14 18:59:40 +02:00
Simo Sorce
4f51b0246d
Fix problems with event context not being the parent.
...
(This used to be commit 957c4d893a
)
2008-04-14 12:45:51 -04:00
Andrew Tridgell
292ed5d04f
fixed an unitialised write warning in valgrind
...
the 'reserved' field was not being initialised before being pushed to
the wire
(This used to be commit dfe4b50098
)
2008-04-14 18:44:43 +02:00
Jelmer Vernooij
02f3695897
Add convenience TestCase class for testing RPC interfaces.
...
(This used to be commit 2f19f98144
)
2008-04-14 18:30:07 +02:00
Andrew Bartlett
3170ae538a
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit f610862dc9
)
2008-04-14 18:01:40 +02:00
Andrew Bartlett
b54e6a8155
Ensure we initialise s->lp_ctx for the way into the provision.
...
Andrew Bartlett
(This used to be commit b191a1953c
)
2008-04-14 17:58:09 +02:00
Jelmer Vernooij
0fa663cc5d
Fix order of variables in the makefile.
...
(This used to be commit f64c1d53ba
)
2008-04-14 17:54:19 +02:00
Jelmer Vernooij
e9017ba418
Use _OBJ_FILES variables in a couple more places.
...
(This used to be commit 92856d5054
)
2008-04-14 17:22:58 +02:00
Jelmer Vernooij
ffc5cbfe80
Move object files lists to makefile rather than smb_build.
...
(This used to be commit 5628d58990
)
2008-04-14 16:53:00 +02:00
Stefan Metzmacher
97e09c2f87
lib/events: fix missing prototype of s4_events_aio_init()
...
metze
(This used to be commit 8dca5b9bbb
)
2008-04-14 16:45:38 +02:00
Stefan Metzmacher
76a7ea3dc4
Makefile: fix variable name automatic_deps -> automatic_dependencies
...
metze
(This used to be commit 7ffc44b7c1
)
2008-04-14 16:41:46 +02:00
Andrew Bartlett
0fa62eb275
Include the smbconf parameter to the provision
...
Otherwise this fails, if the targetdir is not specified
Andrew Bartlett
(This used to be commit cd2d3d1c7a
)
2008-04-14 16:01:15 +02:00
Andrew Bartlett
5a73810e12
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 79854f0aa6
)
2008-04-14 15:26:26 +02:00
Jelmer Vernooij
f800cf250f
Move standard make compilation rules to build/make.
...
(This used to be commit ceda3312a9
)
2008-04-14 14:51:57 +02:00
Andrew Bartlett
a96bba21fa
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 92751a73cd
)
2008-04-14 13:49:47 +02:00
Jelmer Vernooij
7cf29ac84e
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 9d3d64e138
)
2008-04-14 11:55:19 +02:00