[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-2310-g1ed49e9

Michael Adam obnox at samba.org
Thu May 8 15:47:32 GMT 2008


The branch, v3-2-test has been updated
       via  1ed49e94fea86bf919c3125b63e6b3daa9de450f (commit)
       via  1a29dc699111f68bcb3cd5635f95cdf4a3a58ef8 (commit)
       via  e4e8f579a49bb1b7a775fc98f633ab0374f531e7 (commit)
       via  b9866896da4b8b4dad9504c11e5d749464b1b290 (commit)
       via  191c19005a3185c31d1b8941f4e44cb649238caa (commit)
      from  45431136f6b8fa602cf0dbaae35ba5054a7b6f4e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 1ed49e94fea86bf919c3125b63e6b3daa9de450f
Author: Michael Adam <obnox at samba.org>
Date:   Thu May 8 17:44:41 2008 +0200

    Revert "IDL: Import drsuapi.idl from samba4."
    
    This reverts commit f583e99cef55156fa5294c3eaef0cd29740af5f1.

commit 1a29dc699111f68bcb3cd5635f95cdf4a3a58ef8
Author: Michael Adam <obnox at samba.org>
Date:   Thu May 8 17:44:40 2008 +0200

    Revert "IDL: Fix several DRSUAPI calls."
    
    This reverts commit aa7308fbc37eb9a26b4583b1ce2ca435b0648541.

commit e4e8f579a49bb1b7a775fc98f633ab0374f531e7
Author: Michael Adam <obnox at samba.org>
Date:   Thu May 8 17:44:40 2008 +0200

    Revert "IDL: For the fun of it, build drsuapi.idl."
    
    This reverts commit 192645f63918c8656ca0fac5bb6d2704c9500a15.

commit b9866896da4b8b4dad9504c11e5d749464b1b290
Author: Michael Adam <obnox at samba.org>
Date:   Thu May 8 17:44:40 2008 +0200

    Revert "IDL: Add autogenerated drsuapi files."
    
    This reverts commit 192ffa3835c407d5603f47c1633a075869daae01.

commit 191c19005a3185c31d1b8941f4e44cb649238caa
Author: Michael Adam <obnox at samba.org>
Date:   Thu May 8 17:44:40 2008 +0200

    Revert "IDL: Build nbt.idl always."
    
    This reverts commit 933abaeb321428aa7092a5d87af77b981be6359e.

-----------------------------------------------------------------------

Summary of changes:
 source/Makefile.in                  |    2 +-
 source/librpc/gen_ndr/cli_drsuapi.c | 1191 ---
 source/librpc/gen_ndr/cli_drsuapi.h |  143 -
 source/librpc/gen_ndr/drsuapi.h     | 1618 ----
 source/librpc/gen_ndr/ndr_drsuapi.c |13877 -----------------------------------
 source/librpc/gen_ndr/ndr_drsuapi.h |  281 -
 source/librpc/idl/drsuapi.idl       | 1503 ----
 7 files changed, 1 insertions(+), 18614 deletions(-)
 delete mode 100644 source/librpc/gen_ndr/cli_drsuapi.c
 delete mode 100644 source/librpc/gen_ndr/cli_drsuapi.h
 delete mode 100644 source/librpc/gen_ndr/drsuapi.h
 delete mode 100644 source/librpc/gen_ndr/ndr_drsuapi.c
 delete mode 100644 source/librpc/gen_ndr/ndr_drsuapi.h
 delete mode 100644 source/librpc/idl/drsuapi.idl


Changeset truncated at 500 lines:

diff --git a/source/Makefile.in b/source/Makefile.in
index dd98db1..71b2018 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -1187,7 +1187,7 @@ modules: SHOWFLAGS $(MODULES)
 IDL_FILES = lsa.idl dfs.idl echo.idl winreg.idl initshutdown.idl \
 	srvsvc.idl svcctl.idl eventlog.idl wkssvc.idl netlogon.idl notify.idl \
 	epmapper.idl messaging.idl xattr.idl misc.idl samr.idl security.idl \
-	dssetup.idl krb5pac.idl ntsvcs.idl libnetapi.idl drsuapi.idl nbt.idl
+	dssetup.idl krb5pac.idl ntsvcs.idl libnetapi.idl
 
 idl:
 	@IDL_FILES="$(IDL_FILES)" CPP="$(CPP)" PERL="$(PERL)" \
diff --git a/source/librpc/gen_ndr/cli_drsuapi.c b/source/librpc/gen_ndr/cli_drsuapi.c
deleted file mode 100644
index 3e2605a..0000000
--- a/source/librpc/gen_ndr/cli_drsuapi.c
+++ /dev/null
@@ -1,1191 +0,0 @@
-/*
- * Unix SMB/CIFS implementation.
- * client auto-generated by pidl. DO NOT MODIFY!
- */
-
-#include "includes.h"
-#include "librpc/gen_ndr/cli_drsuapi.h"
-
-NTSTATUS rpccli_drsuapi_DsBind(struct rpc_pipe_client *cli,
-			       TALLOC_CTX *mem_ctx,
-			       struct GUID *bind_guid /* [in] [unique] */,
-			       struct drsuapi_DsBindInfoCtr *bind_info /* [in,out] [unique] */,
-			       struct policy_handle *bind_handle /* [out] [ref] */,
-			       WERROR *werror)
-{
-	struct drsuapi_DsBind r;
-	NTSTATUS status;
-
-	/* In parameters */
-	r.in.bind_guid = bind_guid;
-	r.in.bind_info = bind_info;
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_IN_DEBUG(drsuapi_DsBind, &r);
-	}
-
-	status = cli_do_rpc_ndr(cli,
-				mem_ctx,
-				PI_DRSUAPI,
-				&ndr_table_drsuapi,
-				NDR_DRSUAPI_DSBIND,
-				&r);
-
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_OUT_DEBUG(drsuapi_DsBind, &r);
-	}
-
-	if (NT_STATUS_IS_ERR(status)) {
-		return status;
-	}
-
-	/* Return variables */
-	if (bind_info && r.out.bind_info) {
-		*bind_info = *r.out.bind_info;
-	}
-	*bind_handle = *r.out.bind_handle;
-
-	/* Return result */
-	if (werror) {
-		*werror = r.out.result;
-	}
-
-	return werror_to_ntstatus(r.out.result);
-}
-
-NTSTATUS rpccli_drsuapi_DsUnbind(struct rpc_pipe_client *cli,
-				 TALLOC_CTX *mem_ctx,
-				 struct policy_handle *bind_handle /* [in,out] [ref] */,
-				 WERROR *werror)
-{
-	struct drsuapi_DsUnbind r;
-	NTSTATUS status;
-
-	/* In parameters */
-	r.in.bind_handle = bind_handle;
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_IN_DEBUG(drsuapi_DsUnbind, &r);
-	}
-
-	status = cli_do_rpc_ndr(cli,
-				mem_ctx,
-				PI_DRSUAPI,
-				&ndr_table_drsuapi,
-				NDR_DRSUAPI_DSUNBIND,
-				&r);
-
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_OUT_DEBUG(drsuapi_DsUnbind, &r);
-	}
-
-	if (NT_STATUS_IS_ERR(status)) {
-		return status;
-	}
-
-	/* Return variables */
-	*bind_handle = *r.out.bind_handle;
-
-	/* Return result */
-	if (werror) {
-		*werror = r.out.result;
-	}
-
-	return werror_to_ntstatus(r.out.result);
-}
-
-NTSTATUS rpccli_drsuapi_DsReplicaSync(struct rpc_pipe_client *cli,
-				      TALLOC_CTX *mem_ctx,
-				      struct policy_handle *bind_handle /* [in] [ref] */,
-				      int32_t level /* [in]  */,
-				      union drsuapi_DsReplicaSyncRequest req /* [in] [switch_is(level)] */,
-				      WERROR *werror)
-{
-	struct drsuapi_DsReplicaSync r;
-	NTSTATUS status;
-
-	/* In parameters */
-	r.in.bind_handle = bind_handle;
-	r.in.level = level;
-	r.in.req = req;
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaSync, &r);
-	}
-
-	status = cli_do_rpc_ndr(cli,
-				mem_ctx,
-				PI_DRSUAPI,
-				&ndr_table_drsuapi,
-				NDR_DRSUAPI_DSREPLICASYNC,
-				&r);
-
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaSync, &r);
-	}
-
-	if (NT_STATUS_IS_ERR(status)) {
-		return status;
-	}
-
-	/* Return variables */
-
-	/* Return result */
-	if (werror) {
-		*werror = r.out.result;
-	}
-
-	return werror_to_ntstatus(r.out.result);
-}
-
-NTSTATUS rpccli_drsuapi_DsGetNCChanges(struct rpc_pipe_client *cli,
-				       TALLOC_CTX *mem_ctx,
-				       struct policy_handle *bind_handle /* [in] [ref] */,
-				       int32_t *level /* [in,out] [ref] */,
-				       union drsuapi_DsGetNCChangesRequest *req /* [in] [ref,switch_is(*level)] */,
-				       union drsuapi_DsGetNCChangesCtr *ctr /* [out] [ref,switch_is(*level)] */,
-				       WERROR *werror)
-{
-	struct drsuapi_DsGetNCChanges r;
-	NTSTATUS status;
-
-	/* In parameters */
-	r.in.bind_handle = bind_handle;
-	r.in.level = level;
-	r.in.req = req;
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_IN_DEBUG(drsuapi_DsGetNCChanges, &r);
-	}
-
-	status = cli_do_rpc_ndr(cli,
-				mem_ctx,
-				PI_DRSUAPI,
-				&ndr_table_drsuapi,
-				NDR_DRSUAPI_DSGETNCCHANGES,
-				&r);
-
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_OUT_DEBUG(drsuapi_DsGetNCChanges, &r);
-	}
-
-	if (NT_STATUS_IS_ERR(status)) {
-		return status;
-	}
-
-	/* Return variables */
-	*level = *r.out.level;
-	*ctr = *r.out.ctr;
-
-	/* Return result */
-	if (werror) {
-		*werror = r.out.result;
-	}
-
-	return werror_to_ntstatus(r.out.result);
-}
-
-NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs(struct rpc_pipe_client *cli,
-					    TALLOC_CTX *mem_ctx,
-					    struct policy_handle *bind_handle /* [in] [ref] */,
-					    int32_t level /* [in]  */,
-					    union drsuapi_DsReplicaUpdateRefsRequest req /* [in] [switch_is(level)] */,
-					    WERROR *werror)
-{
-	struct drsuapi_DsReplicaUpdateRefs r;
-	NTSTATUS status;
-
-	/* In parameters */
-	r.in.bind_handle = bind_handle;
-	r.in.level = level;
-	r.in.req = req;
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_IN_DEBUG(drsuapi_DsReplicaUpdateRefs, &r);
-	}
-
-	status = cli_do_rpc_ndr(cli,
-				mem_ctx,
-				PI_DRSUAPI,
-				&ndr_table_drsuapi,
-				NDR_DRSUAPI_DSREPLICAUPDATEREFS,
-				&r);
-
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_OUT_DEBUG(drsuapi_DsReplicaUpdateRefs, &r);
-	}
-
-	if (NT_STATUS_IS_ERR(status)) {
-		return status;
-	}
-
-	/* Return variables */
-
-	/* Return result */
-	if (werror) {
-		*werror = r.out.result;
-	}
-
-	return werror_to_ntstatus(r.out.result);
-}
-
-NTSTATUS rpccli_DRSUAPI_REPLICA_ADD(struct rpc_pipe_client *cli,
-				    TALLOC_CTX *mem_ctx,
-				    WERROR *werror)
-{
-	struct DRSUAPI_REPLICA_ADD r;
-	NTSTATUS status;
-
-	/* In parameters */
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_IN_DEBUG(DRSUAPI_REPLICA_ADD, &r);
-	}
-
-	status = cli_do_rpc_ndr(cli,
-				mem_ctx,
-				PI_DRSUAPI,
-				&ndr_table_drsuapi,
-				NDR_DRSUAPI_REPLICA_ADD,
-				&r);
-
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_OUT_DEBUG(DRSUAPI_REPLICA_ADD, &r);
-	}
-
-	if (NT_STATUS_IS_ERR(status)) {
-		return status;
-	}
-
-	/* Return variables */
-
-	/* Return result */
-	if (werror) {
-		*werror = r.out.result;
-	}
-
-	return werror_to_ntstatus(r.out.result);
-}
-
-NTSTATUS rpccli_DRSUAPI_REPLICA_DEL(struct rpc_pipe_client *cli,
-				    TALLOC_CTX *mem_ctx,
-				    WERROR *werror)
-{
-	struct DRSUAPI_REPLICA_DEL r;
-	NTSTATUS status;
-
-	/* In parameters */
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_IN_DEBUG(DRSUAPI_REPLICA_DEL, &r);
-	}
-
-	status = cli_do_rpc_ndr(cli,
-				mem_ctx,
-				PI_DRSUAPI,
-				&ndr_table_drsuapi,
-				NDR_DRSUAPI_REPLICA_DEL,
-				&r);
-
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_OUT_DEBUG(DRSUAPI_REPLICA_DEL, &r);
-	}
-
-	if (NT_STATUS_IS_ERR(status)) {
-		return status;
-	}
-
-	/* Return variables */
-
-	/* Return result */
-	if (werror) {
-		*werror = r.out.result;
-	}
-
-	return werror_to_ntstatus(r.out.result);
-}
-
-NTSTATUS rpccli_DRSUAPI_REPLICA_MODIFY(struct rpc_pipe_client *cli,
-				       TALLOC_CTX *mem_ctx,
-				       WERROR *werror)
-{
-	struct DRSUAPI_REPLICA_MODIFY r;
-	NTSTATUS status;
-
-	/* In parameters */
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_IN_DEBUG(DRSUAPI_REPLICA_MODIFY, &r);
-	}
-
-	status = cli_do_rpc_ndr(cli,
-				mem_ctx,
-				PI_DRSUAPI,
-				&ndr_table_drsuapi,
-				NDR_DRSUAPI_REPLICA_MODIFY,
-				&r);
-
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_OUT_DEBUG(DRSUAPI_REPLICA_MODIFY, &r);
-	}
-
-	if (NT_STATUS_IS_ERR(status)) {
-		return status;
-	}
-
-	/* Return variables */
-
-	/* Return result */
-	if (werror) {
-		*werror = r.out.result;
-	}
-
-	return werror_to_ntstatus(r.out.result);
-}
-
-NTSTATUS rpccli_DRSUAPI_VERIFY_NAMES(struct rpc_pipe_client *cli,
-				     TALLOC_CTX *mem_ctx,
-				     WERROR *werror)
-{
-	struct DRSUAPI_VERIFY_NAMES r;
-	NTSTATUS status;
-
-	/* In parameters */
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_IN_DEBUG(DRSUAPI_VERIFY_NAMES, &r);
-	}
-
-	status = cli_do_rpc_ndr(cli,
-				mem_ctx,
-				PI_DRSUAPI,
-				&ndr_table_drsuapi,
-				NDR_DRSUAPI_VERIFY_NAMES,
-				&r);
-
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_OUT_DEBUG(DRSUAPI_VERIFY_NAMES, &r);
-	}
-
-	if (NT_STATUS_IS_ERR(status)) {
-		return status;
-	}
-
-	/* Return variables */
-
-	/* Return result */
-	if (werror) {
-		*werror = r.out.result;
-	}
-
-	return werror_to_ntstatus(r.out.result);
-}
-
-NTSTATUS rpccli_drsuapi_DsGetMemberships(struct rpc_pipe_client *cli,
-					 TALLOC_CTX *mem_ctx,
-					 struct policy_handle *bind_handle /* [in] [ref] */,
-					 int32_t level /* [in]  */,
-					 union drsuapi_DsGetMembershipsRequest *req /* [in] [ref,switch_is(level)] */,
-					 int32_t *level_out /* [out] [ref] */,
-					 union drsuapi_DsGetMembershipsCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
-					 WERROR *werror)
-{
-	struct drsuapi_DsGetMemberships r;
-	NTSTATUS status;
-
-	/* In parameters */
-	r.in.bind_handle = bind_handle;
-	r.in.level = level;
-	r.in.req = req;
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_IN_DEBUG(drsuapi_DsGetMemberships, &r);
-	}
-
-	status = cli_do_rpc_ndr(cli,
-				mem_ctx,
-				PI_DRSUAPI,
-				&ndr_table_drsuapi,
-				NDR_DRSUAPI_DSGETMEMBERSHIPS,
-				&r);
-
-	if (!NT_STATUS_IS_OK(status)) {
-		return status;
-	}
-
-	if (DEBUGLEVEL >= 10) {
-		NDR_PRINT_OUT_DEBUG(drsuapi_DsGetMemberships, &r);
-	}
-
-	if (NT_STATUS_IS_ERR(status)) {
-		return status;
-	}
-
-	/* Return variables */
-	*level_out = *r.out.level_out;
-	*ctr = *r.out.ctr;
-
-	/* Return result */
-	if (werror) {
-		*werror = r.out.result;
-	}
-
-	return werror_to_ntstatus(r.out.result);
-}
-
-NTSTATUS rpccli_DRSUAPI_INTER_DOMAIN_MOVE(struct rpc_pipe_client *cli,
-					  TALLOC_CTX *mem_ctx,
-					  WERROR *werror)
-{
-	struct DRSUAPI_INTER_DOMAIN_MOVE r;
-	NTSTATUS status;
-
-	/* In parameters */
-
-	if (DEBUGLEVEL >= 10) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list