Recherche

Sommaire

Pages enfant
  • Utiliser Webdav avec une authentification LDAP

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.
Commentaire: Migrated to Confluence 5.3

A partir de Nuxeo 5.4.2 et encore plus avec Nuxeo 5.5 , le support de Webdav a été amélioré.

Paramètrage de l'authentification Basic :

Editez le point d'extension esup-webdav-config.xml suivant dans le répertoire config du template custom :

Bloc de code
<?xml version="1.0"?>
<component name="org.esup.ecm.platform.wi.auth.config.custom">

<require>org.nuxeo.ecm.platform.wi.auth.config</require>
  <extension target="org.nuxeo.ecm.platform.ui.web.auth.service.PluggableAuthenticationService" point="specificChains">

    <specificAuthenticationChain name="WSS">
      <urlPatterns>
        <url>(.*)/_vti_.*</url>
      </urlPatterns>
      <headers>
        <header name="User-Agent">MSFrontPage.*</header>
      </headers>

      <replacementChain>
        <plugin>BASIC_AUTH</plugin>
        <plugin>WEBDAV_BASIC_AUTH</plugin>
      </replacementChain>
    </specificAuthenticationChain>

    <specificAuthenticationChain name="WebDAV_Root">
      <headers>
        <header name="User-Agent">(Microsoft-WebDAV-MiniRedir|DavClnt|litmus|gvfs|gnome-vfs|davfs|WebDAV|cadaver|BitKinex|GoodReader|DataAccess|iWorkHTTPKit).*</header>
      </headers>

      <replacementChain>
        <plugin>BASIC_AUTH</plugin>
        <plugin>WEBDAV_BASIC_AUTH</plugin>
      </replacementChain>
    </specificAuthenticationChain>
  </extension>

</component>

Paramètrage particulier clients Windows

sous Seven :

Clés de registre à modifier  :
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters]
"FileSizeLimitInBytes"=dword:ffffffff
"BasicAuthLevel"=dword:2
"UseBasicAuth"=dword:1

sous XP :

Clés à modifier :
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters]
"UseBasicAuth"=dword:1
"BasicAuthLevel"=dword:2
"AcceptOfficeAndTahoeServers"=dword:1
"FileAttributesLimitInBytes"=dword:ffffffff
"FileSizeLimitInBytes"=dword:2faf080
"InternetServerTimeoutInSec"=dword:1e
"LocalServerTimeoutInSec"=dword:f
"SendReceiveTimeoutInSec"=dword:3c
"ServerNotFoundCacheLifeInSec"=dword:3c
"ServerNotFoundCacheLifeTimeInSec"=dword:3c
"ServiceDllUnloadOnStop"=dword:1
"SupportLocking"=dword:1

Connexion

Créez ensuite une connexion (suivant votre client, vous utiliserez par exemple windows explorer ou le Finder de Mac ou  Nautilus ...) en utilisant l'url suivante (a remplacer avec vos popres paramètres en ajoutant eventuellement le port 8080 si vous n'utilisez pas de frontal apache) : *https://nuxeo.univ.fr/nuxeo/site/dav*

Vous pouvez aussi consulter la documentation de Nuxeo pur plus de précisions