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

113 Commits

Author SHA1 Message Date
Kamen Mazdrashki
30ac3caade s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source code 2010-02-24 14:14:08 +02:00
Kamen Mazdrashki
99db858b15 s4/drs: Propagate drsuapi_DsReplicaSync changes in source base 2010-02-24 14:14:07 +02:00
Kamen Mazdrashki
8747e695fe s4/drs: Propagate drsuapi_DsReplicaSyncRequest1 changes in source base 2010-02-24 14:14:07 +02:00
Anatoliy Atanasov
0e8fe821c9 s4/drs:kccdrs_replica_get_info_obj_metadata implementation
Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl
The get_info_obj_metadata implementation is ported from implementation
i developed and tested at the samba io lab 2009
2010-02-17 18:03:31 +02:00
Andrew Tridgell
f461a72ec3 idl: switched to using the WSPP names for the 'neighbour' DRS options
The documentation shows that all these functions in fact use the same
flags variable type. To be consistent between functions, and to allow
easy reference to the WSPP docs, it is better for us to also use this
generic DrsOptions bitfield rather than one per operations.
2010-01-18 07:25:18 +11:00
Andrew Tridgell
4e0090c917 s4-torture: fixed DsReplicaGetInfo elements 2010-01-16 14:45:33 +11:00
Andrew Tridgell
74a5719614 s4-torture: switch smbtorture to the generic DRS options 2010-01-14 15:37:59 +11:00
Kamen Mazdrashki
b0de573629 s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system call
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17 10:46:28 +11:00
Andrew Tridgell
84d0047377 s4-torture: ran minimal_includes.pl over source4/torture
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Kamen Mazdrashki
98245727c9 s4-tort-drs: Add bind_info for dcerpc_drsuapi_DsBind() call
After this patch DsGetNCChanges() test works fine.

bind_info returned by server is also cached for future use

Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-10-01 11:29:23 +03:00
Kamen Mazdrashki
d60e3ac8d3 s4-tort-drs: DsReplicaUpdateRefs test fixed and extended
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-10-01 11:29:22 +03:00
Kamen Mazdrashki
bb6fda8a9a s4/tort: RPC-DRSUAPI test case refactored to match torture architecture 2009-09-11 11:53:18 +10:00
Kamen Mazdrashki
b24203fcb8 s4/tort: code clean up using torture_drsuapi_assert_call() macro
After this change, when a test fails, it gives
reasonable failure message.
2009-09-11 11:53:18 +10:00
Kamen Mazdrashki
a03e0c478d s4/tort: Propagate torture_context and use torture_comment
NOTE: Not every place where printf is used is replaced by
torture_comment. Future work shall "missed" printfs also.
2009-09-11 11:53:17 +10:00
Kamen Mazdrashki
bebeb4ff70 s4/tort: Make common setup/teardown drsuapi test funcs really common 2009-09-11 07:29:56 +10:00
Andrew Tridgell
27beb7fc7e s4/torture: fixed lots of crash bugs in the DRS tests 2009-09-10 22:59:15 +10:00
Kamen Mazdrashki
899fc0ddde tort: DsCrackNames - propagate torture context to all tests. 2009-09-08 22:44:49 +10:00
Kamen Mazdrashki
d078d2efe8 tort: Helper function to get DC info for testing 2009-09-08 22:44:49 +10:00
Kamen Mazdrashki
5e3759d122 tort: Implement 'setup' and 'teardown' for DRSUAPI test cases. 2009-09-08 22:44:48 +10:00
Günther Deschner
dd49f7483b s4-drsuapi: merge drsuapi_DsGetNCChanges from s3 drsuapi idl.
Guenther
2008-10-18 23:06:39 +02:00
Günther Deschner
ca84c406d3 s4-drsuapi: merge drsuapi_DsGetDomainControllerInfo from s3 drsuapi idl.
Guenther
2008-10-18 23:06:24 +02:00
Günther Deschner
32a1d55797 s4-drsuapi: merge drsuapi_DsWriteAccountSpn from s3 drsuapi idl.
Guenther
2008-10-18 23:06:17 +02:00
Günther Deschner
7b23d61a68 s4-smbtorture: fix test_DsReplicaGetInfo.
Guenther
2008-10-17 23:06:42 +02:00
Günther Deschner
2f8e854417 s4-smbtorture: fix test_DsGetNCChanges torture test.
This must have been broken since a while already.

