I have the following problem. I run samba on a HP-UX 11 system (L1000). 1)I have a file on UNIX on /shdir/prova3/silvana.txt with the following content: AAAAAAAAA. 2) I delete and recreate the file with the following instructions: rm /shdir/prova3/silvana.txt echo BBBBBBBBBB > shdir/prova3/silvana.txt 3) I try to see the file on a Windows98 client but I see the old versione of the file: I see AAAAAAAAA. On windows95 client I see the new version of the content BBBBBBBBBB Coud you contact me via e-mail? Configuration and versione in the att. files. Thanks in advance. Silvana Bortolin -------------- next part -------------- # Samba config file created using SWAT # from pc95_55 (192.0.0.155) # Date: 2001/07/20 15:18:48 # Global parameters [global] workgroup = PROVA netbios name = PROVA1 server string = Samba Server security = DOMAIN encrypt passwords = Yes min password length = 2 null passwords = Yes password server = NT_SERVER username map = /etc/username.map syslog = 0 log file = /var/opt/samba/log.%m max log size = 1000 max open files = 256 printcap name = /etc/printcap.samba local master = No writeable = Yes create mask = 0700 directory mask = 0700 short preserve case = No dos filetime resolution = Yes [tmp] path = /tmp [Depots] comment = Software Depots path = /dc/Depots [Scambio] comment = Dir per Scambio Files path = /dc/scambio force user = smbnull [ShdirEnr] comment = Dir condivisa ex NFS path = /shdir/enr force user = smbnull writeable = Yes [Shdirprova3] comment = Dir lavoro x prova3 path = /shdir/prova3 force user = smbnull writeable = Yes create mask = 0766 [ShdirVend_Italia] comment = Dir lavoro x CommercialeItalia path = /shdir/vend_italia force user = smbnull writeable = Yes create mask = 0766 [printers] path = /tmp printable = Yes -------------- next part -------------- A non-text attachment was scrubbed... Name: samba.lsm Type: application/octet-stream Size: 950 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20020718/6164d9bb/samba.obj
What happens when you alter the file via samba? Are oplocks involved? Joel On Thu, Jul 18, 2002 at 01:16:39PM +0200, Silvana Bortolin wrote:> I have the following problem. > I run samba on a HP-UX 11 system (L1000). > > 1)I have a file on UNIX on /shdir/prova3/silvana.txt with the following > content: AAAAAAAAA. > > 2) I delete and recreate the file with the following instructions: > rm /shdir/prova3/silvana.txt > echo BBBBBBBBBB > shdir/prova3/silvana.txt > > 3) I try to see the file on a Windows98 client but I see the old versione of > the file: I see AAAAAAAAA. > On windows95 client I see the new version of the content BBBBBBBBBB > > Coud you contact me via e-mail? > Configuration and versione in the att. files. > > Thanks in advance. > Silvana Bortolin> # Samba config file created using SWAT > # from pc95_55 (192.0.0.155) > # Date: 2001/07/20 15:18:48 > > # Global parameters > [global] > workgroup = PROVA > netbios name = PROVA1 > server string = Samba Server > security = DOMAIN > encrypt passwords = Yes > min password length = 2 > null passwords = Yes > password server = NT_SERVER > username map = /etc/username.map > syslog = 0 > log file = /var/opt/samba/log.%m > max log size = 1000 > max open files = 256 > printcap name = /etc/printcap.samba > local master = No > writeable = Yes > create mask = 0700 > directory mask = 0700 > short preserve case = No > dos filetime resolution = Yes > > [tmp] > path = /tmp > > [Depots] > comment = Software Depots > path = /dc/Depots > > [Scambio] > comment = Dir per Scambio Files > path = /dc/scambio > force user = smbnull > > [ShdirEnr] > comment = Dir condivisa ex NFS > path = /shdir/enr > force user = smbnull > writeable = Yes > > [Shdirprova3] > comment = Dir lavoro x prova3 > path = /shdir/prova3 > force user = smbnull > writeable = Yes > create mask = 0766 > > [ShdirVend_Italia] > comment = Dir lavoro x CommercialeItalia > path = /shdir/vend_italia > force user = smbnull > writeable = Yes > create mask = 0766 > > [printers] > path = /tmp > printable = Yes
Could not reproduce with: Win98 SE Samba 2.2.4 Redhat 7.2 Oplocks on (with kernel oplocks = yes) OR oplocks off HP-UX specific issue? (I don't think it's a win98 problem) Adam At 01:16 PM 7/18/02 +0200, Silvana Bortolin wrote:>I have the following problem. >I run samba on a HP-UX 11 system (L1000). > >1)I have a file on UNIX on /shdir/prova3/silvana.txt with the following >content: AAAAAAAAA. > >2) I delete and recreate the file with the following instructions: >rm /shdir/prova3/silvana.txt >echo BBBBBBBBBB > shdir/prova3/silvana.txt > >3) I try to see the file on a Windows98 client but I see the old versione of >the file: I see AAAAAAAAA. >On windows95 client I see the new version of the content BBBBBBBBBB > >Coud you contact me via e-mail? >Configuration and versione in the att. files. > >Thanks in advance. >Silvana Bortolin >