From 5b60bd20f4018e1e75b808f66c67c5bf1bae9efa Mon Sep 17 00:00:00 2001 From: David Hill Date: Sat, 9 Apr 2011 14:37:59 +1200 Subject: [PATCH] Bug 3194: selinux may prevent ntlm_smb_lm_auth from using /tmp --- helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc b/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc index 5249d83845..669591c064 100644 --- a/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc +++ b/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.cc @@ -683,13 +683,6 @@ int main(int argc, char *argv[]) { debug("ntlm_auth build " __DATE__ ", " __TIME__ " starting up...\n"); -#if DEBUG - debug("changing dir to /tmp\n"); - if (chdir("/tmp") != 0) { - debug("ERROR: (%d) failed.\n",errno); - return 2; - } -#endif my_program_name = argv[0]; process_options(argc, argv); -- 2.47.3