diff options
author | Michael Adam <obnox@samba.org> | 2008-07-23 15:21:44 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-07-23 15:36:13 +0200 |
commit | e269804b04c3658fb6228ba104a0b61cf24139c8 (patch) | |
tree | c2d750abbabd2de6c5a43c0fd0182742a1e3797a /source4 | |
parent | 46bb8aa357ba11ff79af0281b749e70706774217 (diff) | |
download | samba-e269804b04c3658fb6228ba104a0b61cf24139c8.tar.gz samba-e269804b04c3658fb6228ba104a0b61cf24139c8.tar.bz2 samba-e269804b04c3658fb6228ba104a0b61cf24139c8.zip |
libnet_unbecome_dc: teach unbecomeDC_drsuapi_bind_recv() DsBindInfo48.
..to work agains w2k8.
Michael
(This used to be commit 97e8d5813df19cae294b6de2a880606f0f8c2c59)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libnet/libnet_unbecome_dc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/libnet/libnet_unbecome_dc.c b/source4/libnet/libnet_unbecome_dc.c index e01af25f3f..4463569e71 100644 --- a/source4/libnet/libnet_unbecome_dc.c +++ b/source4/libnet/libnet_unbecome_dc.c @@ -616,6 +616,15 @@ static void unbecomeDC_drsuapi_bind_recv(struct rpc_request *req) s->drsuapi.remote_info28.repl_epoch = 0; break; } + case 48: { + struct drsuapi_DsBindInfo48 *info48; + info48 = &s->drsuapi.bind_r.out.bind_info->info.info48; + s->drsuapi.remote_info28.supported_extensions = info48->supported_extensions; + s->drsuapi.remote_info28.site_guid = info48->site_guid; + s->drsuapi.remote_info28.pid = info48->pid; + s->drsuapi.remote_info28.repl_epoch = info48->repl_epoch; + break; + } case 28: s->drsuapi.remote_info28 = s->drsuapi.bind_r.out.bind_info->info.info28; break; |