On 21/10/16 10:52, Ralph Böhme wrote:> On Fri, Oct 21, 2016 at 10:30:46AM +0100, Alex Crow via samba wrote: >> Interestingly I have a setup here for testing for rollout of S4 AD. The file >> servers are in an AD domain and are running Sernet 4.4.5, so one version >> older than production. > maybe it's related to bug 12005 that was fixed in 4.4.6? Can you test > with attached patch that reverts the change? > > Cheerio! > -slowHi Ralph, Some more tests I've done indicate that locking is only working between 2 of my 6 VIPs (one per host). If I open a file on either of these two "working" hosts, it's locked on the other working one, but not on any others. Opening a file on any of the "non-working" hosts means the file is not locked anywhere else. On my test setup with only two nodes it seems to work normally with both 4.4.5 and 4.4.6. All hosts have the same smb.conf. Cheers Alex -- This message is intended only for the addressee and may contain confidential information. Unless you are that person, you may not disclose its contents or use it in any way and are requested to delete the message along with any attachments and notify us immediately. This email is not intended to, nor should it be taken to, constitute advice. The information provided is correct to our knowledge & belief and must not be used as a substitute for obtaining tax, regulatory, investment, legal or any other appropriate advice. "Transact" is operated by Integrated Financial Arrangements Ltd. 29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300. (Registered office: as above; Registered in England and Wales under number: 3727592). Authorised and regulated by the Financial Conduct Authority (entered on the Financial Services Register; no. 190856).
On 21/10/16 12:07, Alex Crow via samba wrote:> On 21/10/16 10:52, Ralph Böhme wrote: >> On Fri, Oct 21, 2016 at 10:30:46AM +0100, Alex Crow via samba wrote: >>> Interestingly I have a setup here for testing for rollout of S4 AD. >>> The file >>> servers are in an AD domain and are running Sernet 4.4.5, so one >>> version >>> older than production. >> maybe it's related to bug 12005 that was fixed in 4.4.6? Can you test >> with attached patch that reverts the change? >> >> Cheerio! >> -slow > > Hi Ralph, > > Some more tests I've done indicate that locking is only working > between 2 of my 6 VIPs (one per host). If I open a file on either of > these two "working" hosts, it's locked on the other working one, but > not on any others. Opening a file on any of the "non-working" hosts > means the file is not locked anywhere else. > > On my test setup with only two nodes it seems to work normally with > both 4.4.5 and 4.4.6. > > All hosts have the same smb.conf. > > Cheers > > AlexI've now managed to replicate the error on my test setup. I added a third host and all hell broke loose - no locking at all when opening Excel files apart from same-host. It seemed fine with two. I then downgraded to 4.4.5 and the problem persisted. So it cannot be a regression from that patch. Regards, Alex -- This message is intended only for the addressee and may contain confidential information. Unless you are that person, you may not disclose its contents or use it in any way and are requested to delete the message along with any attachments and notify us immediately. This email is not intended to, nor should it be taken to, constitute advice. The information provided is correct to our knowledge & belief and must not be used as a substitute for obtaining tax, regulatory, investment, legal or any other appropriate advice. "Transact" is operated by Integrated Financial Arrangements Ltd. 29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300. (Registered office: as above; Registered in England and Wales under number: 3727592). Authorised and regulated by the Financial Conduct Authority (entered on the Financial Services Register; no. 190856).
> I've now managed to replicate the error on my test setup. I added a > third host and all hell broke loose - no locking at all when opening > Excel files apart from same-host. It seemed fine with two. > > I then downgraded to 4.4.5 and the problem persisted. So it cannot be > a regression from that patch. > > Regards, > > Alex >Here you go: Locked files: Pid Uid DenyMode Access R/W Oplock SharePath Name Time -------------------------------------------------------------------------------------------------- 1:11489 1046 DENY_WRITE 0x12019f RDWR NONE /mfs/samba/drive_v jmi/Corporate Accounting/ISL Ltd Accounts/2016/1609/201609 213_ ISL Balance sheet variance analysis.xls Fri Oct 21 17:27:22 2016 0:9375 1046 DENY_WRITE 0x12019f RDWR NONE /mfs/samba/drive_v jmi/Corporate Accounting/ISL Ltd Accounts/2016/1609/201609 213_ ISL Balance sheet variance analysis.xls Fri Oct 21 17:26:38 2016 This is what I'm seeing. I could open the same file r/w off two different hosts. Both seem to have a DENY_WRITE lock - which is surely supposed to be impossible? This is on 4.4.5 with only two hosts operational. Alex -- This message is intended only for the addressee and may contain confidential information. Unless you are that person, you may not disclose its contents or use it in any way and are requested to delete the message along with any attachments and notify us immediately. This email is not intended to, nor should it be taken to, constitute advice. The information provided is correct to our knowledge & belief and must not be used as a substitute for obtaining tax, regulatory, investment, legal or any other appropriate advice. "Transact" is operated by Integrated Financial Arrangements Ltd. 29 Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608 5300. (Registered office: as above; Registered in England and Wales under number: 3727592). Authorised and regulated by the Financial Conduct Authority (entered on the Financial Services Register; no. 190856).