pb CIF

cancel
Showing results for 
Search instead for 
Did you mean: 
anne_2465
Member II

pb CIF

Bonjour,
J'ai installé la version 3 sur un serveur Windows serveur 2003.
Voici mon file-servers-custom.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="enterprise">
      </authenticator>
     
<!–
      <WINS>
         <primary>1.2.3.4</primary>
         <secondary>5.6.7.8</secondary>
      </WINS>
–>
      <sessionDebug flags="Negotiate,Socket"/>
   </config>



   <!– To override the default Alfresco filesystem use replace="true", to –>
   <!– add additional filesystems remove the replace="true" attribute     –>
  
   <config evaluator="string-compare" condition="Filesystems" replace="true">
      <filesystems>

         <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>__Alfresco.url</filename>
               <webpath>http://${localname}:8080/alfresco/</webpath>
            </urlFile>

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

            <!– Desktop actions –>

            <desktopActions>
               <global>
                  <path>alfresco/desktop/Alfresco.exe</path>
                  <webpath>http://${localname}:8080/alfresco/</webpath>
               </global>
               <action>
                  <class>org.alfresco.filesys.repo.desk.CheckInOutDesktopAction</class>
                  <name>CheckInOut</name>
                  <filename>__CheckInOut.exe</filename>
               </action>
               <action>
                  <class>org.alfresco.filesys.repo.desk.JavaScriptDesktopAction</class>
                  <name>JavaScriptURL</name>
                  <filename>__ShowDetails.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 –>
         <avmfilesystem name="AVM">
            <virtualView/>
         </avmfilesystem>
       
      </filesystems>
   </config>

</alfresco-config>

Voici le 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="enterprise">
      </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="ALFRESCO" subnet="192.168.1.0" mask="192.168.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>

et mon file-serveurs.properties :

cifs.localname=${localname}
cifs.domain=griminfo
cifs.broadcast=255.255.0.0

Je n'arrive pas a accéder au CIF de la page web, j'ai le message : Le chemin d'accès file:///\Users Homes\Prenom NOM n'existe pas ou n'est pas un répertoire.
Et lorsque je fais un nbtstat -n je ne vois pas mon serveur griminfoA

Pouvez-vous m'aider ?

Merci.

Anne
21 Replies
gardouille
Member II

Re: pb CIF

Bonjour,

Je ne pense pouvoir t'être d'une grande aide, mais donne tes logs si tu peux, ceux qui reconnaîtront le problème seront plus à apte à pouvoir t'aider (alfresco.log, normalement). Et ça se trouve, tu comprendras par toi même le problème en regardant les logs =)
anne_2465
Member II

Re: pb CIF

Bonjour,
Voici le log :
15:40:55,634 ERROR [org.alfresco.repo.shutdown.ShutdownBackstop] Alfresco terminating via Shutdown Backstop
15:40:56,775 ERROR [org.alfresco.repo.shutdown.ShutdownBackstop] Alfresco terminated
15:42:20,780 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
15:42:44,047 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
15:42:49,923 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Aucune modification na été apportée au schéma.
15:42:59,064 INFO  [org.alfresco.repo.admin.ConfigurationChecker] Le répertoire racine de données d'Alfresco ('dir.root') est : E:\Alfresco\alf_data
15:42:59,126 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …
15:42:59,517 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Aucun correctif requis.
15:42:59,548 INFO  [org.alfresco.repo.module.ModuleServiceImpl] 1 module(s) trouvé(s).
15:42:59,736 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Démarrage du module 'org.alfresco.module.vti' version 1.0.
15:43:00,627 ERROR [org.alfresco.smb.protocol] Error accessing Win32 NetBIOS, check DLL is on the path
15:43:01,955 WARN  [org.alfresco.util.OpenOfficeConnectionTester] La connexion à OpenOffice n'a pu être établie.
15:43:02,424 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_03-b05; maximum heap size 506,313MB
15:43:02,424 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
15:43:49,317 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
15:43:58,505 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs
15:43:58,505 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 1458.9471ms)
15:44:00,818 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
15:45:02,400 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs
15:45:02,416 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 63852.242ms)
15:45:02,884 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

Anne
anne_2465
Member II

Re: pb CIF

Bonjour,

J'ai toujours mon problème de CIF, même du serveur.
Mais suite à quelques modifications, lorsque je fait un nbtstat - n, je voit bien monserveur ALFRESCOTESTA

Voici mon file-servers.xml :
<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="enterprise">
      </authenticator>
     
<!–
      <WINS>
         <primary>1.2.3.4</primary>
         <secondary>5.6.7.8</secondary>
      </WINS>
