[SCM] Samba Shared Repository - branch v4-0-test updated - release-4-0-0alpha5-115-g7ee9910

Michael Adam obnox at samba.org
Wed Jul 23 10:52:50 GMT 2008


The branch, v4-0-test has been updated
       via  7ee99105ea3a50d8ee2c83ecd39e834ed9efb98c (commit)
       via  67a99e445871861945fd0a45784cffb358bdccf3 (commit)
      from  26d1f9366d8611af1a69095b4cede2d2c95c982d (commit)

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


- Log -----------------------------------------------------------------
commit 7ee99105ea3a50d8ee2c83ecd39e834ed9efb98c
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jul 23 11:06:50 2008 +0200

    smbtorture: add a warning for unknown BindInfo length to the RPC-DSSYNC test
    
    Michael

commit 67a99e445871861945fd0a45784cffb358bdccf3
Author: Michael Adam <obnox at samba.org>
Date:   Wed Jul 23 11:05:24 2008 +0200

    smbtorture: add support for the DSBindInfo48 to the RPC-DSSYNC test.
    
    Michael

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

Summary of changes:
 source/torture/rpc/dssync.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/torture/rpc/dssync.c b/source/torture/rpc/dssync.c
index 35fd4df..3279047 100644
--- a/source/torture/rpc/dssync.c
+++ b/source/torture/rpc/dssync.c
@@ -214,9 +214,21 @@ static bool _test_DsBind(struct torture_context *tctx,
 			b->peer_bind_info28.repl_epoch		= 0;
 			break;
 		}
+		case 48: {
+			struct drsuapi_DsBindInfo48 *info48;
+			info48 = &b->req.out.bind_info->info.info48;
+			b->peer_bind_info28.supported_extensions= info48->supported_extensions;
+			b->peer_bind_info28.site_guid		= info48->site_guid;
+			b->peer_bind_info28.pid			= info48->pid;
+			b->peer_bind_info28.repl_epoch		= info48->repl_epoch;
+			break;
+		}
 		case 28:
 			b->peer_bind_info28 = b->req.out.bind_info->info.info28;
 			break;
+		default:
+			printf("DsBind - warning: unknown BindInfo length: %u\n",
+			       b->req.out.bind_info->length);
 		}
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list