Configuring CIFS(Common Internet File System) with alfresco
After struggling a lot I found that Its very easy to configure CIFS with alfresco in Windows Server.
You only need to follow some basic steps which are available in many please(Steps are at end).But this is not only for the step which you will need to follow for CIFS configuration,you should also know how to debug if your configuration is not proper or something is missing and you dont know what is missing.Please refere below things for same.
netstat -a
This command is manly used for finding out which port is occupied.If you want port with process id you can use below command
netstat -a -o -n
Both of above commands can be used for identifying that the port 445 is used or not.
net view ServerName
above command is identification for server access.It will give you error code so that troubleshott becomes easy.
nbtstat -a SERVER
Testing cifs server name
Below are steps for alfresco CIFS configuration.Which is taken from docs.alfresco.com.
You only need to follow some basic steps which are available in many please(Steps are at end).But this is not only for the step which you will need to follow for CIFS configuration,you should also know how to debug if your configuration is not proper or something is missing and you dont know what is missing.Please refere below things for same.
netstat -a
This command is manly used for finding out which port is occupied.If you want port with process id you can use below command
netstat -a -o -n
Both of above commands can be used for identifying that the port 445 is used or not.
net view ServerName
above command is identification for server access.It will give you error code so that troubleshott becomes easy.
nbtstat -a SERVER
Testing cifs server name
Below are steps for alfresco CIFS configuration.Which is taken from docs.alfresco.com.
- Install Windows Server 2008 R2 out-of-the box. You do not need to change the /etc/hosts or File and Printer Sharing configuration.
- Configure a WINS server.
- If the server is a domain controller or already part of a domain, this may already be controlled by a Domain Policy. To install one on Windows Server 2008 R2, see the following article: http://technet.microsoft.com/en-us/library/ff710463%28WS.10%29.aspx.
- To manually configure an existing WINS server use the following steps:
- Go to Control Panel\Network and Internet\Network and Sharing Center > Change Adapter Settings > Local Area Connection > Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and then select Properties. .
- On the General tab, select Advanced and then select the WINS tab.
- Click Add and then add the IP address of the WINS server in your network and select Enable NetBIOS over TCP/IP.
- Click OK > OK > Close.
- Ensure that you install Alfresco using the x64 setup wizard. See Installing Alfresco Enterprise on Windows.
- Configure the Windows Server 2008 R2 firewall to create a rule to block 445.
- Open Control Panel\Network and Internet\Network and Sharing Center > Windows Firewall > Advanced Settings.
- Select Inbound Rules.
- On the right-side of the window, click New Rule.
- Follow the instructions on the wizard:
- Rule Type > Port, Next.
- Rule apply to "TCP", Specific Local Ports > 445, Next,
- Action > Block the connection, Next,
- Profile > Select ALL network types (Domain, Public, Private)
- Name > "Alfresco CIFS (Block 445)", Description the same.
- Select Finish.
- Configure the Windows Server 2008 R2 firewall to create a rule to allow 137,138,139.
- Open the Control Panel\Network and Internet\Network and Sharing Center > Windows Firewall > Advanced Settings.
- Select Inbound Rules.
- On the right-side of the window, click New Rule.
- Follow the instructions on the wizard:
- Rule Type > Port, Next.
- Rule apply to "TCP", Specific Local Ports > 137,138,139, Next,
- Action > Allow the connection, Next,
- Profile > Select ALL network types (Domain, Public, Private)
- Name > "Alfresco CIFS (Allow 137,138,139)", Description the same.
- Select Finish.
- Configure the client (Windows XP and Windows 7)
- Go to Control Panel\Network and Internet\Network and Sharing Center > Change Adapter Settings > Local Area Connection > Properties.
- Select Internet Protocol Version 4 (TCP/IPv4) and click Properties.
- On the General tab, select Advanced and then select the WINS tab.
- Click Add and then add the IP address of the WINS server in your network and select Enable NetBIOS over TCP/IP.
- Click OK > OK > Close.