1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
Commit Graph

12386 Commits

Author SHA1 Message Date
Stefan Metzmacher
9c9ec64518 r21595: add a constant and some comments
metze
(This used to be commit b8af925da9)
2007-10-10 14:49:03 -05:00
Stefan Metzmacher
c6b66db2b2 r21594: give the same error in all resolve backends
metze
(This used to be commit 5534ba591d)
2007-10-10 14:49:03 -05:00
Stefan Metzmacher
e31d922592 r21593: give a more useful error, when we can't resolve a long name
via broadcast of wins

metze
(This used to be commit 49591d6996)
2007-10-10 14:49:02 -05:00
Stefan Metzmacher
7f13043d7e r21592: compress_name() returns NULL for names longer than 15 chars
giving NO_MEMORY back is ugly, so give a useful error

metze
(This used to be commit fbc1e16331)
2007-10-10 14:49:02 -05:00
Stefan Metzmacher
505fd4eb99 r21591: add new error code
metze
(This used to be commit 04da3db29d)
2007-10-10 14:49:02 -05:00
Stefan Metzmacher
b1a80dcec0 r21590: add RPC-HANDLES-MIXED-SHARED test, which shows that
assoc_groups are shared between idl-interfaces and connections.

But you can't close a samr policy handle on a lsa pipe.

add RPC-HANDLES-RANDOM-ASSOC test, which shows that
you can't bind with an invalid assoc_group_id

metze
(This used to be commit 26b0e03a77)
2007-10-10 14:49:01 -05:00
Stefan Metzmacher
ca14957d50 r21589: give an error when the assoc_group_id isn't 0
TODO: we need to correctly implement assoc groups!

metze
(This used to be commit df7c6c6e0b)
2007-10-10 14:49:01 -05:00
Stefan Metzmacher
9545dc2835 r21588: add a RPC-HANDLES-LSARPC-SHARED test, which demonstrates
policy handles can be shared between connections

metze
(This used to be commit 874cb39366)
2007-10-10 14:49:01 -05:00
Jelmer Vernooij
6394f3ec4b r21586: update manifest
(This used to be commit 6ec3c5430d)
2007-10-10 14:49:01 -05:00
Jelmer Vernooij
5ba8169109 r21584: Support for tagged types has landed!
It's now possible to use "struct foo" without a typedef in IDL files.

echo_info4 is the first type that's been converted.
(This used to be commit 3ac68e858d)
2007-10-10 14:49:00 -05:00
Stefan Metzmacher
c200374325 r21583: add missing CN=
metze
(This used to be commit 199416a4d3)
2007-10-10 14:49:00 -05:00
Jelmer Vernooij
82266dc22f r21582: Allow modification of LDFLAGS
(This used to be commit 1726bd3378)
2007-10-10 14:49:00 -05:00
Jelmer Vernooij
179a9c7210 r21580: Add generic target for test coverage data.
(This used to be commit a41b72458d)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
3bc13d6eed r21579: Use utility function to determine function names in ejs code.
(This used to be commit 1736de4c73)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
4c99e87f9b r21578: Use utility function for naming pull/push/print functions.
(This used to be commit e0f626b79c)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
240b470f44 r21575: Fix handling of is_scalar() for declares.
(This used to be commit f0bc29df72)
2007-10-10 14:48:59 -05:00
Jelmer Vernooij
a635df47da r21574: Fix handling of DECLARE.
(This used to be commit 6a4033464b)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
c1aef15fe7 r21573: Remove more code that assumed all types are typedefs.
(This used to be commit bbbfbfa870)
2007-10-10 14:48:58 -05:00
Jelmer Vernooij
d7a7b7fb0c r21572: More work towards supporting tagged types.
(This used to be commit 4d28396f09)
2007-10-10 14:48:58 -05:00
Andrew Tridgell
3d61a1bbdd r21571: added RPC-HANDLES test to make test
(This used to be commit 73da5e368b)
2007-10-10 14:48:58 -05:00
Andrew Tridgell
bedc59ca5c r21570: added a RPC-HANDLES test that tries to show that rpc policy handles
are not shared between connections. It tests three types of policy
handles, on lsa, samr and drsuapi. You need to run on ncacn_ip_tcp
with seal for drsuapi.

