diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-04-18 16:30:33 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-04-18 16:30:33 +0000 |
commit | 59e06b042a2efaa9fd703c637c010a231f955f3e (patch) | |
tree | 5132fb00e1b778a2748e4fe6f725e86cd8812247 /source/smbd/server.c | |
parent | 625d0385226adfdcce19bbc6a641464f2497c6b3 (diff) | |
download | samba-59e06b042a2efaa9fd703c637c010a231f955f3e.tar.gz samba-59e06b042a2efaa9fd703c637c010a231f955f3e.tar.xz samba-59e06b042a2efaa9fd703c637c010a231f955f3e.zip |
- totally rewrote utmp handling with help from Andrew Bartlett
- move all utmp code into smbd/utmp.c
- created smbd/session.c for generic session handling (utmp and pam
currently)
- don't link with -lcrypt when using pam
- made "utmp" parameter global not per share
- hook session handling in session setup not tcon
- removed sily "unix realname" option
- cleaned up connection.c
- if session fails (eg. pam failure) user is now refused access
- made sure sesison cleanup happens on server exit
Diffstat (limited to 'source/smbd/server.c')
-rw-r--r-- | source/smbd/server.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c index bd98fe802fb..027028c4169 100644 --- a/source/smbd/server.c +++ b/source/smbd/server.c @@ -441,12 +441,14 @@ void exit_server(char *reason) conn_close_all(); + invalidate_all_vuids(); + /* delete our entry in the connections database. */ if (lp_status(-1)) { yield_connection(NULL,"",MAXSTATUS); } - respond_to_all_remaining_local_messages(); + respond_to_all_remaining_local_messages(); decrement_smbd_process_count(); #ifdef WITH_DFS |