From: David Hill Date: Sat, 9 Apr 2011 02:37:59 +0000 (+1200) Subject: Bug 3194: selinux may prevent ntlm_smb_lm_auth from using /tmp X-Git-Tag: take06~27^2~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5b60bd20f4018e1e75b808f66c67c5bf1bae9efa;p=thirdparty%2Fsquid.git Bug 3194: selinux may prevent ntlm_smb_lm_auth from using /tmp --- 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);