linuxmuster / linuxmuster-client-adsso

Scripts and configuration for ubuntu clients to connect to the linuxmuster.net 7 ad
2 stars 2 forks source link

Disabling the proxy in linuxmuster-client-adsso.conf #21

Open nikolaslibert opened 4 years ago

nikolaslibert commented 4 years ago

https://github.com/linuxmuster/linuxmuster-client-adsso/blob/9ddb4ea3d36e616311b0b0bf5c6e81df0c2cfc7f/templates/linuxmuster-client-adsso.conf#L26

When I leave the proxy_url blank in configuration file, the $http_proxy variable is still being set. I think that during installation the template linuxmuster-proxy.sh is copied to /etc/profile.d/linuxmuster-proxy.sh, so it doesn't matter if the script onboot.sh creates that file or not (based in the configuration file). Maybe the script should erase the file when proxy_url is blank.

So, to disable the proxy I needed to leave proxy_url blank and remove the file /etc/profile.d/linuxmuster-proxy.sh