diff options
author | Christof Schmitt <cs@samba.org> | 2017-12-13 11:34:23 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-01-02 14:19:44 +0100 |
commit | 671a3c6a5e8f5025ad4cdaff38461fce49737c7c (patch) | |
tree | b74d49fb4461114ffcd491f7305f1b6ed37e6a02 /selftest/knownfail | |
parent | e21538a676539471016425201c36ef2ad637204f (diff) | |
download | samba-671a3c6a5e8f5025ad4cdaff38461fce49737c7c.tar.gz |
smbd: Fix coredump on failing chdir during logoff
server_exit does an internal tree disconnect which requires a chdir to
the share directory. In case the file system encountered a problem and
the chdir call returns an error, this triggers a SERVER_EXIT_ABNORMAL
which in turn results in a panic and a coredump. As the log already
indicates the problem (chdir returned an error), avoid the
SERVER_EXIT_ABNORMAL in this case and not trigger a coredump.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13189
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Dec 16 01:56:06 CET 2017 on sn-devel-144
(cherry picked from commit 7fa91fc4791d076c609eaf119753e38dd3c50a1c)
Autobuild-User(v4-7-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-7-test): Tue Jan 2 14:19:44 CET 2018 on sn-devel-144
Diffstat (limited to 'selftest/knownfail')
-rw-r--r-- | selftest/knownfail | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/selftest/knownfail b/selftest/knownfail index d5e4a188e27..dd23c7d204f 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -345,4 +345,3 @@ ^samba.tests.ntlmauth.python\(ktest\).ntlmauth.NtlmAuthTests.test_ntlm_connection\(ktest\) # Disabling NTLM means you can't use samr to change the password ^samba.tests.ntlmauth.python\(ktest\).ntlmauth.NtlmAuthTests.test_samr_change_password\(ktest\) -^samba3.blackbox.smbd_error.check_panic_2 |