From d65bfabaa0111a10e88719c6b9565094d319a2d4 Mon Sep 17 00:00:00 2001 From: Jeff Licquia Date: Thu, 30 Jul 2015 23:22:11 -0700 Subject: [PATCH] basic_smb_auth: doesn't handle passwords with backslashes From; Jeff Licquia Subject; squid: SMB auth proxy has problems with some passwords Date; Tue, 18 Jul 2000 12:45:01 -0500 (CDT) The SMB authenticator doesn't handle passwords with backslashes in them correctly. The fix appears to be easy; just put a -r in the "read SMBPASS" line in smb_auth.sh. --- helpers/basic_auth/SMB/basic_smb_auth.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/basic_auth/SMB/basic_smb_auth.sh b/helpers/basic_auth/SMB/basic_smb_auth.sh index a3d035303b..863e941be9 100755 --- a/helpers/basic_auth/SMB/basic_smb_auth.sh +++ b/helpers/basic_auth/SMB/basic_smb_auth.sh @@ -30,7 +30,7 @@ read NMBCAST read AUTHSHARE read AUTHFILE read SMBUSER -read SMBPASS +read -r SMBPASS # Find domain controller echo "Domain name: $DOMAINNAME" -- 2.47.3