Reproducable but only with GE ENMAC software. I'm contracting with a utilities company that uses General Electric's ENMAC software. This runs on RHEL4 and makes use of Samba but it only works with Samba 1.9.18p10 compiled with this patch: --- diff -Naur samba-1.9.18p10/source/includes.h samba-1.9.18p10_good/source/includes.h --- samba-1.9.18p10/source/includes.h 1998-08-20 07:41:46.000000000 +0800 +++ samba-1.9.18p10_good/source/includes.h 2008-01-11 10:39:49.000000000 +0900 @@ -1176,7 +1177,7 @@ #include <sys/ipc.h> #include <sys/sem.h> #include <sys/shm.h> -#ifdef NO_SEMUN +#ifdef _SEM_SEMUN_UNDEFINED union semun { int val; struct semid_ds *buf; --- As I'm trying to streamline the building of these servers, I thought I'd try upgrading Samba to a reasonably current version. I'm trying with latest version of Samba shipped by RedHat (3.0.33-0.17.el4), also tested with Samba v3.3.4. When an edit is made and then saved in the application, the application responds with 'Failed to open file for writing' and on the Samba server a zero length file of the correct name appears. This works just fine with the patched Samba 1.9.18p10. CC
Can you attach a debug level 10 log from smbd showing the problem ? If you could also add your smb.conf, and let us know what filename is having the problem that would also help a lot. Thanks, Jeremy.
Created attachment 4233 [details] smbd.log file
Created attachment 4234 [details] smb.conf
File name is random but this time was '/datafiles/misc/tmp/C000000ddFILE'. smb.conf attached log.smbd attached CC
Created attachment 4235 [details] log.smb.old Deprecates log.smbd
Created attachment 4236 [details] log.ws02d2 (gzipped) Log file of working transaction for file C00000100FILE on Samba v1.9.18p10.
bugzilla is made for bug reports mainly, to solve issues with that GE software you should try getting in contact with one of those companies offering commercial support: https://www.samba.org/samba/support/globalsupport.html