Hi all,

I am in the process of testing Novell CIFS and Windows Offline Files and have run into a sync problem ...

Server is OES2 SP2, latest updates applied
Windows 7 client

Mapping the drive & configuring offline files was a (relative) breeze. Once done I could create files on the machine without any issues and monitoring the windows 'sync center' it would sync them automatically and all was OK. If I create a file on another machine it also syncs that file without any issue. However, when I take my Windows 7 machine offline and add some files to the offline drive, when I reconnect to the network I receive this error in sync center on the windows 7 PC

Unable to sync at this time. Please try again

No more details are available on the client side. Manually trying to sync doesn't help, rebooting doesn't help. All files are affected - (tested ones are xls, doc, txt, bmp, reg, exe)

On the server side I see these errors in the /var/log/cifs/cifs.log file

Sep 20 12:32:54 oestest CIFS[6486]: ERROR: VERB: /PIPE/MsFteWds is not implemented
Sep 20 12:40:21 oestest CIFS[6486]: WARNING: CODIR: Error 0,err:-4
Sep 20 12:40:21 oestest CIFS[6486]: ERROR: CODIR: Failed to write into file /media/nss/USERS/baarsd/graphic.bmp.
Sep 20 12:40:21 oestest CIFS[6486]: ERROR: SMB: linux error code is 9 cifs error code is 255
Sep 20 12:40:21 oestest CIFS[6486]: ERROR: SMB: cifs failed to write X , file handle : 27 system error 9
Sep 20 12:40:21 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/graphic.bmp
Sep 20 12:40:21 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/graphic.bmp
Sep 20 12:40:51 oestest CIFS[6486]: ERROR: VERB: /PIPE/MsFteWds is not implemented
Sep 20 12:41:15 oestest CIFS[6486]: WARNING: CODIR: Error 0,err:-4

Using the novcifs command line tool I increased the logging to info

novcifs -f yes

and now receive these errors in the logs when my windows 7 client tries to sync

