cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS Server Subsystem for Community 4.2 on Windows 7

staticfactory
Champ in-the-making
Champ in-the-making
I have read through a few articles on this, and for the life of me I can't get the results I am after.

Purpose:
I have Community 4.2 (default install) installed on a 64bit Windows 7 machine. I wish to allow a media center to access multimedia content stored in the Alfresco repository via CIFS/SMB, as well as allow regular windows CIFS/SMB connections for OS/Application management. As far as I can tell, I should be able to connect to one using SMB and the other using NETBIOS.

I have created an alias address (10.20.30.11) on the network adapter for Alfresco to bind.

In the C:\Alfresco\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\subsystems\fileServers\default\file-servers.properties file, I have:


cifs.enabled=true
cifs.serverName=${localname}A
cifs.domain=
cifs.broadcast=255.255.255.255
cifs.bindto=10.20.30.11
cifs.ipv6.enabled=false
cifs.hostannounce=true
cifs.disableNIO=false
cifs.disableNativeCode=true
cifs.sessionTimeout=900
cifs.maximumVirtualCircuitsPerSession=16

cifs.tcpipSMB.port=445
cifs.netBIOSSMB.sessionPort=139
cifs.netBIOSSMB.namePort=137
cifs.netBIOSSMB.datagramPort=138


I have added "windows" to the cifsServerConfig child beans tcpipSMB and netBIOSSMB under "platforms".

In the File Server Subsystem 4.0 wiki document, it outlines deactivating windows CIFS (445) in Windows 2008 server to allow the Alfresco Java socket code to bind, however I cannot find the "Message-oriented TCP/IP and TCP/IPv6 Protocol (SMB Session)" device under "Non-Plug and Play Drivers" (after showing hidden devices) to complete this step.

To this point, I am able to see the Server name {localhost}A as 10.20.30.11, but when I connect to it via CIFS/SMB, I see the windows share and not the Alfresco share.

Any help would be appreciated.

3 REPLIES 3

bisana
Champ on-the-rise
Champ on-the-rise
HI
CIFS instance  on a ALfresco DM is another CIFS instance than the OS. U can have only one service available running on the deised port. When you want CIFS enabled DM you configure alfresco for CIFS by configuring the property file and then you redirect the port in the OS. Have you done the re-directing of part in the OS.

I have never tried Alfresco or any enterprise solution on MSwindows. Setting up CIFS server on LINUX was well documented and it was easy to do it.

Do you have any particular advantage in choosing Windows server for your DM purpose.

staticfactory
Champ in-the-making
Champ in-the-making
I realize that only one interface can bind 445, but I was hoping to simply disable the Windows service/device rather than leverage the router for redirecting the request.

The only advantage to using a Windows box is that it has been many years since I've used a Linux distro. I would rather not involve a separate learning curve while I investigate Alfresco.

Yes you should be able to configure it … However windows gets there first…   And gets it wrong …

There is a bodge I use for Windows 7.
Disable file and printer sharing.
Define a dummy hosts entry for your {server}A .    You will find 13.13.13.13 used in the examples in this forum and JIRA.

This forces the use of Netbios.