Wpad.dat misformed due to wrong $smb

Hi all,

My wpad.dat contains PROXY [IPADDRESS]:3128

I just promoted him as domain controller.

in /etc/e-smith/templates/var/www/html/wpad.dat/90proxyDefault
at row 10 $smb{‘ServerRole’} is empty.
Here is what he contents:

There is no ServerRole definition

The consequence is that I get the IP address instead of the hostname

In /etc/samba/smb.conf I’ve got security = ADS


Hi @InformatiqueOLLN,

welcome to Nethserver Community. This is a known bug:

I’ve seen the bug you’ve linked, but I thought it was different.
I just added $adJoin = 1; after the test and it worked like a charm.

1 Like