[SCM] Samba Shared Repository - branch master updated
Stefan Metzmacher
metze at samba.org
Wed Mar 10 09:17:00 MST 2010
The branch, master has been updated
via 667e8d8... nsswitch: build libnss_winbind.so with SOVERSION = 2
via 3d70a3f... nsswitch: don't use socket_wrapper for winbind client code
via 0b4ad41... nsswitch: build libnss_winbindd.so only for the non merged build
via 65e92c6... s4:build/m4/public.m4: add realname argument to SMB_BUILD_LIBRARY()
via bb1d81b... s4:rpc_server/wkssvc: don't reset [out,ref] pointer to 0
via 21326d4... s4:rpc_server/wkssvc: remove unneeded talloc_reference()
via 00ce349... s4:rpc_server/wkssvc: avoid ZERO_STRUCT(r->out) and use already allocated [out,ref] memory
via 11a402a... s4:rpc_server/srvsvc: remove unused ZERO_STRUCT(r->out);
via 7db0109... idl: Regenerate DRSUAPI idl files
via 6853f45... s4/idl: drsuapi_QuerySitesByCostCtr1 'unknown' member is now known
via 14fd25a... s4/idl: QuerySitesByCost - switch types should be unsigned
via e76d6e9... s4/idl: DsGetMemberships2 - switch types should be unsigned
via 6321b26... s4/drs: DsRemoveDSServer - Propagating IDL changes to source code
via 1ad805e... s4/idl: DsRemoveDSServer - switch types should be unsigned
via 28cb274... s4/drs: DsWriteAccountSpn - Propagating IDL changes to source code
via d07883e... s4/idl: DsWriteAccountSpn - switch types should be unsigned
via 88494b2... s3/drs: DsCrackNames - Propagating IDL changes to source code
via 2483ed3... s4/drs: DsCrackNames - Propagating IDL changes to source code
via d22eadd... s4/idl: DsCrackNames - switch types should be unsigned
via 00135d8... s4/idl: DsGetMemberships - switch types should be unsigned
via 890d408... s4/idl: DsReplicaMod - switch types should be unsigned
via 4ea818e... s4/idl: DsReplicaDel - switch types should be unsigned
via 9f71ffb... s4/idl: DsReplicaAdd - switch types should be unsigned
via 62b4b67... s4/idl: DsReplicaUpdateRefs - switch types should be unsigned
via feb4c8a... s3/drs: DsGetNCChanges - Propagating IDL changes to source code
via 9f21787... s4/drs: DsGetNCChanges - Propagating IDL changes to source code
via 89f8c35... s4/idl: DsGetNCChanges - switch types should be unsigned
via 163cc1a... s4/idl: drsuapi_DsReplicaSyncOptions flags are no more used
via d142d9f... doxygen: talloc_get_type name fixed in Doxygen documentation
from c5ba525... s3-winreg: add some debug statements to _winreg_QueryValue().
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 667e8d8fc63f83bdc9580493c61fe3374c2c4da7
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 12:24:59 2010 +0100
nsswitch: build libnss_winbind.so with SOVERSION = 2
metze
commit 3d70a3f78d34a9c2276a3c53c0a901ed075d1b61
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 10:29:33 2010 +0100
nsswitch: don't use socket_wrapper for winbind client code
metze
commit 0b4ad41973676c874a1b420b7711762b41eed9dc
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 11:14:50 2010 +0100
nsswitch: build libnss_winbindd.so only for the non merged build
metze
commit 65e92c6ffefffb34f65e48696c03b9d1da5f7408
Author: Stefan Metzmacher <metze at samba.org>
Date: Tue Mar 9 10:44:41 2010 +0100
s4:build/m4/public.m4: add realname argument to SMB_BUILD_LIBRARY()
metze
commit bb1d81bab70125d56cfb3e6caff6a01503f33d3d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:12:28 2010 +0100
s4:rpc_server/wkssvc: don't reset [out,ref] pointer to 0
r->out.total_entries = 0; should be *r->out.total_entries = 0;
Otherwise we fail to marshall the reponse or crash if we run with
log level = 10 and trigger the ndr_print functions.
All out elements are already setup and initialized by the pidl generated code.
metze
commit 21326d48d7f9dcb93f15124114ade9484c02055d
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:10:13 2010 +0100
s4:rpc_server/wkssvc: remove unneeded talloc_reference()
metze
commit 00ce349ad1be0b223a6c455667e894aac7869aba
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 14:08:34 2010 +0100
s4:rpc_server/wkssvc: avoid ZERO_STRUCT(r->out) and use already allocated [out,ref] memory
metze
commit 11a402afa88a5f74d060fccb47cca604dff9d925
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Mar 10 13:59:37 2010 +0100
s4:rpc_server/srvsvc: remove unused ZERO_STRUCT(r->out);
Here it doesn't matter, but it's a bad example for other code
as it might reset the [out,ref] pointers which are already
generated by the pidl generated code.
metze
commit 7db0109bfec806ad0791b5117292620d26050f6c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Mar 6 00:35:17 2010 +0200
idl: Regenerate DRSUAPI idl files
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6853f452b411b0fc15a49f0bd013d5af423367d1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Sat Mar 6 00:31:12 2010 +0200
s4/idl: drsuapi_QuerySitesByCostCtr1 'unknown' member is now known
and this it is a reserved fields for future flags - 'flags_reserver'
Must be 0 and is currently ignored.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 14fd25ae827688ab518045e65d8dfbc490db12b8
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 19:51:01 2010 +0200
s4/idl: QuerySitesByCost - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit e76d6e9454ffada88f58d77e2b6df2138875d130
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 19:25:40 2010 +0200
s4/idl: DsGetMemberships2 - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 6321b263614d73a9c0a0489ab8df9c173406e2e0
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:24:10 2010 +0200
s4/drs: DsRemoveDSServer - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 1ad805e04fb809ce42081caea9f04d6b1f31e92e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:17:50 2010 +0200
s4/idl: DsRemoveDSServer - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 28cb2742206d8eb09be7c902e906a60bacfa56ed
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:04:52 2010 +0200
s4/drs: DsWriteAccountSpn - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d07883ed86e9073bb49c124b0212d8d41788bea6
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 23:03:21 2010 +0200
s4/idl: DsWriteAccountSpn - switch types should be unsigned
Changes also propagated into source code as they are
too minor to be done in separate commit
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 88494b2b6215a820551779a7cff8a02607e04237
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 22:50:57 2010 +0200
s3/drs: DsCrackNames - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 2483ed362be4350601f7b4f194d010f205cefe8c
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 22:38:03 2010 +0200
s4/drs: DsCrackNames - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d22eaddf95386081e6ae41fd770142f9ba159ca1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 22:37:44 2010 +0200
s4/idl: DsCrackNames - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 00135d83f435d778229ac94cc5e5e083fce7a746
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:55:46 2010 +0200
s4/idl: DsGetMemberships - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 890d408feaa8c7761021d91f382bc7bfdb0c293d
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:53:03 2010 +0200
s4/idl: DsReplicaMod - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 4ea818e349fd30d2f0289bb6742455d3a3469fc9
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:19:32 2010 +0200
s4/idl: DsReplicaDel - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9f71ffb06c06ba0a256131a42a200a96f4ddec59
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Thu Mar 4 17:11:38 2010 +0200
s4/idl: DsReplicaAdd - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 62b4b675fd73ccb082fd5cbee428a4ba976c6552
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 21:30:40 2010 +0200
s4/idl: DsReplicaUpdateRefs - switch types should be unsigned
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit feb4c8a3e345ae30f35f7a61d07c3fd3f0db446a
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 21:58:01 2010 +0200
s3/drs: DsGetNCChanges - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 9f21787131a062c15b4757d3e655fbb5fbc9960b
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 20:33:46 2010 +0200
s4/drs: DsGetNCChanges - Propagating IDL changes to source code
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 89f8c35ac4cb123c930207f6e8dd2ff4e428db72
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Fri Mar 5 20:33:23 2010 +0200
s4/idl: DsGetNCChanges - switch types should be unsigned
Converting those types to unsigned should help in
creating DRSUAPI dissector for Wireshark also.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit 163cc1a02d2dd1e5391fc37e5c438145d7b43b7e
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 3 22:07:55 2010 +0200
s4/idl: drsuapi_DsReplicaSyncOptions flags are no more used
Signed-off-by: Stefan Metzmacher <metze at samba.org>
commit d142d9fb64d94148cad555ef9c62bbed935e3dc1
Author: Kamen Mazdrashki <kamen.mazdrashki at postpath.com>
Date: Wed Mar 3 22:07:12 2010 +0200
doxygen: talloc_get_type name fixed in Doxygen documentation
Signed-off-by: Stefan Metzmacher <metze at samba.org>
-----------------------------------------------------------------------
Summary of changes:
lib/talloc/talloc.h | 2 +-
librpc/gen_ndr/cli_drsuapi.c | 72 ++++----
librpc/gen_ndr/cli_drsuapi.h | 72 ++++----
librpc/gen_ndr/drsuapi.h | 102 ++++-------
librpc/gen_ndr/ndr_drsuapi.c | 275 ++++++++++++-----------------
librpc/gen_ndr/ndr_drsuapi.h | 3 -
librpc/idl/drsblobs.idl | 1 -
librpc/idl/drsuapi.idl | 103 ++++-------
nsswitch/config.m4 | 4 +
nsswitch/config.mk | 3 +-
source3/libnet/libnet_dssync.c | 16 +-
source3/rpcclient/cmd_drsuapi.c | 10 +-
source4/build/m4/public.m4 | 3 +-
source4/dsdb/repl/drepl_out_helpers.c | 2 +-
source4/libnet/libnet_become_dc.c | 2 +-
source4/libnet/libnet_join.c | 2 +-
source4/libnet/libnet_unbecome_dc.c | 2 +-
source4/rpc_server/srvsvc/dcesrv_srvsvc.c | 2 -
source4/rpc_server/wkssvc/dcesrv_wkssvc.c | 16 +--
source4/torture/rpc/drsuapi.c | 6 +-
source4/torture/rpc/drsuapi_cracknames.c | 4 +-
source4/torture/rpc/dssync.c | 8 +-
22 files changed, 299 insertions(+), 411 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h
index edd9b8a..4adc206 100644
--- a/lib/talloc/talloc.h
+++ b/lib/talloc/talloc.h
@@ -720,7 +720,7 @@ void talloc_set_type(const char *ptr, #type);
*
* @return The properly casted pointer given by ptr, NULL on error.
*/
-void *talloc_get_name(const void *ptr, #type);
+type *talloc_get_type(const void *ptr, #type);
#else
#define talloc_set_type(ptr, type) talloc_set_name_const(ptr, #type)
#define talloc_get_type(ptr, type) (type *)talloc_check_name(ptr, #type)
diff --git a/librpc/gen_ndr/cli_drsuapi.c b/librpc/gen_ndr/cli_drsuapi.c
index 352442f..2ecf006 100644
--- a/librpc/gen_ndr/cli_drsuapi.c
+++ b/librpc/gen_ndr/cli_drsuapi.c
@@ -475,9 +475,9 @@ struct tevent_req *rpccli_drsuapi_DsGetNCChanges_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsGetNCChangesRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsGetNCChangesCtr *_ctr /* [out] [ref,switch_is(*level_out)] */)
{
struct tevent_req *req;
@@ -585,9 +585,9 @@ NTSTATUS rpccli_drsuapi_DsGetNCChanges_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsGetNCChanges(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsGetNCChangesRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsGetNCChangesCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror)
{
@@ -638,7 +638,7 @@ struct tevent_req *rpccli_drsuapi_DsReplicaUpdateRefs_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsReplicaUpdateRefsRequest _req /* [in] [switch_is(level)] */)
{
struct tevent_req *req;
@@ -736,7 +736,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsReplicaUpdateRefsRequest req /* [in] [switch_is(level)] */,
WERROR *werror)
{
@@ -785,7 +785,7 @@ struct tevent_req *rpccli_drsuapi_DsReplicaAdd_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsReplicaAddRequest _req /* [in] [switch_is(level)] */)
{
struct tevent_req *req;
@@ -883,7 +883,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaAdd_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsReplicaAdd(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsReplicaAddRequest req /* [in] [switch_is(level)] */,
WERROR *werror)
{
@@ -932,7 +932,7 @@ struct tevent_req *rpccli_drsuapi_DsReplicaDel_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsReplicaDelRequest _req /* [in] [switch_is(level)] */)
{
struct tevent_req *req;
@@ -1030,7 +1030,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaDel_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsReplicaDel(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsReplicaDelRequest req /* [in] [switch_is(level)] */,
WERROR *werror)
{
@@ -1079,7 +1079,7 @@ struct tevent_req *rpccli_drsuapi_DsReplicaMod_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsReplicaModRequest _req /* [in] [switch_is(level)] */)
{
struct tevent_req *req;
@@ -1177,7 +1177,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaMod_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsReplicaMod(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsReplicaModRequest req /* [in] [switch_is(level)] */,
WERROR *werror)
{
@@ -1361,9 +1361,9 @@ struct tevent_req *rpccli_drsuapi_DsGetMemberships_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsGetMembershipsRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsGetMembershipsCtr *_ctr /* [out] [ref,switch_is(*level_out)] */)
{
struct tevent_req *req;
@@ -1471,9 +1471,9 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsGetMemberships(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsGetMembershipsRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsGetMembershipsCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror)
{
@@ -1822,9 +1822,9 @@ struct tevent_req *rpccli_drsuapi_DsCrackNames_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsNameRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsNameCtr *_ctr /* [out] [ref,switch_is(*level_out)] */)
{
struct tevent_req *req;
@@ -1932,9 +1932,9 @@ NTSTATUS rpccli_drsuapi_DsCrackNames_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsCrackNames(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsNameRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsNameCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror)
{
@@ -1985,9 +1985,9 @@ struct tevent_req *rpccli_drsuapi_DsWriteAccountSpn_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsWriteAccountSpnRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsWriteAccountSpnResult *_res /* [out] [ref,switch_is(*level_out)] */)
{
struct tevent_req *req;
@@ -2095,9 +2095,9 @@ NTSTATUS rpccli_drsuapi_DsWriteAccountSpn_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsWriteAccountSpn(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsWriteAccountSpnRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsWriteAccountSpnResult *res /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror)
{
@@ -2148,9 +2148,9 @@ struct tevent_req *rpccli_drsuapi_DsRemoveDSServer_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsRemoveDSServerRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsRemoveDSServerResult *_res /* [out] [ref,switch_is(*level_out)] */)
{
struct tevent_req *req;
@@ -2258,9 +2258,9 @@ NTSTATUS rpccli_drsuapi_DsRemoveDSServer_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsRemoveDSServer(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsRemoveDSServerRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsRemoveDSServerResult *res /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror)
{
@@ -3217,9 +3217,9 @@ struct tevent_req *rpccli_drsuapi_DsGetMemberships2_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsGetMemberships2Request *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsGetMemberships2Ctr *_ctr /* [out] [ref,switch_is(*level_out)] */)
{
struct tevent_req *req;
@@ -3327,9 +3327,9 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships2_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsGetMemberships2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsGetMemberships2Request *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsGetMemberships2Ctr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror)
{
@@ -3650,9 +3650,9 @@ struct tevent_req *rpccli_drsuapi_QuerySitesByCost_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_QuerySitesByCostRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_QuerySitesByCostCtr *_ctr /* [out] [ref,switch_is(*level_out)] */)
{
struct tevent_req *req;
@@ -3760,9 +3760,9 @@ NTSTATUS rpccli_drsuapi_QuerySitesByCost_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_QuerySitesByCost(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_QuerySitesByCostRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_QuerySitesByCostCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror)
{
diff --git a/librpc/gen_ndr/cli_drsuapi.h b/librpc/gen_ndr/cli_drsuapi.h
index c2ab1be..9c30ff0 100644
--- a/librpc/gen_ndr/cli_drsuapi.h
+++ b/librpc/gen_ndr/cli_drsuapi.h
@@ -46,9 +46,9 @@ struct tevent_req *rpccli_drsuapi_DsGetNCChanges_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsGetNCChangesRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsGetNCChangesCtr *_ctr /* [out] [ref,switch_is(*level_out)] */);
NTSTATUS rpccli_drsuapi_DsGetNCChanges_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -56,16 +56,16 @@ NTSTATUS rpccli_drsuapi_DsGetNCChanges_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsGetNCChanges(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsGetNCChangesRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsGetNCChangesCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
struct tevent_req *rpccli_drsuapi_DsReplicaUpdateRefs_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsReplicaUpdateRefsRequest _req /* [in] [switch_is(level)] */);
NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -73,14 +73,14 @@ NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsReplicaUpdateRefsRequest req /* [in] [switch_is(level)] */,
WERROR *werror);
struct tevent_req *rpccli_drsuapi_DsReplicaAdd_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsReplicaAddRequest _req /* [in] [switch_is(level)] */);
NTSTATUS rpccli_drsuapi_DsReplicaAdd_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -88,14 +88,14 @@ NTSTATUS rpccli_drsuapi_DsReplicaAdd_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsReplicaAdd(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsReplicaAddRequest req /* [in] [switch_is(level)] */,
WERROR *werror);
struct tevent_req *rpccli_drsuapi_DsReplicaDel_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsReplicaDelRequest _req /* [in] [switch_is(level)] */);
NTSTATUS rpccli_drsuapi_DsReplicaDel_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -103,14 +103,14 @@ NTSTATUS rpccli_drsuapi_DsReplicaDel_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsReplicaDel(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsReplicaDelRequest req /* [in] [switch_is(level)] */,
WERROR *werror);
struct tevent_req *rpccli_drsuapi_DsReplicaMod_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsReplicaModRequest _req /* [in] [switch_is(level)] */);
NTSTATUS rpccli_drsuapi_DsReplicaMod_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -118,7 +118,7 @@ NTSTATUS rpccli_drsuapi_DsReplicaMod_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsReplicaMod(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsReplicaModRequest req /* [in] [switch_is(level)] */,
WERROR *werror);
struct tevent_req *rpccli_DRSUAPI_VERIFY_NAMES_send(TALLOC_CTX *mem_ctx,
@@ -134,9 +134,9 @@ struct tevent_req *rpccli_drsuapi_DsGetMemberships_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsGetMembershipsRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsGetMembershipsCtr *_ctr /* [out] [ref,switch_is(*level_out)] */);
NTSTATUS rpccli_drsuapi_DsGetMemberships_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -144,9 +144,9 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsGetMemberships(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsGetMembershipsRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsGetMembershipsCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
struct tevent_req *rpccli_DRSUAPI_INTER_DOMAIN_MOVE_send(TALLOC_CTX *mem_ctx,
@@ -181,9 +181,9 @@ struct tevent_req *rpccli_drsuapi_DsCrackNames_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsNameRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsNameCtr *_ctr /* [out] [ref,switch_is(*level_out)] */);
NTSTATUS rpccli_drsuapi_DsCrackNames_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -191,18 +191,18 @@ NTSTATUS rpccli_drsuapi_DsCrackNames_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsCrackNames(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsNameRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsNameCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
struct tevent_req *rpccli_drsuapi_DsWriteAccountSpn_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsWriteAccountSpnRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsWriteAccountSpnResult *_res /* [out] [ref,switch_is(*level_out)] */);
NTSTATUS rpccli_drsuapi_DsWriteAccountSpn_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -210,18 +210,18 @@ NTSTATUS rpccli_drsuapi_DsWriteAccountSpn_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsWriteAccountSpn(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsWriteAccountSpnRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsWriteAccountSpnResult *res /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
struct tevent_req *rpccli_drsuapi_DsRemoveDSServer_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsRemoveDSServerRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsRemoveDSServerResult *_res /* [out] [ref,switch_is(*level_out)] */);
NTSTATUS rpccli_drsuapi_DsRemoveDSServer_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -229,9 +229,9 @@ NTSTATUS rpccli_drsuapi_DsRemoveDSServer_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsRemoveDSServer(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsRemoveDSServerRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsRemoveDSServerResult *res /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
struct tevent_req *rpccli_DRSUAPI_REMOVE_DS_DOMAIN_send(TALLOC_CTX *mem_ctx,
@@ -328,9 +328,9 @@ struct tevent_req *rpccli_drsuapi_DsGetMemberships2_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_DsGetMemberships2Request *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_DsGetMemberships2Ctr *_ctr /* [out] [ref,switch_is(*level_out)] */);
NTSTATUS rpccli_drsuapi_DsGetMemberships2_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -338,9 +338,9 @@ NTSTATUS rpccli_drsuapi_DsGetMemberships2_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_DsGetMemberships2(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_DsGetMemberships2Request *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_DsGetMemberships2Ctr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
struct tevent_req *rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS_send(TALLOC_CTX *mem_ctx,
@@ -365,9 +365,9 @@ struct tevent_req *rpccli_drsuapi_QuerySitesByCost_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct rpc_pipe_client *cli,
struct policy_handle *_bind_handle /* [in] [ref] */,
- int32_t _level /* [in] */,
+ uint32_t _level /* [in] */,
union drsuapi_QuerySitesByCostRequest *_req /* [in] [ref,switch_is(level)] */,
- int32_t *_level_out /* [out] [ref] */,
+ uint32_t *_level_out /* [out] [ref] */,
union drsuapi_QuerySitesByCostCtr *_ctr /* [out] [ref,switch_is(*level_out)] */);
NTSTATUS rpccli_drsuapi_QuerySitesByCost_recv(struct tevent_req *req,
TALLOC_CTX *mem_ctx,
@@ -375,9 +375,9 @@ NTSTATUS rpccli_drsuapi_QuerySitesByCost_recv(struct tevent_req *req,
NTSTATUS rpccli_drsuapi_QuerySitesByCost(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
struct policy_handle *bind_handle /* [in] [ref] */,
- int32_t level /* [in] */,
+ uint32_t level /* [in] */,
union drsuapi_QuerySitesByCostRequest *req /* [in] [ref,switch_is(level)] */,
- int32_t *level_out /* [out] [ref] */,
+ uint32_t *level_out /* [out] [ref] */,
union drsuapi_QuerySitesByCostCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
WERROR *werror);
#endif /* __CLI_DRSUAPI__ */
diff --git a/librpc/gen_ndr/drsuapi.h b/librpc/gen_ndr/drsuapi.h
index 5cce4ef..12d44a6 100644
--- a/librpc/gen_ndr/drsuapi.h
+++ b/librpc/gen_ndr/drsuapi.h
@@ -144,32 +144,6 @@ struct drsuapi_DsReplicaObjectIdentifier {
--
Samba Shared Repository
More information about the samba-cvs
mailing list