Re: username/password in URI
- From: Christian Neumair <chris gnome-de org>
- To: Philippe Normand <philippe fluendo com>
- Cc: "gnome-vfs-list gnome org" <gnome-vfs-list gnome org>, alexl redhat com
- Subject: Re: username/password in URI
- Date: Fri, 28 Apr 2006 13:52:59 +0200
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]