Guenther
2008-10-17 23:06:33 +02:00
Günther Deschner
e941e4ad52 s4: merge from s3 drsuapi.idl.
Guenther
2008-10-17 10:54:01 +02:00
Stefan Metzmacher
c88ec856bd drsuapi.idl: remove some unknows from DsGetNCChanges() (update samba4 callers)
metze
(This used to be commit d41b3dd6ff)
2008-06-30 17:40:01 +02:00
Simo Sorce
929adc9efa Make up the right dependencies now that ldb depends on libevents
(This used to be commit 3b8eec7ca3)
2008-06-14 11:59:19 -04:00
Jelmer Vernooij
509e82e402 r26272: Remove global_loadparm in some more places.
(This used to be commit 1ab76ecc53)
2007-12-21 05:47:55 +01:00
Jelmer Vernooij
ab69eb8d89 r26250: Avoid global_loadparm in a couple more places.
(This used to be commit 2c6b755309)
2007-12-21 05:47:28 +01:00
Jelmer Vernooij
bbdfbf8d9d r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
(This used to be commit a33a553054)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
2151cde580 r25554: Convert last instances of BOOL, True and False to the standard types.
(This used to be commit 566aa14139)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
60a1046c5c r25430: Add the loadparm context to all parametric options.
(This used to be commit fd697d77c9)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
45d0b9a0a3 r25070: Revert DRSUAPI conversion to new API, as it broke some tests.
(This used to be commit cfb33df2d0)
2007-10-10 15:06:24 -05:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
7fd416bd3e r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
(This used to be commit dadcc4708e)
2007-10-10 15:03:20 -05:00
Jelmer Vernooij
9e35f00c63 r24844: Convert to torture API in preparation of helper functions for domain member
RPC tests.
(This used to be commit c2521453a9)
2007-10-10 15:03:18 -05:00
Jelmer Vernooij
2a8ff00eea r24835: Put all RPC tests in the list (skipping when necessary), warn if tests aren't there.
(This used to be commit 1ff13ae254)
2007-10-10 15:03:17 -05:00
Jelmer Vernooij
919aa6b27e r24735: Use torture API in more places.
(This used to be commit 1319d88c09)
2007-10-10 15:03:00 -05:00
Stefan Metzmacher
f14bd1a90a r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 84651aee81)
2007-10-10 15:02:15 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac)
2007-10-10 14:59:12 -05:00
Günther Deschner
4d1a21f24d r23239: Fill in drsuapi_QuerySitesByCost.
Guenther
(This used to be commit cf953d0481)
2007-10-10 14:53:06 -05:00
Stefan Metzmacher
5a616802ff r22538: same day late at night in au...:-)
fix the strcasecmp_m() returns 0 for a match

also use the correct array element to fill priv->dcinfo

the fixes the problems where ldb changes the order of the search results
when changing the main dc netbios name from "localhost" to "localtest"

metze
(This used to be commit 25fffe385e)
2007-10-10 14:51:39 -05:00
Andrew Bartlett
d0179f164a r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.
Fix up our server side implementation to pass almost all the tests (a
couple are skipped).

Don't require the DsGetDomainControllerInfo calls to pass, just get
some info from them.

Andrew Bartlett
(This used to be commit a29eb8f7e5)
2007-10-10 14:49:53 -05:00
Stefan Metzmacher
d0f989628a r21817: give fields a meaning
metze
(This used to be commit 521355b57b)
2007-10-10 14:49:31 -05:00
Jelmer Vernooij
e8d2437cd5 r20676: Add ref pointer to fix warning.
(This used to be commit 1afcf85067)
2007-10-10 14:40:19 -05:00
Stefan Metzmacher
bc32b30011 r20510: fix spelling
metze
(This used to be commit 58066e2252)
2007-10-10 14:36:03 -05:00
Andrew Bartlett
d0bc792dba r20369: Remember to break if we find a match.
Andrew Bartlett
(This used to be commit 4bd8dbcf41)
2007-10-10 14:30:18 -05:00
Stefan Metzmacher
c70a3f6706 r20359: level -1 of DsGetDomainControllerInfo gives back a list
of all active connections to the Directory Service Agent (DSA)
(This can be LDAP or DRSUAPI connections)

abartlet: you had just luck by using flag(BIG_ENDIAN) as BIG_ENDIAN is
          defined in <endian.h>, it should be flag(NDR_BIG_ENDIAN)...

metze
(This used to be commit c7e639763d)
2007-10-10 14:30:16 -05:00
Andrew Bartlett
ea4c64388b r20353: Restructure the DRSUAPI DsGetDomainControllerInfo test, because as
usual things are more complex than they appear.

Also remove the incorrect server-side implementation, which blindly
assumed some sense of consistancy across the API switch levels.

Andrew Bartlett
(This used to be commit 79941adbff)
2007-10-10 14:30:15 -05:00