diff options
Diffstat (limited to 'source4/nbt_server/irpc.c')
-rw-r--r-- | source4/nbt_server/irpc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/nbt_server/irpc.c b/source4/nbt_server/irpc.c index 3a70c98041..8f1f74afcf 100644 --- a/source4/nbt_server/irpc.c +++ b/source4/nbt_server/irpc.c @@ -61,7 +61,6 @@ struct getdc_state { static void getdc_recv_netlogon_reply(struct dgram_mailslot_handler *dgmslot, struct nbt_dgram_packet *packet, - const char *mailslot_name, struct socket_address *src) { struct getdc_state *s = @@ -85,8 +84,6 @@ static void getdc_recv_netlogon_reply(struct dgram_mailslot_handler *dgmslot, goto done; } - status = NT_STATUS_NO_LOGON_SERVERS; - p = netlogon.samlogon.nt4.server; DEBUG(10, ("NTLOGON_SAM_LOGON_REPLY: server: %s, user: %s, " @@ -103,6 +100,8 @@ static void getdc_recv_netlogon_reply(struct dgram_mailslot_handler *dgmslot, goto done; } + status = NT_STATUS_OK; + done: irpc_send_reply(s->msg, status); } |