]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 3194: selinux may prevent ntlm_smb_lm_auth from using /tmp
authorDavid Hill <david.hill@ubisoft.com>
Mon, 18 Apr 2011 11:55:35 +0000 (05:55 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 18 Apr 2011 11:55:35 +0000 (05:55 -0600)
helpers/ntlm_auth/smb_lm/ntlm_smb_lm_auth.c

index 80a9c3008c8a57ca3adfe233836e9051a4f3e6c2..7e674e0e1ddca01c75a153f6511b8835420d42e4 100644 (file)
@@ -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);