Metze, can you have a look and see how this tallies with what you've
seen?
(This used to be commit c1f41ac045)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
f5f0e502b3 r21568: More tests.
(This used to be commit c7bde9c1f5)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
6f3c968e64 r21567: Add some more wireshark tests.
(This used to be commit 40e2956058)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
7870652898 r21564: Move ndrdump to librpc/tools.
(This used to be commit e3cc94e7d1)
2007-10-10 14:48:57 -05:00
Jelmer Vernooij
cdb18fd22d r21559: More tests.
(This used to be commit c68573392b)
2007-10-10 14:48:56 -05:00
Jelmer Vernooij
2916cc628a r21555: Some tests for TYPE in wireshark conformance files.
(This used to be commit 2a44c8c9c2)
2007-10-10 14:48:56 -05:00
Andrew Bartlett
ad3b40d258 r21554: Use a snippet from tridge's junkcode to cause us to wait for smbd to
exit.

If we kill smbd right away, we can interrupt the gcov data file
writeout.  Instead, we now wait up to 20 seconds for the process to
exit, before sending it a kill -9.

Andrew Bartlett
(This used to be commit c547bce3d3)
2007-10-10 14:48:56 -05:00
Andrew Bartlett
e2aa39b024 r21553: Remove bogus comment.
(This used to be commit 7c5529729b)
2007-10-10 14:48:55 -05:00
Jelmer Vernooij
43679c82f4 r21545: Fix pidl test.
(This used to be commit ed0a7f5091)
2007-10-10 14:48:55 -05:00
Jelmer Vernooij
e31197308c r21544: Fix duplicate names. The build system should be warning about this....
(This used to be commit 623026f67a)
2007-10-10 14:48:55 -05:00
Jelmer Vernooij
fd2d095048 r21541: Export mgmt, samr and atsvc for use in samba-gtk.
(This used to be commit 7f451cbb8d)
2007-10-10 14:48:55 -05:00
Stefan Metzmacher
8c62b4c951 r21539: try to get rid of all valgrind warnings...
metze
(This used to be commit 21f0e8e163)
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
815d3f2e68 r21538: this looks better...
metze
(This used to be commit 8ddfbbcb93)
2007-10-10 14:48:54 -05:00
Andrew Tridgell
60fd088c48 r21535: - fixed a crash in the RAW-ACLS test. When a dcerpc_pipe is created
using the pattern in the clilsa code, it didn't fill in the p->binding
structure. This affects nearly all users of dcerpc_pipe_open_smb(), so
the simplest fix is to ensure that dcerpc_pipe_open_smb() initialises
the binding if its not already there.

- re-enable the RAW-ACLS test
(This used to be commit d8875c286d)
2007-10-10 14:48:54 -05:00
Jelmer Vernooij
b8c219a270 r21534: Add some more tests for wireshark.
(This used to be commit b104320961)
2007-10-10 14:48:54 -05:00
Stefan Metzmacher
0e617102ef r21533: try to get rid of the valgrind warnings of uninitialized memory
passed to a socket

metze
(This used to be commit 18ce338447)
2007-10-10 14:48:53 -05:00
Jelmer Vernooij
cb8fceab28 r21532: Add tests for StripPrefixes utility function.
(This used to be commit 365052555e)
2007-10-10 14:48:53 -05:00
Jelmer Vernooij
882c5a8b43 r21531: Use pidl-specific utility functions. Patch from Ronnie Sahlberg
(This used to be commit e6fdcdf95e)
2007-10-10 14:48:53 -05:00
Brad Henry
c7e06e88ae r21528: This file gets called by testit(), so it shouldn't call testit().
NET tests against Windows weren't getting run, testit() here just created a recipe.
(This used to be commit c71dee3402)
2007-10-10 14:48:52 -05:00
Stefan Metzmacher
8d569e174f r21524: don't send unitialized data to the socket
metze
(This used to be commit 50955aa669)
2007-10-10 14:48:51 -05:00
Stefan Metzmacher
3260b55188 r21523: fix a valgrind warning, we write the struct content to the file and should not leave
t2.out uninialized

