summaryrefslogtreecommitdiff
path: root/source3/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
commit86f5105fbca56ab07f8a33e892fe656672600388 (patch)
tree8e6028f42d592e382dd77a55768a3ac82c32ddde /source3/smbd/reply.c
parent08a6e255fe8dec721b57aa15a4e606b11dc7f44d (diff)
downloadsamba-86f5105fbca56ab07f8a33e892fe656672600388.tar.gz
samba-86f5105fbca56ab07f8a33e892fe656672600388.tar.bz2
samba-86f5105fbca56ab07f8a33e892fe656672600388.zip
- claim the null connection after the session request to mak sure we
have the netbios name - fix another kill connection bug (This used to be commit c634b799874795d42dae28fb4440ea452dc89b1b)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 83a4293fad..b0550bba57 100644
--- a/source3/smbd/reply.c
+++ b/source3/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