diff options
author | Volker Lendecke <vl@samba.org> | 2008-10-02 08:09:25 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-10-02 08:09:25 +0200 |
commit | af1c802791e3c9f54220d8c80c3de79ef422d726 (patch) | |
tree | 7f50e811c916ad3815516ec1c9b7676e72c7ffec /source4/nbt_server/dgram | |
parent | 8641b54a736c5c924bf38cf4574d1f8e34d2d0cd (diff) | |
download | samba-af1c802791e3c9f54220d8c80c3de79ef422d726.tar.gz samba-af1c802791e3c9f54220d8c80c3de79ef422d726.tar.bz2 samba-af1c802791e3c9f54220d8c80c3de79ef422d726.zip |
The IRIX compiler does not like embedded unnamed unions
Diffstat (limited to 'source4/nbt_server/dgram')
-rw-r--r-- | source4/nbt_server/dgram/netlogon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/nbt_server/dgram/netlogon.c b/source4/nbt_server/dgram/netlogon.c index 5e95270b7d..1bc3e2b62f 100644 --- a/source4/nbt_server/dgram/netlogon.c +++ b/source4/nbt_server/dgram/netlogon.c @@ -77,7 +77,7 @@ static void nbtd_netlogon_getdc(struct dgram_mailslot_handler *dgmslot, /* setup a GETDC reply */ ZERO_STRUCT(netlogon_response); netlogon_response.response_type = NETLOGON_GET_PDC; - pdc = &netlogon_response.get_pdc; + pdc = &netlogon_response.data.get_pdc; pdc->command = NETLOGON_RESPONSE_FROM_PDC; pdc->pdc_name = lp_netbios_name(iface->nbtsrv->task->lp_ctx); @@ -132,7 +132,7 @@ static void nbtd_netlogon_samlogon(struct dgram_mailslot_handler *dgmslot, status = fill_netlogon_samlogon_response(samctx, packet, NULL, name->name, sid, NULL, netlogon->req.logon.user_name, netlogon->req.logon.acct_control, src->addr, - netlogon->req.logon.nt_version, iface->nbtsrv->task->lp_ctx, &netlogon_response.samlogon); + netlogon->req.logon.nt_version, iface->nbtsrv->task->lp_ctx, &netlogon_response.data.samlogon); if (!NT_STATUS_IS_OK(status)) { DEBUG(2,("NBT netlogon query failed domain=%s sid=%s version=%d - %s\n", name->name, dom_sid_string(packet, sid), netlogon->req.logon.nt_version, nt_errstr(status))); |