maindavfs2 - Support: sr #108349, Kerberos supported by mount.davfs?

 
 

sr #108349: Kerberos supported by mount.davfs?

Submitter:  None
Submitted:  Fri 02 Aug 2013 06:55:23 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  1 - Wish Status:  Done
Privacy:  Public Assigned to:  _71007
Originator Email:  -email is unavailable- Open/Closed:  Closed
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 03 Aug 2013 09:11:54 AM UTC, comment #1: 

What version of davfs2 did you look at? Since about 3 years the code looks like this (webdav.c, dav_init_webdav):

#if NE_VERSION_MINOR < 26
    ne_set_server_auth(session, auth, "server");
#else /* NE_VERSION_MINOR >= 26 */
    ne_add_server_auth(session, NE_AUTH_ALL, auth, "server");
#endif /* NE_VERSION_MINOR >= 26 */

So if your neon library is version 0.26 or higher (it most probably is) all authentication schemes known be Neon are allowed.

I'm not familiar with Kerberos and never tried it. For what I know to make Kerberos work some conditions must be met:
- your neon library must be compiled with GSSAPI support
- the GSSAPI and Kerberos libraries must be installed
- your system must be set up to support Kerberos authentication.
I don't know much about any of these conditions. But Kerberos authentication should be handled by Neon without any intervention by davfs2 (except allowing it).

Werner

- <_71007>
Fri 02 Aug 2013 06:55:23 PM UTC, original submission:  

Hello:

I was looking at the mount.davfs source code and noticed that when it sets up a WebDAV connection, it uses BASIC and DIGEST authentication of the neon libraries.

However, the neon libraries also support Kerberos. Kerberos is of interest if you are trying to mount Windows shares in an active directory enterprise from Linux.

It doesn't look to me that mount.davfs actually supports authentication via Kerberos but can, by simply registering krb with the neon libraries.

Is there any reason for this or am I reading the code wrong and mount.davfs supports Kerberos natively?

(It was a cursory glance, I pretend to be no expert in WebDAV or libneon).

Thanks!

-aps

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-20 _71007 StatusIn Progress Done
        Open/ClosedOpen Closed
    2013-08-03 _71007 StatusNone In Progress
        Assigned toNone _71007

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code