summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-23 14:07:06 +0200
committerMichael Adam <obnox@samba.org>2008-07-23 15:36:13 +0200
commitf9e61979244d94600261be4898f1091b00406c6f (patch)
tree465ef99dad87fbf5b5b1f437d86d086dbf7d0466
parent34b10077f9ca742b72ad37c86357d0f16ed68ee7 (diff)
downloadsamba-f9e61979244d94600261be4898f1091b00406c6f.tar.gz
samba-f9e61979244d94600261be4898f1091b00406c6f.tar.bz2
samba-f9e61979244d94600261be4898f1091b00406c6f.zip
dsdb: teach dreplsrv_out_drsuapi_bind_recv() knowledge of DsBindInfo48.
To make it work against w2k8. Michael (This used to be commit a8aea9274170a2b472c45c97a4904bd299d2a92e)
-rw-r--r--source4/dsdb/repl/drepl_out_helpers.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c
index 0700867543..345e3db1ab 100644
--- a/source4/dsdb/repl/drepl_out_helpers.c
+++ b/source4/dsdb/repl/drepl_out_helpers.c
@@ -146,6 +146,15 @@ static void dreplsrv_out_drsuapi_bind_recv(struct rpc_request *req)
st->drsuapi->remote_info28.repl_epoch = 0;
break;
}
+ case 48: {
+ struct drsuapi_DsBindInfo48 *info48;
+ info48 = &st->bind_r.out.bind_info->info.info48;
+ st->drsuapi->remote_info28.supported_extensions = info48->supported_extensions;
+ st->drsuapi->remote_info28.site_guid = info48->site_guid;
+ st->drsuapi->remote_info28.pid = info48->pid;
+ st->drsuapi->remote_info28.repl_epoch = info48->repl_epoch;
+ break;
+ }
case 28:
st->drsuapi->remote_info28 = st->bind_r.out.bind_info->info.info28;
break;