Bug 31728 - Provide also wpad.dat
Provide also wpad.dat
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Proxy services
unspecified
Other Linux
: P2 minor (vote)
: UCS@school 4.1 R2 v10
Assigned To: Daniel Tröder
Sönke Schwardt-Krummrich
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-12 16:54 CEST by Jan Christoph Ebersbach
Modified: 2017-03-21 12:35 CET (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Forked for project
Max CVSS v3 score:
ebersbach: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Christoph Ebersbach univentionstaff 2013-06-12 16:54:54 CEST
ucs-school-webproxy ships a proxy.pac configuration file.  This is one of the two alternatives.  In addition the file /var/www/wpad.dat should also be created.  Especially when add the wpad DNS alias to one server, all webbrowsers try to access wpad.dat instead of proxy.pac.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2013-07-22 10:57:20 CEST
This is not as easy as it looks like. 
According to http://de.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol the client tries to fetch the settings from (in that order):

http://wpad.department.branch.example.com/wpad.dat
http://wpad.branch.example.com/wpad.dat
http://wpad.example.com/wpad.dat

In multi server environments the school dc has to be used as proxy server. So the DNS alias "wpad.department.branch.example.com" (or any shorter version - see above) has to point to the local school dc which is providing the wpad.dat for the local environment.
So there is currently no generic solution possible without modifying the local DNS settings in school dc's LDAP directory.
Comment 2 Stefan Gohmann univentionstaff 2013-08-05 07:29:40 CEST
(In reply to Sönke Schwardt-Krummrich from comment #1)
> This is not as easy as it looks like. 
> According to http://de.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol
> the client tries to fetch the settings from (in that order):
> 
> http://wpad.department.branch.example.com/wpad.dat
> http://wpad.branch.example.com/wpad.dat
> http://wpad.example.com/wpad.dat
> 
> In multi server environments the school dc has to be used as proxy server.
> So the DNS alias "wpad.department.branch.example.com" (or any shorter
> version - see above) has to point to the local school dc which is providing
> the wpad.dat for the local environment.
> So there is currently no generic solution possible without modifying the
> local DNS settings in school dc's LDAP directory.

It is possible to overwrite the DNS alias via UCR in a S4 setup.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2013-12-20 10:47:28 CET
We should create a symlink from wpad.dat to proxy.pac. This way the admin may simply create an alias for the school server in DNS.
Comment 4 Daniel Tröder univentionstaff 2017-02-06 15:12:21 CET
r76443: copyright
r76444: create symlink wpad.dat -> proxy.pac and missing copyright blocks
r76445: advisory

Package: ucs-school-webproxy
Version: 12.0.4-3.125.201702061511
Branch: ucs_4.1-0
Scope: ucs-school-4.1r2
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2017-02-15 16:24:48 CET
OK: code change
OK: functional test
OK: YAML
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2017-03-21 12:35:55 CET
UCS@school 4.1 R2 v10 has been released.

http://docs.software-univention.de/changelog-ucsschool-4.1R2v10-de.html

If this error occurs again, please clone this bug.