]> git.ipfire.org Git - thirdparty/squid.git/commit
basic_smb_auth: nmblookup fails when smb.conf contaisn WINS servers
authorJohn M Cooper <john.cooper@yourcommunications.co.uk>
Fri, 31 Jul 2015 06:16:51 +0000 (23:16 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 31 Jul 2015 06:16:51 +0000 (23:16 -0700)
commit986ea17b79d1cfc9855058842a7d1eb0c3acd1fe
tree378c06f05f41824bc39e78af0b4cb9c23d861a82
parentdd90f42fc2eadb2c08a7d3325ab3db25782816f5
basic_smb_auth: nmblookup fails when smb.conf contaisn WINS servers

 From; John M Cooper
 To; Debian Bug Tracking System
 Subject; squid: smb_auth does not work with a wins server defined in smb.conf
 Date; 28 Jan 2002 17:46:13 +0000

If you define a wins server in the file /etc/samba/smb.conf then the
smb_auth script gets the wrong Domain Controller IP address.

There should be a change to mb_auth.sh at line 50

basically adding in the extra "\..+" stops the number of Wins servers
from being returned from the nmblookup command.
helpers/basic_auth/SMB/basic_smb_auth.sh