From: David Hill Date: Mon, 18 Apr 2011 11:55:35 +0000 (-0600) Subject: Bug 3194: selinux may prevent ntlm_smb_lm_auth from using /tmp X-Git-Tag: SQUID_3_1_12_1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea4e2ee4730df611359371c96dcb4b3a5113778c;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.c b/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.c index 80a9c3008c..7e674e0e1d 100644 --- a/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.c +++ b/helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.c @@ -462,13 +462,6 @@ int main(int argc, char *argv[]) { debug("ntlm_auth build " __DATE__ ", " __TIME__ " starting up...\n"); -#ifdef 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);