–>
      <sessionDebug flags="Negotiate,Socket"/>
   </config>

Voici mon file-servers-custom.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>
   <bindto>172.16.65.65</bindto>
      <!– 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="enterprise">
      </authenticator>
     
<!–
      <WINS>
         <primary>1.2.3.4</primary>
         <secondary>5.6.7.8</secondary>
      </WINS>
–>
      <sessionDebug flags="Negotiate,Socket"/>
   </config>

et mon file-servers.properties :
cifs.localname=${localname}
cifs.domain=
cifs.broadcast=255.255.0.0

Dans Alfresco, lorsque je clique donc sur l'icône permettant de visualiser le dossier en CIF, j'ai le message suivant : Le chemin d'accès file:///\\ALFRESCOTESTA\Alfresco\User Homes\Toto n'existe pas ou n'est pas un répertoire.

Anne
emily
Member II

Re: pb CIF

je sais pas si tu as résolu ton problème , mais pour pouvoir accéder à la visionnalisation du CIFS, il faut le configurer, je te laisse faire quelque recherches sur le wiki d'Alfresco, pour trouver ton bonheur.
tu rencontreras sûrement des problèmes comme beaucoup de monde, mais il faudra continuer à chercher …
je suis un peu nulle en Alfresco comparé a certain, mais je peux déjà te dire que t'as rien modifié a tes fichiers de configuration, donc ne soit pas choquée si rien ne marche. je pense que ton adresse de broadcast n'est pas bonne. par l'exemple l'adresse IP de ma machine est 172.41.6.40 et mon broadcast est 172.41.6.255, je ne connais pas la règle, mais tu peux peut-etre te fier a ca.
sur ton serveur tu peux peut-etre désellectionner le partage d'imprimante, ensuite, je te conseille également, d'enregistrer les adresse IP et les nom d'hotes de tes machines clientes sur le fichier hosts de ta machine serveur.
de mon coté, j'ai également changer l'authentification d'alfresco dans les fichiers files-servers-custom et files-server en alfresco plutot qu'enterprise.
tu peux rajouter un bindto en y ajoutant l'adresse ip de ta machine serveur (renseigne toi sur le net)
et tu peux aussi passer en mode debug la partie CIFS server dans le fichier log4j.properties
# CIFS server debugging
log4j.logger.org.alfresco.smb.protocol=debug
log4j.logger.org.alfresco.smb.protocol.auth=debug
log4j.logger.org.alfresco.acegi=debug

et apres je te laisse chercher …

bon courage

emily
emily
Member II

Re: pb CIF

Et ton erreur 15:43:00,627 ERROR [org.alfresco.smb.protocol] Error accessing Win32 NetBIOS, check DLL is on the path
vient du fait que tu n'as pas renseigné ton répertoire bin d'alfresco dans ta variable path.
dans system, avancé, variable d'environnement, rajouter dans la variable path un lien vers c:\alfresco\bin…
ca peut te résoudre pas mal de problèmes
anne_2465
Member II

Re: pb CIF

Bonjour,
Après de nouvelles modifications, j'ai encore le même problème…
Voici le file-serveurs.properties :

cifs.localname=${localname}
cifs.domain=griminfo
cifs.broadcast=172.16.65.255

Le 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>
   <bindto>172.16.65.65</bindto>
      <!– 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="ALFRESCO" subnet="192.168.1.0" mask="192.168.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>

le file-severs-custom.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>
   <bindto>172.16.65.65</bindto>
      <!– 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>



   <!– To override the default Alfresco filesystem use replace="true", to –>
   <!– add additional filesystems remove the replace="true" attribute     –>
  
   <config evaluator="string-compare" condition="Filesystems" replace="true">
      <filesystems>

         <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>__Alfresco.url</filename>
               <webpath>http://${localname}:8080/alfresco/</webpath>
            </urlFile>

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

            <!– Desktop actions –>

            <desktopActions>
               <global>
                  <path>alfresco/desktop/Alfresco.exe</path>
                  <webpath>http://${localname}:8080/alfresco/</webpath>
               </global>
               <action>
                  <class>org.alfresco.filesys.repo.desk.CheckInOutDesktopAction</class>
                  <name>CheckInOut</name>
                  <filename>__CheckInOut.exe</filename>
               </action>
               <action>
                  <class>org.alfresco.filesys.repo.desk.JavaScriptDesktopAction</class>
                  <name>JavaScriptURL</name>
                  <filename>__ShowDetails.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 –>
         <avmfilesystem name="AVM">
            <virtualView/>
         </avmfilesystem>
       
      </filesystems>
   </config>

</alfresco-config>

