cancel
Showing results for 
Search instead for 
Did you mean: 

configuration of cifs desktop action in 1.4 preview

miggy4340
Champ in-the-making
Champ in-the-making
Hello,

I have configured the cifs server following information I found.

When I browse with windows explorer, I can see the URL shortcut but not desktop actions.

Can you help me with what I'm doing wrong.

Regards

BMI (miggy)

file-servers-custom.xml

<alfresco-config area="file-servers">

    <config evaluator="string-compare" condition="CIFS Server">
      <host name="${localname}_A"/>
      <comment>Alfresco CIFS Server</comment>

      <!– Set to the broadcast mask for the subnet –>
      <broadcast>255.255.255.255</broadcast>

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

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

<!–
      <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">
   <filesystems>
     <filesystem name="Alfresco">
       <store>workspace://SpacesStore</store>
       <rootPath>/app:company_home</rootPath>
       <urlFile>
         <filename>__AlfrescoClient.url</filename>
         <webpath>http://localhost:8080/alfresco/</webpath>
       </urlFile>
       <offlineFiles/>
       <desktopActions>
         <global>
           <path>alfresco/desktop/Alfresco.exe</path>
         </global>
         <action>
           <class>org.alfresco.filesys.smb.server.repo.desk.EchoDesktopAction</class>
           <name>Echo</name>
           <filename>__AlfrescoEcho.exe</filename>
         </action>
         <action>
           <class>org.alfresco.filesys.smb.server.repo.desk.URLDesktopAction</class>
           <name>URL</name>
           <filename>__AlfrescoURL.exe</filename>
         </action>
         <action>
           <class>org.alfresco.filesys.smb.server.repo.desk.CmdLineDesktopAction</class>
           <name>CmdLine</name>
           <filename>__AlfrescoCmd.exe</filename>
         </action>
         <action>
           <class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class>
           <name>CheckInOut</name>
           <filename>__AlfrescoCheckInOut.exe</filename>
         </action>
       </desktopActions>
     </filesystem>
   </filesystems>
</config>



   <!– Allow guest access to file systems –>
   <config evaluator="string-compare" condition="Filesystem Security">

      <authenticator type="alfresco">
       <!–  <allowGuest/> –>
         <!– Map any unknown user to guest –>
         <!–
         <mapUnknownUserToGuest/>
         –>
      </authenticator>

   </config>

</alfresco-config>
1 REPLY 1

steve
Champ in-the-making
Champ in-the-making
Hi,

You didn't follow the instructions in the file:

<!– To override the default Alfresco filesystem use replace="true", to –>
<!– add additional filesystems remove the replace="true" attribute –>

Since you are overriding the default Alfresco filesystem you need to add the 'replace="true"' tag to the configuration.

E.g.
<config evaluator="string-compare" condition="Filesystems" replace="true"> 

Steve