diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-08-22 19:11:55 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-08-22 19:11:55 +0000 |
commit | 2051bb7d0366e07c5ecda5e5f7cfedc4153d6228 (patch) | |
tree | ed0c6282879b77e9ba56a5d8b9b3e53ed355437f /source3/smbd/server.c | |
parent | 28b206f16303d69694174d69fdfe2853bcee56c8 (diff) | |
download | samba-2051bb7d0366e07c5ecda5e5f7cfedc4153d6228.tar.gz samba-2051bb7d0366e07c5ecda5e5f7cfedc4153d6228.tar.bz2 samba-2051bb7d0366e07c5ecda5e5f7cfedc4153d6228.zip |
A few changes:
drop paramaters:
status
utmp hostname
change session code to always record each vuid current on the server. The sessionid struct is no longer packed, as I couldn't get that to work ;-)
change smbstatus to show this info and less of the connections.tdb info (its not actualy that accurate).
I'll get swat doing some of this shortly.
(This used to be commit b068ad300527c44673bbee0aede7849199c89de7)
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r-- | source3/smbd/server.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 13071a5b65..5bcb47393a 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -459,9 +459,7 @@ void exit_server(char *reason) invalidate_all_vuids(); /* delete our entry in the connections database. */ - if (lp_status(-1)) { - yield_connection(NULL,"",MAXSTATUS); - } + yield_connection(NULL,"",MAXSTATUS); respond_to_all_remaining_local_messages(); decrement_smbd_process_count(); @@ -751,9 +749,7 @@ static void usage(char *pname) } /* Setup the main smbd so that we can get messages. */ - if (lp_status(-1)) { - claim_connection(NULL,"",MAXSTATUS,True); - } + claim_connection(NULL,"",MAXSTATUS,True); /* Attempt to migrate from an old 2.0.x machine account file. */ if (!migrate_from_old_password_file(global_myworkgroup)) { |