metze
(This used to be commit 4723374d14)
2007-10-10 14:48:50 -05:00
Brad Henry
59d5e6a1b0 r21522: Stop passing the VM config file path to wintest_2k3_dc.sh on the command line.
Forgot this one in the last commit.
(This used to be commit 2982d9e90c)
2007-10-10 14:48:50 -05:00
Brad Henry
74e23c7e7a r21521: Add missing quotes around shell variables which could have spaces.
Stop passing the VM config file path to wintest_2k3_dc.sh on the command line as it is now properly passed through the environment.

Windows tests, including the DC tests found in test_w2k3.sh should work properly with 'make wintest' and a configured VMware environment.
These tests are executed on build-farm host bnhtest.
(This used to be commit 7496a28b43)
2007-10-10 14:48:50 -05:00
Stefan Metzmacher
067d8fd44c r21520: fix the altercontext test... sorry
I'm only fixing the bug I introduced here,
not the rest of the mess in the pipe handling,
as we don't fill in pipe->binding and pipe->conn->binding_str
consistant...

metze
(This used to be commit cec74f3528)
2007-10-10 14:48:49 -05:00
Stefan Metzmacher
a626e5a274 r21519: when we want to send non initialized data, then
generate a random buffer explicit to make valgrind happy

found by valgrind in the build-farm on fort, there are some more places
like this...

metze
(This used to be commit 2654f595ca)
2007-10-10 14:48:49 -05:00
Stefan Metzmacher
041b0cfa97 r21518: fix panic, sorry...
metze
(This used to be commit 3c786eb6bd)
2007-10-10 14:48:49 -05:00
Stefan Metzmacher
d92bc6db36 r21516: - use the same assoc_group_id, for all 3 drsuapi connection
- use the PFC_CONC_MPX flag for the 3rd connection
- to DsGetNCChanges requests on the 3rd connection with the bind handle
  from the 2nd connection to match w2k3

metze
(This used to be commit 5071af332c)
2007-10-10 14:48:48 -05:00
Stefan Metzmacher
1b17d9a587 r21515: add some more PFC_FLAGS from the DCERPC spec, and fix some names
also make it possible to pass and get the assoc_group_id for
a pipe.

also make it possible to pass the DCERPC_PFC_FLAG_CONC_MPX flag
in bind requests. From the spec it triggers support for
concurrent multiplexing on a single connection.

w2k3 uses the assoc_group_id feature when it becomes a domain controller
of an existing domain. Know the ugly part, with this it's possible to
use a policy handle from one connection on a different one...

typically the DsBind() call is on the 1st connection while DsGetNCChanges()
call using the first connections bind handle are on the 2nd connection.

The second connection also has the DCERPC_PFC_FLAG_CONC_MPX flag attached,
but that doesn't seem to be related to the cross connection handle usage

Can anyone think of a nice way to implement the assoc_group_id stuff in our server?

metze
(This used to be commit 2d8c85397d)
2007-10-10 14:48:48 -05:00
Stefan Metzmacher
deea925853 r21514: move away from a hardcoded "smbtorturedc"
--option="become dc:smbtorture dc=mydcname"
--option="become dc:do not unjoin=yes"

joins as mydcname and creates mydcname_*.ldb files under lp_private_dir()

metze
(This used to be commit 22bc6d541e)
2007-10-10 14:48:48 -05:00
Andrew Bartlett
28884a1cab r21513: I don't know how long this has been wrong, but fix this up so we can
re-provision (as is required for the TEST_LDAP=yes version of make
test).

Andrew Bartlett
(This used to be commit ea4c2ea22f)
2007-10-10 14:48:48 -05:00