From: Jeff Licquia Date: Fri, 31 Jul 2015 06:22:11 +0000 (-0700) Subject: basic_smb_auth: doesn't handle passwords with backslashes X-Git-Tag: merge-candidate-3-v1~12^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d65bfabaa0111a10e88719c6b9565094d319a2d4;p=thirdparty%2Fsquid.git 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. --- 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"