Thu 04 Mar 2004 12:01:45 PM UTC, original submission:
I have a working installation of tla 1.2.
Local access to an archive works fine.
Remote access through webdav works when password authentication is disabled.
My webdav server works with password authentication, I'm able to access it from windows explorer for exemple.
Now, I'm trying to use tla with authentificated webdav, but I get the following error :
$ tla archives
Matthieu.Moy@imag.fr--archive
http://user:password@www-verimag.imag.fr/path/to/archive
$ tla get hello--mainline--1
webdav error: 401 Unauthorized
I've played a little with gdb : The error appears in the file pfs-dav.c:698:
if (pfs->sess_opts.dav_class1) /* if the server supports DAV */
{
if ((ne_err = ne_simple_propfind (pfs->sess, dir, NE_DEPTH_ONE, ls_props, NULL, NULL)))
{
==> safe_printfmt (2, "webdav error: %s\n", ne_get_error (pfs->sess));
exit (2);
}
}
But a bit earlier, in pfs-dav.c:269
if (root_path)
==> dav_client_cwd (answer, root_path);
The variable auth has the correct value (user and password are set).
Do you have an idea of what's happening ?
What can I do more to give more information ?
Thanks in advance.
|