cancel
Showing results for 
Search instead for 
Did you mean: 

Any full CFIS installation guide?

kiosklim
Champ in-the-making
Champ in-the-making
Sincerely apologise at first if there's such thread posted before,however according to the link below:
http://wiki.alfresco.com/wiki/CIFS_linux and http://wiki.alfresco.com/wiki/File_Server_Configuration#Running_SMB.2FCIFS_from_a_normal_user_accoun...
It just provide access for admin to login.
Well,is it possible for other user registered in alfresco to use CFIS to map a drive(under XP/Vista OS) to alfresco that i setup in linux server??

If it is,what other setting should i provide my user in their OS(XP,Vista)??
10 REPLIES 10

loftux
Star Contributor
Star Contributor

kiosklim
Champ in-the-making
Champ in-the-making
Hey…Thanks for the response
I shall combine these three guide link while setting up the CIFS for my user OS.
Any question will be posted again later.. Smiley Tongue

kiosklim
Champ in-the-making
Champ in-the-making
Sorry but im not technical person..

cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139
Other port numbers can be used but must be above 1024 to be in the non-privileged range.

As stated above, do i need to put different port for each of my user? or every user share the same setting?


The firewall rules should then be set up to forward requests:
• TCP ports 139/445 to TCP 1139/1445
• UDP ports 137/138 to UDP 1137/1138

And these setting is it setup inside Windows Firewall>Exceptions>Add Port   ?

loftux
Star Contributor
Star Contributor
No, these are all server settings. So you should just set up a firewall rule on the server. On your client, you do not need to do anything, except mount the share.

kiosklim
Champ in-the-making
Champ in-the-making
Oh ..the firewall rule i set in linux(my server OS),  would be using this command line right??

echo 1 > /proc/sys/net/ipv4/ip_forward
modprobe iptable_nat
iptables -F
iptables -t nat -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -A PREROUTING -p tcp –dport 445 -j REDIRECT –to-ports 1445
iptables -t nat -A PREROUTING -p tcp –dport 139 -j REDIRECT –to-ports 1139
iptables -t nat -A PREROUTING -p udp –dport 137 -j REDIRECT –to-ports 1137
iptables -t nat -A PREROUTING -p udp –dport 138 -j REDIRECT –to-ports 1138

Afterwards,as for client OS(XP,vista),how am i going to mount the share? I just use map network drive wizard? and put the UNC (using the client username and password created in alfresco database) as like below:
http://wiki.alfresco.com/wiki/File:Cifs_linux_ex_3.jpg

loftux
Star Contributor
Star Contributor
How to map network drives is a windows usage question, not really this forum
http://www.google.com/search?q=windows+map+drive

Also, there is lots and lots of question answered around cifs in this forum
http://www.google.com/search?q=site:forums.alfresco.com+cifs

kiosklim
Champ in-the-making
Champ in-the-making
Ok il give it a try then..Thanks yeah…Any specific error/problem will have it posted here if no other solution found googling..
Thanks in advance! Smiley Happy

kiosklim
Champ in-the-making
Champ in-the-making
Hi again..have some difficulty here…
How am i going to configure the CIFS server in file-servers.xml to let map network drive load from normal user account?
Do i need edit anything inside there?other than substitute my own localname?

loftux
Star Contributor
Star Contributor
You should not need to change anything there, the default config would allow any user to map the drive.