summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-15 03:06:50 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-15 03:06:50 +0000
commitc634b799874795d42dae28fb4440ea452dc89b1b (patch)
treebc7c3a322979e3a062e580f8cfa7c771e137ba6e /source/smbd/reply.c
parent78675036e81e2cde7209d9e68956d71ef6661137 (diff)
downloadsamba-c634b799874795d42dae28fb4440ea452dc89b1b.tar.gz
samba-c634b799874795d42dae28fb4440ea452dc89b1b.tar.xz
samba-c634b799874795d42dae28fb4440ea452dc89b1b.zip
- claim the null connection after the session request to mak sure we
have the netbios name - fix another kill connection bug
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 83a4293fad4..b0550bba570 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -120,6 +120,10 @@ int reply_special(char *inbuf,char *outbuf)
reload_services(True);
reopen_logs();
+ if (lp_status(-1)) {
+ claim_connection(-1,"STATUS.",MAXSTATUS,True);
+ }
+
break;
case 0x89: /* session keepalive request