diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-05-20 15:28:26 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-05-20 15:28:26 +1000 |
commit | 52f0af3990f79dfc6b2e784eed9e58a2a705d1ea (patch) | |
tree | caa263ed9a94aa2eb75767fb1d0a1b32d8f52b3d /source4 | |
parent | acba9bc702bf8d07487f3f37d1acdac3648ee75b (diff) | |
download | samba-52f0af3990f79dfc6b2e784eed9e58a2a705d1ea.tar.gz samba-52f0af3990f79dfc6b2e784eed9e58a2a705d1ea.tar.bz2 samba-52f0af3990f79dfc6b2e784eed9e58a2a705d1ea.zip |
Fix irpc GetDC requests.
We would return NT_STATUS_NO_LOGON_SERVERS in all cases, which was
less than helpful.
Andrew Bartlett
(This used to be commit 5dfa316b3636718ffc6fd26cf7a397a797bd2ac1)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/nbt_server/irpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/nbt_server/irpc.c b/source4/nbt_server/irpc.c index b14610b2df..8f1f74afcf 100644 --- a/source4/nbt_server/irpc.c +++ b/source4/nbt_server/irpc.c @@ -84,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, " @@ -102,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); } |