cancel
Showing results for 
Search instead for 
Did you mean: 

Setting Up CIFS on Windows Server 2008 R2

maximus007
Champ in-the-making
Champ in-the-making
I have seen a couple of mentions of this, but I want to start a new, clear thread in the hope that it triggers someone. I have done plenty of searching of the forums and lots of wiki reading.

I have installed Alfresco Community 3.2r2 on a clean Windows Server 2008 (x64) machine. The machine is on a domain controlled by an SBS2003 R2 machine.

So far, I have managed to get most things working - Alfresco via http, Alfresco Share, WebDAV (which suffers from the Windows Vista/7 PROPPATCH issue btw), FTP, PassThru authentication all work correctly. Unfortunately getting CIFS to has been my bugbear for at least two whole days. :?

my alfresco-global.properties contains the following entries related to CIFS (I realise a few are redundant but I am trying to make sure I haven't missed anything):

filesystem.name=Alfresco
cifs.enabled=true
cifs.servername=ALFRESCO
cifs.hostannounce=true
cifs.ipv6.enabled=disabled

I have followed the instructions at http://wiki.alfresco.com/wiki/File_Server_Configuration#Vista_And_Windows_2008 and blocked the requisite ports on the firewall. I have also disabled Smb2 via the specified registry key, and set the "TransportBindName" entry to blank. File & Printer Sharing is disabled on the network connection.

Despite my efforts, I cannot get the CIFS share to show up, either locally or on a remote machine.

Running netstat -a still shows port 445 as LISTENING which is apparently the expected behaviour on Windows Server 2008, hence the firewall settings.

nbstat -n shows the computer's hostname as unique, and the domain as a group, but it does not show the designated NetBT name "ALFRESCO".

Does anyone have any ideas for something to try?

PS: I have previously been able to get everything running fine on an Ubuntu 9.10 x64 virtual machine, but I need to run my production server on Windows due to our OCR software.
13 REPLIES 13

mpierce
Champ in-the-making
Champ in-the-making
Still no luck. I've pretty much given up. There IS NO alfresco server. I've tried every possible config option. Nothing works. Would have liked to use alfresco for doc management and imap but since that's now impossible I'm just using the rm module and adding records through the web interface. Expecting too much is expecting too little…

b_fergerson
Champ in-the-making
Champ in-the-making
I know this may be bumping an old subject; however, I thought I would share my success.  After lots of searching with no exact results, I sat down and tried settings until they worked. I am running 3.4b on server 2008r2. I saw where maximus said to disable file and printer sharing on the connection.  I unchecked the box with no results. The 2 most important things that fixed my problems was to turn off SMB2 with a reg key and to completly uninstall file and printer sharing. Completly uninstalling file and printer sharing stoped the listining on port 445. Hope this may help someone. Smiley Very Happy

saliminam
Champ in-the-making
Champ in-the-making
Hello,
I'm in this case and I follow your instruction with no result.
I use a Alfresco community 3.4d in Windows Server 2008
But I'm in a virtual host (by VirtualBox).

Best Regards,
moise

mrogers
Star Contributor
Star Contributor
If you are using virtual box.  Make sure you don't have native file services running on either the host or the virtual machine.   You should have port 445 free before starting alfresco.      I've also had to faff with Virt box's network adapter settings.

What is important is that the connection goes over NetBios rather than TCP where it will be interfered with by Windows.