summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-23 15:18:57 +0200
committerMichael Adam <obnox@samba.org>2008-07-23 15:36:13 +0200
commit46bb8aa357ba11ff79af0281b749e70706774217 (patch)
tree8584fef87afe828f8e21d95cfc72e125a587c44f /source4/libnet
parentf9e61979244d94600261be4898f1091b00406c6f (diff)
downloadsamba-46bb8aa357ba11ff79af0281b749e70706774217.tar.gz
libnet_become_cd: teach becomeDC_drsuapi_bind_recv() DsBindInfo48.
To work with w2k8. Michael (This used to be commit 7d80fab912576923c7474d77b8ed960b01296914)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_become_dc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c
index 31a9206d864..067f76d6b8f 100644
--- a/source4/libnet/libnet_become_dc.c
+++ b/source4/libnet/libnet_become_dc.c
@@ -1649,6 +1649,15 @@ static WERROR becomeDC_drsuapi_bind_recv(struct libnet_BecomeDC_state *s,
drsuapi->remote_info28.repl_epoch = 0;
break;
}
+ case 48: {
+ struct drsuapi_DsBindInfo48 *info48;
+ info48 = &drsuapi->bind_r.out.bind_info->info.info48;
+ drsuapi->remote_info28.supported_extensions = info48->supported_extensions;
+ drsuapi->remote_info28.site_guid = info48->site_guid;
+ drsuapi->remote_info28.pid = info48->pid;
+ drsuapi->remote_info28.repl_epoch = info48->repl_epoch;
+ break;
+ }
case 28:
drsuapi->remote_info28 = drsuapi->bind_r.out.bind_info->info.info28;
break;