AnsweredAssumed Answered

Problème d'acces au partage cifs

Question asked by rbon758 on Dec 19, 2008
Latest reply on Dec 21, 2008 by rbon758
Bonjour,
J'ai installé Alfresco 3 lab sur ma débian sans problème, on se connecte a partir d'un domaine windows 2003 sur l'interface web sans soucis, la syncro des utilisateurs active directory fonctionne elle aussi.
Mais je n'arrive pas a me connecter au partage "\\SUNGAPA\Alfresco" ni a partir de l'interface web, ni a partir du voisinage reseau.
le contenue du fichier alfresco.log
10:37:55,931 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.p
roperties]
10:38:08,052 DEBUG [org.alfresco.web.ui.repo.component.UIActions] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6, name=log4j:log
ger=org.alfresco.web.ui.repo.component.UIActions
10:38:08,058 DEBUG [org.alfresco.web.app.DebugPhaseListener] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6, name=log4j:logger=o
rg.alfresco.web.app.DebugPhaseListener
10:38:08,066 DEBUG [org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6, name
=log4j:logger=org.alfresco.repo.webdav.auth.NTLMAuthenticationFilter
10:38:08,068 DEBUG [org.alfresco.acegi] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6, name=log4j:logger=org.alfresco.acegi
10:38:08,071 DEBUG [org.alfresco.web.ui.repo.tag.PageTag] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6, name=log4j:logger=org.
alfresco.web.ui.repo.tag.PageTag
10:38:08,075 DEBUG [org.alfresco.smb.protocol.auth] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6, name=log4j:logger=org.alfres
co.smb.protocol.auth
10:38:08,078 DEBUG [org.alfresco.web.app.AlfrescoNavigationHandler] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6, name=log4j:l
ogger=org.alfresco.web.app.AlfrescoNavigationHandler
10:38:08,089 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6, name=
log4j:logger=org.alfresco.web.app.servlet.NTLMAuthenticationFilter
10:38:08,108 DEBUG [org.alfresco.repo.cache.EhCacheTracerJob] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6, name=log4j:logger=
org.alfresco.repo.cache.EhCacheTracerJob
10:38:08,118 DEBUG [org.alfresco.web.bean.clipboard] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@2f06b6, name=log4j:logger=org.alfre
sco.web.bean.clipboard
10:39:08,029 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
10:39:12,397 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
10:39:22,872 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: /opt/alfresco/alf_data
10:39:27,614 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
10:39:29,205 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
10:39:29,228 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
10:39:32,324 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_0-b11; maximum heap size 989,875MB
10:39:32,328 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (b 1164) schema 131 - Installed vers
ion 3.0.0 (b 1164) schema 131
10:40:47,368 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
10:58:00,371 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] New NTLM auth request from 192.5.1.6 (192.5.1.6:3277)
10:58:00,434 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Received type1 [Type1:0xa208b207,Domain:LOCAL,Wks:SEGAPCTX01]
10:58:00,440 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Client domain LOCAL
10:58:00,609 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Sending NTLM type2 to client - [Type2:0x80000203,Target:SUNGAPA,Ch:2f6e538d92ef
5bdd]
10:58:00,626 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Received type3 [Type3:,LM:e30b15757bed63c9d25d0a2b4e5f5c2d186f7aed3de9153e,NTLM
:e30b15757bed63c9d25d0a2b4e5f5c2d186f7aed3de9153e,Dom:LOCAL,User:rene,Wks:SEGAPCTX01]
10:58:01,084 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Updated cached NTLM details
10:58:01,086 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] User logged on via NTLM, [rene,Wks:SEGAPCTX01,Dom:LOCAL,AuthSrv:SUNGAPA,Fri Dec
19 10:58:01 CET 2008]
10:58:04,726 DEBUG [org.alfresco.web.ui.repo.component.UIActions] encodeBegin() for <r:actions/> Id: sidebarActions groupId: navigator_actions
10:58:04,727 DEBUG [org.alfresco.web.ui.repo.component.UIActions] -constructing ActionGroup: navigator_actions for ContextId: _default
10:58:04,771 DEBUG [org.alfresco.web.ui.repo.component.UIActions] —processing ActionDefinition: reset_navigator
10:58:04,774 DEBUG [org.alfresco.web.ui.repo.component.UIActions] —–adding UIActionLink component for: reset_navigator
10:58:04,776 DEBUG [org.alfresco.web.ui.repo.component.UIActions] Rendering actions group for contextId: _default
10:58:04,779 DEBUG [org.alfresco.web.ui.repo.component.UIActions] encodeEnd() for <r:actions/> Id: sidebarActions
10:58:06,215 DEBUG [org.alfresco.web.ui.repo.tag.PageTag] Time to generate page: 4701ms
10:58:15,574 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Received type1 [Type1:0xa208b207,Domain:LOCAL,Wks:SEGAPCTX01]
10:58:15,581 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Client domain LOCAL
10:58:15,700 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Sending NTLM type2 to client - [Type2:0x80000203,Target:SUNGAPA,Ch:74e1664bcb5f
65bf]
10:58:15,708 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Received type3 [Type3:,LM:3f4dd842bd1d303f8da1a0045d706d428d1d2dad130e4e4f,NTLM
:3f4dd842bd1d303f8da1a0045d706d428d1d2dad130e4e4f,Dom:LOCAL,User:rene,Wks:SEGAPCTX01]
10:58:15,808 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] Updated cached NTLM details
10:58:15,809 DEBUG [org.alfresco.web.app.servlet.NTLMAuthenticationFilter] User logged on via NTLM, [rene,Wks:SEGAPCTX01,Dom:LOCAL,AuthSrv:SUNGAPA,Fri Dec
19 10:58:15 CET 2008]
10:58:16,120 DEBUG [org.alfresco.web.app.AlfrescoNavigationHandler] handleNavigation (fromAction=#{LoginBean.logout}, outcome=relogin)
10:58:16,121 DEBUG [org.alfresco.web.app.AlfrescoNavigationHandler] Current view id: /jsp/dashboards/container.jsp
10:58:16,122 DEBUG [org.alfresco.web.app.AlfrescoNavigationHandler] No dispatch context found
10:58:16,123 DEBUG [org.alfresco.web.app.AlfrescoNavigationHandler] Passing outcome 'relogin' to original navigation handler
10:58:16,141 DEBUG [org.alfresco.web.app.AlfrescoNavigationHandler] view stack: []
10:58:21,895 DEBUG [org.alfresco.web.ui.repo.tag.PageTag] Time to generate page: 5686ms
le résultat de la commande netstat  -an –inet –program | grep 445
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      4510/java
tcp      138      0 192.5.1.3:445           192.5.1.6:2681          CLOSE_WAIT  -
tcp      138      0 192.5.1.3:445           192.5.1.6:2829          CLOSE_WAIT  -
tcp      138      0 192.5.1.3:445           192.5.1.6:2529          CLOSE_WAIT  -
tcp      138      0 192.5.1.3:445           192.5.1.6:2906          CLOSE_WAIT  -
tcp      138      0 192.5.1.3:445           192.5.1.6:2397          CLOSE_WAIT  -
tcp      138      0 192.5.1.3:445           192.5.1.6:3030          CLOSE_WAIT  -
tcp      138      0 192.5.1.3:445           192.5.1.6:2974          CLOSE_WAIT  -
tcp      137      0 192.5.1.3:445           192.5.1.6:3107          ESTABLISHED -
tcp      138      0 192.5.1.3:445           192.5.1.6:2315          CLOSE_WAIT  -
tcp      138      0 192.5.1.3:445           192.5.1.6:2216          CLOSE_WAIT  -
tcp      138      0 192.5.1.3:445           192.5.1.6:2473          CLOSE_WAIT  -
tcp      138      0 192.5.1.3:445           192.5.1.6:2606          CLOSE_WAIT  -
tcp      138      0 192.5.1.3:445           192.5.1.6:2770          CLOSE_WAIT  -
alfresco ecoute bien sur le port 445
par contre je ne comprend pas ce qui se passe sur le port 138!
il n'y a aucun retour dans alfresco.log a se sujet.
Pouvez vous m'aider ?
le contenue de mon fichier file-servers.xml
<alfresco-config area="file-servers">

   <config evaluator="string-compare" condition="CIFS Server">
          <serverEnable enabled="true"/>
      <host name="${cifs.localname}A" domain="${cifs.domain}"/>
      <comment>Alfresco CIFS Server</comment>

      <!– Set to the broadcast mask for the subnet –>
      <broadcast>${cifs.broadcast}</broadcast>

      <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
      <tcpipSMB platforms="linux,solaris,macosx"/>
      <netBIOSSMB platforms="linux,solaris,macosx"/>

           <!– Can be mapped to non-privileged ports, then use firewall rules to forward
                    requests from the standard ports –>
          <!–
      <tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
      <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
          –>

      <hostAnnounce interval="5"/>

      <!– Use Win32 NetBIOS interface on Windows –>
      <Win32NetBIOS/>
      <Win32Announce interval="5"/>

      <!– CIFS authentication –>
      <authenticator type="alfresco">
      </authenticator>

<!–
      <WINS>
         <primary>1.2.3.4</primary>
         <secondary>5.6.7.8</secondary>
      </WINS>
–>
      <sessionDebug flags="Negotiate,Socket"/>
   </config>

   <config evaluator="string-compare" condition="FTP Server">
          <serverEnable enabled="true"/>

          <!– Run on a non-privileged port –>
          <!–
          <port>1121</port>
          –>

      <!– FTP authentication –>
      <authenticator type="alfresco"/>

<!–      <debug flags="File,Search,Error,Directory,Info,DataPort"/> –>
   </config>

   <config evaluator="string-compare" condition="NFS Server">
          <serverEnable enabled="false"/>
   </config>

   <config evaluator="string-compare" condition="Filesystems">
          <filesystems>

                 <!– Alfresco repository access shared filesystem –>
         <filesystem name="Alfresco">
            <store>workspace://SpacesStore</store>
            <rootPath>/app:company_home</rootPath>

                        <!– Add a URL file to each folder that links back to the web client –>
                        <urlFile>
               <filename>__AlfrescoClient.url</filename>
               <webpath>http://${localname}:8080/alfresco/</webpath>
            </urlFile>

                        <!– Mark locked files as offline –>
                    <offlineFiles/>

                        <!– Desktop actions –>
                        <!– Uses a client-side application to trigger a server-side action                         –>
                        <!–   Echo - displays a message echoed from the server                                     –>
                        <!–   URL  - launches a URL via the Windows shell                                          –>
                        <!–   CmdLine - launches the Notepad application                                           –>
                        <!–   CheckInOut - checks files in/out, drag and drop files onto the application           –>
                        <!–   JavaScript - run a server-side script                                                –>
                        <!–   JavaScriptURL - server-side script that generates a URL to the folder using a ticket –>
                        <!–                   to avoid having to logon                                             –>

<!–
                        <desktopActions>
                                <global>
                    <path>alfresco/desktop/Alfresco.exe</path>
                                        <webpath>http://${localname}:8080/alfresco/</webpath>
                                </global>
                                <action>
                                        <class>org.alfresco.filesys.repo.desk.EchoDesktopAction</class>
                                        <name>Echo</name>
                                <filename>__AlfrescoEcho.exe</filename>
                                </action>
                                <action>
                                        <class>org.alfresco.filesys.repo.desk.URLDesktopAction</class>
                                        <name>URL</name>
                                <filename>__AlfrescoURL.exe</filename>
                                </action>
                                <action>
                                        <class>org.alfresco.filesys.repo.desk.CmdLineDesktopAction</class>
                                        <name>CmdLine</name>
                                <filename>__AlfrescoCmd.exe</filename>
                                </action>
                                <action>
                                        <class>org.alfresco.filesys.repo.desk.CheckInOutDesktopAction</class>
                                        <name>CheckInOut</name>
                                <filename>__AlfrescoCheckInOut.exe</filename>
                                </action>
                                <action>
                                        <class>org.alfresco.filesys.repo.desk.JavaScriptDesktopAction</class>
                                        <name>JavaScript</name>
                                        <filename>__AlfrescoScript.exe</filename>
                                        <script>alfresco/desktop/dumpRequest.js</script>
                                        <attributes>anyFiles, multiplePaths , allowNoParams</attributes>
                                        <preprocess>confirm, copyToTarget</preprocess>
                                </action>
                                <action>
                                        <class>org.alfresco.filesys.repo.desk.JavaScriptDesktopAction</class>
                                        <name>JavaScriptURL</name>
                                        <filename>__AlfrescoDetails.exe</filename>
                                        <script>alfresco/desktop/showDetails.js</script>
                                        <attributes>anyFiles</attributes>
                                        <preprocess>copyToTarget</preprocess>
                                </action>

                        </desktopActions>
–>

<!–
            <accessControl default="Write">
               <user name="admin" access="Write"/>
               <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/>
            </accessControl>
–>
         </filesystem>

                   <!– AVM virtualization view of all stores/versions for WCM –>
                   <!– virtual view can be any of the following: normal, site, staging, author, preview –>
         <avmfilesystem name="AVM">
            <virtualView stores="site,staging,author" />
         </avmfilesystem>

      </filesystems>
   </config>

   <config evaluator="string-compare" condition="Filesystem Security">
      <!– Domain mappings used for passthri authentication routing –>
      <!–
      <DomainMappings>
        <Domain name="LOCAL" subnet="192.5.1.0" mask="192.5.1.255"/>
      </DomainMappings>
      –>

      <!– Custom share mapper when multi-tenancy is enabled –>
      <!–
          <shareMapper type="multi-tenant">
            <debug/>
          </shareMapper>
      –>

<!–
      <globalAccessControl default="None">
         <user name="admin" access="Write"/>
         <address ip="90.1.0.90" access="Write"/>
      </globalAccessControl>
–>
   </config>


</alfresco-config>

Outcomes