Squid kerberos wpad ip instead fqdn

Hi,

everything works fine if i use:

proxy.ant.gc:3128

when i use Windows autodetection to find the wpad file i got login pop up from proxy, reason is because wpad.dat show ip’s instead fqdn of proxy:

function FindProxyForURL(url, host)
{
// Direct access to localhost
if (isInNet(host, “127.0.0.1”, “255.255.255.255”))
return “DIRECT”;

// Direct access to local hosts
if (isPlainHostName(host))
    return "DIRECT";



// eth0:192.168.208.0 green authenticated
if (isInNet(myIpAddress(), "192.168.208.0", "255.255.255.0"))
    return "PROXY 192.168.208.11:3128";


// DEFAULT
return "PROXY 192.168.208.11:3128";

}

i checked the template /etc/e-smith/templates/var/www/html/wpad.dat/70proxyMode:

so it seems my variable $adJoin is 0, but why?

i successfully joind to my external samba domain, i see users and groups etc…

Thx!

Hi,

welcome to NethServer Community.

You may use custom templates:

3 Likes