Re: username/password in URI



Am Freitag, den 28.04.2006, 10:09 +0200 schrieb Philippe Normand:
> >Of course, normally you don't need to feed that password in the uri,
> >you'll get a dialog asking for it.
> >
> 
> I agree with you. But the fact is i'm writting a python application to
> browse SMB shares using gnomevfs package. When i try to open a
> password
> protected location i get a AccessDeniedError and that's all. I found
> no
> way to supply auth credentials.

If it's a command-line application, you will need code like:

http://cvs.gnome.org/viewcvs/gnome-vfs/programs/authentication.c

-- 
Christian Neumair <chris gnome-de org>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]