cancel
Showing results for 
Search instead for 
Did you mean: 

Error in CIFS [SOLVED]

tim-erwin
Champ in-the-making
Champ in-the-making
Hey,

we are using Alfresco in an engineering company which uses Autodesk Revit Architecture 2009. When saving a project, this program backs up the file by renaming it. Here's the process as a series of smb packages:

11   3.985584   srcIP   dstIP   SMB   Trans2 Request, FIND_FIRST2, Pattern: \PROJEKT1"<.RVT
12   3.986324   dstIP   srcIP   SMB   Trans2 Response, FIND_FIRST2, Error: STATUS_OBJECT_NAME_INVALID

39   4.095915   srcIP   dstIP   SMB   NT Create AndX Request, Path: \Projekt1.rvt
40   4.098702   dstIP   srcIP   SMB   NT Create AndX Response, FID: 0x0002

45   4.101623   srcIP   dstIP   SMB   Rename Request, Old Name: \Projekt1.rvt, New Name: \Projekt1.0001.rvt
46   4.107773   dstIP   srcIP   SMB   Rename Response, Error: STATUS_OBJECT_NAME_COLLISION
47   4.108315   srcIP   dstIP   SMB   Trans2 Request, FIND_FIRST2, Pattern: \PROJEKT1"<.RVT
48   4.114427   dstIP   srcIP   SMB   Trans2 Response, FIND_FIRST2, Error: STATUS_OBJECT_NAME_INVALID
49   4.114726   srcIP   dstIP   SMB   NT Create AndX Request, Path: \Projekt1.rvt
50   4.118701   dstIP   srcIP   SMB   NT Create AndX Response, FID: 0x0002
51   4.118949   srcIP   dstIP   SMB   Trans2 Request, QUERY_FILE_INFO, FID: 0x0002, Query File Basic Info
52   4.120719   dstIP   srcIP   SMB   Trans2 Response, FID: 0x0002, QUERY_FILE_INFO
53   4.120937   srcIP   dstIP   SMB   Close Request, FID: 0x0002
54   4.121862   dstIP   srcIP   SMB   Close Response, FID: 0x0002

Start from line 45 again forever…

The program looks for any files named "Projek1*.rvt", however, it just gets an error back (#12). Consequently it assumes theres no file with such a name and starts its backup process: renaming the file from "Projekt1.rvt" to "Projekt1.0001.rvt" (#45). This results in an error again because "Projekt1.0001.rvt" already exists (from the previous save). The program tries over and over again ending up in a never ending loop.

I assume this is a missing function in the CIFS protocol implemented/used by Alfresco; am I right? This makes Alfresco (recent versions) unusable for such companies. Would file a bug if this is nothing I can easily fix here.

Regards,
Tim
1 REPLY 1

tim-erwin
Champ in-the-making
Champ in-the-making