Sep 20 14:07:40 oestest CIFS[6486]: INFO : CODIR: Registering batch oplock for file /media/nss/USERS/baarsd/brainshare2011_application.txt
Sep 20 14:07:40 oestest CIFS[6486]: INFO : CODIR: Registering batch oplock for file /media/nss/USERS/baarsd/Dylan Baars CV.doc
Sep 20 14:07:41 oestest CIFS[6486]: WARNING: CODIR: Error 0,err:-4
Sep 20 14:07:41 oestest CIFS[6486]: INFO : UTILS: SetFileDisposition : File is set to be deleted
Sep 20 14:07:41 oestest CIFS[6486]: WARNING: CODIR: Error 0,err:-4
Sep 20 14:07:41 oestest CIFS[6486]: INFO : UTILS: SetFileDisposition : File is set to be deleted
Sep 20 14:07:41 oestest CIFS[6486]: ERROR: CODIR: Failed to write into file /media/nss/USERS/baarsd/brainshare2011_application.txt.
Sep 20 14:07:41 oestest CIFS[6486]: ERROR: SMB: linux error code is 9 cifs error code is 255
Sep 20 14:07:41 oestest CIFS[6486]: ERROR: SMB: cifs failed to write X , file handle : 24 system error 9
Sep 20 14:07:41 oestest CIFS[6486]: ERROR: CODIR: Failed to write into file /media/nss/USERS/baarsd/Dylan Baars CV.doc.
Sep 20 14:07:41 oestest CIFS[6486]: ERROR: SMB: linux error code is 9 cifs error code is 255
Sep 20 14:07:41 oestest CIFS[6486]: ERROR: SMB: cifs failed to write X , file handle : 26 system error 9
Sep 20 14:07:41 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/brainshare2011_application.txt
Sep 20 14:07:41 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/Dylan Baars CV.doc
Sep 20 14:07:41 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/brainshare2011_application.txt
Sep 20 14:07:41 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/Dylan Baars CV.doc
Sep 20 14:07:41 oestest CIFS[6486]: INFO : VERB: Glob: No Match Found /media/nss/USERS/[bB][aA][aA][rR][sS][dD]/[gG][rR][aA][pP][hH][iI][cC].[bB][mM][pP]
Sep 20 14:07:42 oestest CIFS[6486]: INFO : CODIR: Registering batch oplock for file /media/nss/USERS/baarsd/niwaBG1280.bmp
Sep 20 14:07:42 oestest CIFS[6486]: INFO : CODIR: Registering batch oplock for file /media/nss/USERS/baarsd/graphic.bmp
Sep 20 14:07:42 oestest CIFS[6486]: WARNING: CODIR: Error 0,err:-4
Sep 20 14:07:42 oestest CIFS[6486]: INFO : UTILS: SetFileDisposition : File is set to be deleted
Sep 20 14:07:42 oestest CIFS[6486]: WARNING: CODIR: Error 0,err:-4
Sep 20 14:07:42 oestest CIFS[6486]: INFO : UTILS: SetFileDisposition : File is set to be deleted
Sep 20 14:07:42 oestest CIFS[6486]: ERROR: CODIR: Failed to write into file /media/nss/USERS/baarsd/niwaBG1280.bmp.
Sep 20 14:07:42 oestest CIFS[6486]: ERROR: SMB: linux error code is 9 cifs error code is 255
Sep 20 14:07:42 oestest CIFS[6486]: ERROR: SMB: cifs failed to write X , file handle : 24 system error 9
Sep 20 14:07:42 oestest CIFS[6486]: ERROR: CODIR: Failed to write into file /media/nss/USERS/baarsd/graphic.bmp.
Sep 20 14:07:42 oestest CIFS[6486]: ERROR: SMB: linux error code is 9 cifs error code is 255
Sep 20 14:07:42 oestest CIFS[6486]: ERROR: SMB: cifs failed to write X , file handle : 26 system error 9
Sep 20 14:07:42 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/niwaBG1280.bmp
Sep 20 14:07:42 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/graphic.bmp
Sep 20 14:07:42 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/niwaBG1280.bmp
Sep 20 14:07:42 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/graphic.bmp
Sep 20 14:07:43 oestest CIFS[6486]: INFO : VERB: Glob: No Match Found /media/nss/USERS/[bB][aA][aA][rR][sS][dD]/[sS][yY][sS][pP][rR][eE][pP].[xX][mM][lL]
Sep 20 14:07:43 oestest CIFS[6486]: INFO : CODIR: Registering batch oplock for file /media/nss/USERS/baarsd/PreAgentPkg_AgentComplete.exe
Sep 20 14:07:43 oestest CIFS[6486]: INFO : CODIR: Registering batch oplock for file /media/nss/USERS/baarsd/sysprep.xml
Sep 20 14:07:44 oestest CIFS[6486]: WARNING: CODIR: Error 0,err:-4
Sep 20 14:07:44 oestest CIFS[6486]: INFO : UTILS: SetFileDisposition : File is set to be deleted
Sep 20 14:07:44 oestest CIFS[6486]: WARNING: CODIR: Error 0,err:-4
Sep 20 14:07:44 oestest CIFS[6486]: INFO : UTILS: SetFileDisposition : File is set to be deleted
Sep 20 14:07:44 oestest CIFS[6486]: ERROR: CODIR: Failed to write into file /media/nss/USERS/baarsd/PreAgentPkg_AgentComplete.exe.
Sep 20 14:07:44 oestest CIFS[6486]: ERROR: SMB: linux error code is 9 cifs error code is 255
Sep 20 14:07:44 oestest CIFS[6486]: ERROR: SMB: cifs failed to write X , file handle : 24 system error 9
Sep 20 14:07:44 oestest CIFS[6486]: ERROR: CODIR: Failed to write into file /media/nss/USERS/baarsd/sysprep.xml.
Sep 20 14:07:44 oestest CIFS[6486]: ERROR: SMB: linux error code is 9 cifs error code is 255
Sep 20 14:07:44 oestest CIFS[6486]: ERROR: SMB: cifs failed to write X , file handle : 26 system error 9
Sep 20 14:07:44 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/PreAgentPkg_AgentComplete.exe
Sep 20 14:07:44 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/sysprep.xml
Sep 20 14:07:44 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/PreAgentPkg_AgentComplete.exe
Sep 20 14:07:44 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/sysprep.xml
Sep 20 14:07:45 oestest CIFS[6486]: INFO : CODIR: Registering batch oplock for file /media/nss/USERS/baarsd/zcm_disable_user_authentication.reg
Sep 20 14:07:45 oestest CIFS[6486]: INFO : CODIR: Registering batch oplock for file /media/nss/USERS/baarsd/temp.xlsx
Sep 20 14:07:45 oestest CIFS[6486]: WARNING: CODIR: Error 0,err:-4
Sep 20 14:07:45 oestest CIFS[6486]: INFO : UTILS: SetFileDisposition : File is set to be deleted
4:07:45 oestest CIFS[6486]: WARNING: CODIR: Error 0,err:-4
Sep 20 14:07:45 oestest CIFS[6486]: INFO : UTILS: SetFileDisposition : File is set to be deleted
Sep 20 14:07:45 oestest CIFS[6486]: ERROR: CODIR: Failed to write into file /media/nss/USERS/baarsd/zcm_disable_user_authentication.reg.
Sep 20 14:07:45 oestest CIFS[6486]: ERROR: SMB: linux error code is 9 cifs error code is 255
Sep 20 14:07:45 oestest CIFS[6486]: ERROR: SMB: cifs failed to write X , file handle : 24 system error 9
Sep 20 14:07:46 oestest CIFS[6486]: ERROR: CODIR: Failed to write into file /media/nss/USERS/baarsd/temp.xlsx.
Sep 20 14:07:46 oestest CIFS[6486]: ERROR: SMB: linux error code is 9 cifs error code is 255
Sep 20 14:07:46 oestest CIFS[6486]: ERROR: SMB: cifs failed to write X , file handle : 26 system error 9
Sep 20 14:07:46 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/zcm_disable_user_authentication.reg
Sep 20 14:07:46 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/temp.xlsx
Sep 20 14:07:46 oestest CIFS[6486]: WARNING: UTILS: Failed to resolve file handle with for file /media/nss/USERS/baarsd/zcm_disable_user_authentication.reg
Sep 20 14:07:46 oestest CIFS[6486]: WARNING: UTILS: Failed to resol

has anyone else seen something like this, and if so were you able to fix it?

Thanks!
Dylan