Hi Dan,
I have used the first solution you describe below :
username = "myself;AUTH=Basic"
the .souprc didn't worked for some reason, I didn't investigate much.
The full script I use is attached (to avoid long lines wrap).
I can't tell wheter it breaks some other Gnome web application, as I use
KDE (evo is the only Gnome app I use for now).
Thanks a lot for your kind assistance !
Charles
On Mon, 2003-11-03 at 17:23, Dan Winship wrote:
> On Mon, 2003-11-03 at 08:14, Charles Bueche wrote:
> > Hi,
> >
> > I'm trying to setup my summary to work behind a proxy that wants
> > BASIC-AUTH. I have tried the method listed in Ximian supprot base "How
> > can I make the Evolution Summary work with my proxy server?" but
> > evolution always try to use NTLM auth, and my proxy wants BASIC.
> >
> > How do I configure the auth-type to BASIC, using gconftool-2 ???
>
> Blah. I think libsoup is buggy, and if the proxy offers NTLM, soup tries
> to do NTLM auth to the destination server rather than the proxy.
>
> There's no clean workaround, but you might be able to fake soup out by
> changing your username from "charles" (or whatever) to
> "charles;AUTH=Basic". But that would break proxy usage outside of
> evolution.
>
> You could also try creating a file ".souprc" in your homedir and adding:
>
> proxy-uri: http://username;AUTH=Basic:[EMAIL PROTECTED]:port/
>
> but I think that will only work if you don't have a proxy configured in
> the control center, because otherwise that information would override
> the souprc info.
>
> -- Dan
--
Charles Bueche <[EMAIL PROTECTED]>
sand, snow, wave, wind and net -surfer
#!/bin/sh
#
# set HTTP proxy for evolution
# CB / 3.11.2003
#
# based on http://support.ximian.com/q?159
# with advise from Dan Winship <[EMAIL PROTECTED]>
#
# WARNING : it will possibly break every gnome browser
#
# first, clear the previous setup
gconftool-2 --unset /system/http_proxy/use_http_proxy
gconftool-2 --unset /system/http_proxy/host
gconftool-2 --unset /system/http_proxy/port
gconftool-2 --unset /system/http_proxy/use_authentication
gconftool-2 --unset /system/http_proxy/authentication_user
gconftool-2 --unset /system/http_proxy/authentication_password
# then, define it new
gconftool-2 --type=bool --set /system/http_proxy/use_http_proxy "TRUE"
gconftool-2 --type=string --set /system/http_proxy/host "111.222.333.444"
gconftool-2 --type=int --set /system/http_proxy/port "1234"
gconftool-2 --type=BOOL --set /system/http_proxy/use_authentication "TRUE"
gconftool-2 --type=STRING --set /system/http_proxy/authentication_user 'username;AUTH=Basic'
gconftool-2 --type=STRING --set /system/http_proxy/authentication_password "password"
# see results with
# gconftool-2 -a /system/http_proxy