diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-03-15 03:06:50 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-03-15 03:06:50 +0000 |
commit | 86f5105fbca56ab07f8a33e892fe656672600388 (patch) | |
tree | 8e6028f42d592e382dd77a55768a3ac82c32ddde /source3/smbd | |
parent | 08a6e255fe8dec721b57aa15a4e606b11dc7f44d (diff) | |
download | samba-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')
-rw-r--r-- | source3/smbd/reply.c | 4 | ||||
-rw-r--r-- | source3/smbd/server.c | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 64b293336b..248a2cee5f 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -5167,10 +5167,6 @@ static void usage(char *pname) if(!open_oplock_ipc()) exit(1); - if (lp_status(-1)) { - claim_connection(-1,"STATUS.",MAXSTATUS,True); - } - process(); close_sockets(); |