Can't mount sharepoint point - ubuntu 8.04.1

  • olivier

    olivier - 2008-07-09


    I can't mount sharepoint point - ubuntu 8.04.1

    Whith an other server (zope) it is ok

    but with a microsft sharepoint site, I have no error message, but no files.

    below, you can see commands :

    opouy@cagire:/media/DATA/@univ/BV/serviceDSI$ sudo mount.davfs '' ./tempo2
    [sudo] password for opouy:
    Please enter the username to authenticate with server or hit enter for none.
    Username: opouy_UDS
    Please enter the password to authenticate user opouy_UDS with server or hit enter for none.

    opouy@cagire:/media/DATA/@univ/BV/serviceDSI/tempo2$ ll
    total 1
    drwx------ 2 root root 36 2008-07-09 11:17 lost+found

    here, the same commands with my zope server, an it is ok :

    opouy@cagire:/media/DATA/@univ/BV/serviceDSI$ sudo mount.davfs '' ./tempo
    [sudo] password for opouy:
    Please enter the username to authenticate with server or hit enter for none.
    Username: opouy
    Please enter the password to authenticate user opouy with server or hit enter for none.
    mount.davfs: the server certificate is not trusted
      issuer:      Educational CA, Cybertrust, BE
      subject:     Universite de Savoie, FR
      fingerprint: d3:14:98:68:4a:d3:a7:cf:1e:8b:75:78:29:69:96:b2:b8:b8:31:43
    You only should accept this certificate, if you can
    verify the fingerprint! The server might be faked
    or there might be a man-in-the-middle-attack.
    Accept certificate for this session? [y,N] y

    opouy@cagire:/media/DATA/@univ/BV/serviceDSI/tempo$ ll
    total 258
    -rw-r--r-- 1 root root      0 2007-08-30 15:04 acl_satellite
    drwxr-xr-x 3 root root     76 2008-03-26 18:58 Agence_de_presse
    drwxr-xr-x 2 root root    132 2005-03-29 12:05 archives
    -rw-r--r-- 1 root root 260096 2005-03-29 16:05 Charte_V5.doc
    drwxr-xr-x 3 root root    120 2006-04-13 16:59 Comite_italianiste_-_Festival_du_Premier_Roman
    drwxr-xr-x 2 root root    156 2005-03-29 12:03 Doc
    drwxr-xr-x 3 root root    908 2007-10-02 12:45 html
    drwxr-xr-x 5 root root     88 2005-09-23 11:29 images

    somebody can help me ?


    • Werner Baumann

      Werner Baumann - 2008-07-09

      Hello Oliver,

      two possible reasons come into my mind:

      1) Authentication:
      I only tested davfs2 with HTTP-authentication (Basic and Digest). Username and password requested by mount.davfs are only for HTTP-authentication.
      Your sharepoint-server may use windows-authentication. The neon-library used by davfs2 supports NTLM and Kerberos. But you will have to set up your system to enable these authentication shemes to be used by neon. I never cared about and can not help there.
      But as there is no message about failed authentication, this is probably not the reason for the failure.

      2) There have been some reports about non-standard behaviour and requirements by sharepoint. But they never had enough details to think about a workaround.
      Please do this:
      - add option "debug most" to your davfs2.conf file.
      - mount the file system and do "ls".
      - search your log files for messages from mount.davfs and send them to me.


    • olivier

      olivier - 2008-07-09

      Hi Werner,

      in first, thanks for your response.

      so, below my /etc/davfs2/davfs2.conf file :

      opouy@cagire:~$ cat /etc/davfs2/davfs2.conf
      # davfs2 configuration file  2007-04-06
      # version 4
      # -------------------------------------

      # Please read the davfs2.conf (5) man page for a description of the
      # configuration options and syntax rules.

      # Available options and default values
      # ====================================

      # General Options
      # ---------------

      # dav_user        davfs2            # system wide config file only
      dav_user nobody
      # dav_group       davfs2            # system wide config file only
      dav_group staff
      # ignore_home                       # system wide config file only
      # kernel_fs       coda
      # buf_size        8                 # KiByte

      # WebDAV Related Options
      # ----------------------

      # use_proxy       1
      # proxy
      # servercert
      # clientcert
      # secrets         ~/.davfs2/secrets # user config file only
      # ask_auth        1
      # use_locks       1
      # lock_owner      <username>
      # lock_timeout    1800              # seconds
      # lock_refresh    60                # seconds
      # gui_optimize    0
      # use_expect100   1
      # server_charset
      # use_displayname 1
      # read_timeout    30                # seconds
      # retry           30                # seconds
      # max_retry       300               # seconds

      # Cache Related Options
      # ---------------------

      # backup_dir      lost+found
      # cache_dir       /var/cache/davfs2 # system wide cache
      #                 ~/.davfs2/cache   # per user cache
      # cache_size      50                # MiByte
      # table_size      1024
      # idle_time       10                # seconds
      # dir_refresh     60                # seconds
      # file_refresh    1                 # second

      debug most

      So, after the mouting :

      opouy@cagire:/media/DATA/@univ/BV/serviceDSI$ sudo mount.davfs '' ./tempo3
      mount.davfs:/etc/davfs2/davfs2.conf:58: unknown option

      and stop ...

    • olivier

      olivier - 2008-07-09

      I saw this help :

      and I have allways the problem...


    • Werner Baumann

      Werner Baumann - 2008-07-10

      You have an older version of davfs2 that does not support the debug option. You should install the latest version. Maybe the package from Debian testing can be installed on your Ubuntu, but I don't know.

      You should always include the version number of the software in help-requests and bug-reports.


      P.S.: Can't see anything helpful in The instruction to remove ~/.davfs2/davfs2.conf looks like nonsense. My advice: read the original documentation of davfs2.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks