Re: FSP and passwords

Witold Filipczyk <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <20061214162208.GA8649@pldmachine>
On Sun, Dec 10, 2006 at 10:05:17PM +0100, Jonas Fonseca wrote:
> 
> Note, most of the above I wrote in the buffer without testing, but
> passing --long-help to either cogito command should give you the
> details.
> 
> > In directory listings, IMHO, this password should be added to base href,
> > otherwise it must be added by hand for every followed link.
> 
> It would maybe make sense to use the protocol auth history for this. Do
> you know if the FSP server is able to notify the client about
> authentication being necessary?

When one tries to access a directory using fsp_opendir, it will fail when
the password is bad and set errno = EPERM.
On the witekfl branch I changed reporting of fsp errors. Now, fsp returns
numeric codes and set Content-Type: text/x-error. The same trick could be
used by SMB. Maybe this help a little to add the auth support.

Changes on my branch are:
- the simplification of decompress_data
- reading by festival. It may help eg. to learn a pronunciation.
- bugfix for the bug 517: Content-Encoding: bzip2
Tell me if you are able to fetch from this branch. My first push has finished
with the error.

BTW, in the links-1.00pre19 the smb protocol was fixed, but I'm still thinking that
using libsmbclient is better.

-- 
Witek
_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.