et mon log :
12:03:32,255 INFO  [org.alfresco.config.xml.XMLConfigService$PropertyConfigurer] Loading properties file from class path resource [alfresco/file-servers.properties]
12:03:37,536 DEBUG [org.alfresco.acegi] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@1d75e80, name=log4j:logger=org.alfresco.acegi
12:03:37,536 DEBUG [org.alfresco.smb.protocol.auth] preRegister called. Server=com.sun.jmx.mbeanserver.JmxMBeanServer@1d75e80, name=log4j:logger=org.alfresco.smb.protocol.auth
12:04:03,007 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
12:04:08,757 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Aucune modification na été apportée au schéma.
12:04:17,367 INFO  [org.alfresco.repo.admin.ConfigurationChecker] Le répertoire racine de données d'Alfresco ('dir.root') est : E:\Alfresco\alf_data
12:04:17,883 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Vérification des correctifs à appliquer …
12:04:18,367 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Aucun correctif requis.
12:04:18,789 INFO  [org.alfresco.repo.module.ModuleServiceImpl] 1 module(s) trouvé(s).
12:04:18,914 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Démarrage du module 'org.alfresco.module.vti' version 1.0.
12:04:22,367 WARN  [org.alfresco.util.OpenOfficeConnectionTester] La connexion à OpenOffice n'a pu être établie.
12:04:22,680 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_03-b05; maximum heap size 506,313MB
12:04:22,680 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Labs): Current version 3.0.0 (Stable 1526) schema 1002 - Installed version 3.0.0 (Stable 1526) schema 1002
12:05:15,042 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
12:05:26,371 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 67 Web Scripts (+0 failed), 71 URLs
12:05:26,403 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 1282.29ms)
12:06:01,874 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.
12:06:29,438 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 101 Web Scripts (+0 failed), 105 URLs
12:06:29,453 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 63015.39ms)
12:06:29,829 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
12:15:54,255 DEBUG [org.alfresco.smb.protocol.auth] Null CIFS logon allowed
12:15:54,505 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:54,833 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:55,005 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:55,037 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:55,115 DEBUG [org.alfresco.smb.protocol.auth] Null CIFS logon allowed
12:15:55,177 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:55,193 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:55,208 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:55,224 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:55,271 DEBUG [org.alfresco.smb.protocol.auth] Null CIFS logon allowed
12:15:55,396 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:55,974 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:56,068 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:56,130 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:56,146 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:56,302 DEBUG [org.alfresco.smb.protocol.auth] Null CIFS logon allowed
12:15:56,302 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:56,318 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:56,334 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:56,334 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4
12:15:56,349 DEBUG [org.alfresco.smb.protocol.auth] Null CIFS logon allowed
12:15:56,396 DEBUG [org.alfresco.smb.protocol.auth] Authenticated user Administrateur sts=Disallow via MD4

Dans le path, j'ai bien le chemin vers E:\alfresco\bin (il y était déjà)
Et j'ai désactivé le partage de fichier et d'imprimantes dans les propriétés de ma connexion réseau (est-ce comme ça que l'on doit désactiver le partage d'imprimantes ?)

Merci d'avance.

Anne
slibert
Active Member II

Re: pb CIF

Hello,

Avez-vous désactivé le serveur SMB sur le serveur Windows ?
Cela se fait avec une modification dans la base de registre du serveur :

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters]
"SMBDeviceEnabled"=dword:00000000

Plus de détail sur :
http://wiki.alfresco.com/wiki/File_Server_Configuration#Native_SMB_collisions

HTH
Sébastien
anne_2465
Member II

Re: pb CIF

Bonjour,

J'ai ajouté cette clé dans la base de registre, redémarré le serveur et ça ne change rien.

Anne
emily
Member II

Re: pb CIF

et as tu renseigné les adresses ip et les noms de tes machines dans le fichier host  ou lmhost ou … (dans C:\WINDOWS\system32\drivers\etc) de la machine où se trouve ton serveur alfresco ?
et idem, renseigner l'adresse ip et le nom de ta machine dans le(s) même(s) fichier(s) de tes machines clientes.
si tu fonctionnes sur deux machines (un poste client et un poste serveur ) désactive le partage d'imprimante sur les deux postes.
tournes tu sur deux machines ?
si oui, moi j'ai aussi eu du mal a configurer le CIFS, après un mois de recherche , j'ai remarqué que c'était mon PC qui plantait, j'ai désinstallé les VMware workstation et tout marchait correctement après.
le problème ne vient peut-être pas de ta configuration du CIFS, si cela ne marche toujours pas après, tu peux essayer de réinstaller alfresco sur une machine toute propre et refaire les mêmes configurations.