From ea4e2ee4730df611359371c96dcb4b3a5113778c Mon Sep 17 00:00:00 2001 From: David Hill Date: Mon, 18 Apr 2011 05:55:35 -0600 Subject: [PATCH] Bug 3194: selinux may prevent ntlm_smb_lm_auth from using /tmp --- helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.c | 7 ------- 1 file changed, 7 deletions(-) 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); -- 2.47.2