cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS issues with folder

coyoteugly
Champ in-the-making
Champ in-the-making
Hi to all. Using Alfresco 4.2.c installed on an Ubuntu 12.04 server I configured the CIFS protocol using the following settings on the /alfresco/tomcat/shared/classes/alfresco-global.properties file:

### CIFS ###
cifs.enabled=true
cifs.serverName=${localname}A
cifs.hostannounce=true
cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139

So I set the corrects IPTABLES rules, and due to I use the AD authentication using passtrhu I change the authentication protocol from NTMLv2 to NTMLv1 on my Windows client.
So, now I'm able to access and use CIFS. Anyway there are some issues using the folders:
*Is not possible to rename the folders: If I try to do this, windows return me an error similar to: "The directory \\MYSERVER\Alfresco\…\MYPATH does non exist. Is possible that the file has been moved or deleted." . It looks like if the network units is not connected, but the network units is correctly connected and I can use this for all other operations! If I create a new folder I cant't assing a custom name to this, I can only use the windows standard name "New folder".
*I' can't move files into other directorys. If I try to move a file for example using drag and drop, I see the classic window "Moving 1 item (TOT KB) from \path1 tp \path2", but even for a really small file, this window never expires and the file is never moved.

There are some probles on my CIFS configurations? I forgot something? There are some problem on File System? Is this a common issue?

Thanks, regards.
3 REPLIES 3

coyoteugly
Champ in-the-making
Champ in-the-making
Nothing about this?
I continued to study the problem, and I found that if I log-in in Alfresco as a Domain admin, I have no issue using CIFS.
Is this a problem of File System or permission?
Thanks.

coyoteugly
Champ in-the-making
Champ in-the-making
***UPDATE***
After varius tests, summarizing:
Alfresco version 4.2.c installed on a Ubuntu 12.04 LTS. I configured my alfresco-global.properties file using the configuration line in my first post. After I used the following lines to configure IPTABLE:
root@dms:~# iptables -t nat -A PREROUTING -p tcp -m tcp –dport 445 -j REDIRECT –to-ports 1445
root@dms:~# iptables -t nat -A PREROUTING -p tcp -m tcp –dport 139 -j REDIRECT –to-ports 1139
root@dms:~# iptables -t nat -A PREROUTING -p udp -m udp –dport 137 -j REDIRECT –to-ports 1137
root@dms:~# iptables -t nat -A PREROUTING -p udp -m udp –dport 138 -j REDIRECT –to-ports 1138
It seems to work for me.

Anyway I found some trouble: Using a Windows Vista x32 client and a Windows 7 x64 client I CAN'T RENAME FILE AND DIRECTORY, and I CAN'T MOVE FILE INTO FOLDER using for example drag-and-drop.

*If I try to rename, windows return an error such as "The directory \\server\Alfresco\path\path1\path2… does non exist. Is possible that the file has been moved or deleted." . Related to this, if I create a new document is not possible to assign a custom name, but I can only use the windows standard name "Document1" or "New folder".
*If I try to move a file using drag and drop, the classic window "Moving 1 item (TOT KB) from \path1 to \path2" appears, but even for a really small file, this window never expires and the file is never moved.

I also tried using an ubuntu client and a windows 8 client, and I didn' found any trouble.

Please, any stuff about this?
Is it a bug? A server misconfiguration? A client misconfiguration?

Thanks a lot.

coyoteugly
Champ in-the-making
Champ in-the-making
Hi, in my Alfresco Jira Post it seems that is confirmed to be a bug fixed in 4.2.d .
https://issues.alfresco.com/jira/browse/ALF-18011

Regards.