bug-gnu-arch
[Top][All Lists]
Advanced

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

[Bug-gnu-arch] Webdav authentication doesn't work.


From: Matthieu Moy
Subject: [Bug-gnu-arch] Webdav authentication doesn't work.
Date: Thu, 04 Mar 2004 11:37:13 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.2 (gnu/linux)

Hi ! 

I'm new  to arch, and trying to  make it work with  webdav. (I'm using
tla 1.2)

I have  a working  Webdav server.  I can mount  it from  windows, copy
files, ...  tla is correctly installed,  I can run  it locally without
problems,  and I can  access the  webdav server  (both get  and commit
work) /if I disable password authentication on the server/.

Now, with  password enabled on  the server, from  my Linux box,  I try
this

$ tla archives
address@hidden
    http://user:address@hidden/path/to/archive
$ tla get hello--mainline--1
webdav error: 401 Unauthorized

(A little censored for obvious security reasons ^_^)

In the server (Apache) log, It says "password mismatch". 

Now let's play a little with gdb on the tla binary :

in pfs-dav.c:269


  if (root_path)
==> dav_client_cwd (answer, root_path);


the variable auth has the right value (user & password are OK). 

Then, I step in dav_client_cwd :

The error is raised at 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);
        }
    }

So,  something  wrong  occured  in ne_simple_propfind(),  which  calls
ne_propfind_named(). At this point, I really don't understand what the
code does, so I'm afraid I can't really do much more ...


Do you have an idea of what's  going wrong, or can I do something more
to give you additional information ? 

Thanks for your help !

-- 
Matthieu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]