I have been trying to help Luca on the QNAP forum since I have the same NAS. It reports smbd version 4.7.12. I have not had any issues, but I am in a Mac/Linux environment only. In Luca?s case, he is using NFS (not sure what version) on his Mac and I initially thought that maybe it was initiating change notifications somehow. Possible?
I am using NFSv3> On 12 May 2020, at 00:07, torch via samba <samba at lists.samba.org> wrote: > > I have been trying to help Luca on the QNAP forum since I have the same NAS. It reports smbd version 4.7.12. I have not had any issues, but I am in a Mac/Linux environment only. > In Luca?s case, he is using NFS (not sure what version) on his Mac and I initially thought that maybe it was initiating change notifications somehow. Possible? > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
I have followed torch's help and I have changed the smb.conf. Instead of notify change = no I have put kernel notify change = no After restarting samba, now all the Windows programs connect nicely. File.app, instead, still behaves oddly: I connect to the server and see all my folders; I click on one of them, and I see three folders, but after a second, the folders vanish and then after a second, the three folders appear again, and then they go away, and then they reappear, and so on. Time ago, this was working properly. I also connected to the NAS with FileExolorer and everything was OK instead Still I can't understand what's going on.... -----Original Message----- From: samba <samba-bounces at lists.samba.org> On Behalf Of torch via samba Sent: marted? 12 maggio 2020 00:08 To: Samba List <samba at lists.samba.org> Subject: Re: [Samba] Clients send tons of Notiftication requests I have been trying to help Luca on the QNAP forum since I have the same NAS. It reports smbd version 4.7.12. I have not had any issues, but I am in a Mac/Linux environment only. In Luca?s case, he is using NFS (not sure what version) on his Mac and I initially thought that maybe it was initiating change notifications somehow. Possible? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
L.P.H. van Belle
2020-May-12 12:34 UTC
[Samba] Clients send tons of Notiftication requests
What is "conn log" in smb.conf?? I can not find it in manual of smb.conf (note, i used 4.12 its manual) I suggest, cleanup your config first. It might help. @Rowland, you know what "conn log" is? Or someone else.. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Luca > Marceglia via samba > Verzonden: dinsdag 12 mei 2020 14:23 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Clients send tons of Notiftication requests > > I have followed torch's help and I have changed the smb.conf. > Instead of notify change = no I have put > > kernel notify change = no > > After restarting samba, now all the Windows programs connect nicely. > File.app, instead, still behaves oddly: > I connect to the server and see all my folders; I click on > one of them, and I see three folders, but after a second, the > folders vanish and then after a second, the three folders > appear again, and then they go away, and then they reappear, > and so on. Time ago, this was working properly. > > I also connected to the NAS with FileExolorer and everything > was OK instead > > Still I can't understand what's going on.... > > -----Original Message----- > From: samba <samba-bounces at lists.samba.org> On Behalf Of > torch via samba > Sent: marted? 12 maggio 2020 00:08 > To: Samba List <samba at lists.samba.org> > Subject: Re: [Samba] Clients send tons of Notiftication requests > > I have been trying to help Luca on the QNAP forum since I > have the same NAS. It reports smbd version 4.7.12. I have > not had any issues, but I am in a Mac/Linux environment only. > In Luca?s case, he is using NFS (not sure what version) on > his Mac and I initially thought that maybe it was initiating > change notifications somehow. Possible? > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
On 12/05/2020 13:34, L.P.H. van Belle via samba wrote:> What is "conn log" in smb.conf?? > > I can not find it in manual of smb.conf > (note, i used 4.12 its manual) > > I suggest, cleanup your config first. > It might help. > @Rowland, you know what "conn log" is? > Or someone else..It is a qnap smb.conf, they have their own version of Samba, 'conn log' is evidently one of their additions. From what I have heard about qnap (and synology, come to that), it is my opinion that the best thing you can do with them is, unplug them, place on the floor and hit them hard with a sledgehammer, that will fix them :D Rowland
L.P.H. van Belle
2020-May-12 12:48 UTC
[Samba] Clients send tons of Notiftication requests
I would format it and install : https://www.openmediavault.org/ But your is an fun option yes.. ;-) Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland penny via samba > Verzonden: dinsdag 12 mei 2020 14:45 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Clients send tons of Notiftication requests > > On 12/05/2020 13:34, L.P.H. van Belle via samba wrote: > > What is "conn log" in smb.conf?? > > > > I can not find it in manual of smb.conf > > (note, i used 4.12 its manual) > > > > I suggest, cleanup your config first. > > It might help. > > @Rowland, you know what "conn log" is? > > Or someone else.. > > It is a qnap smb.conf, they have their own version of Samba, > 'conn log' > is evidently one of their additions. > > From what I have heard about qnap (and synology, come to > that), it is > my opinion that the best thing you can do with them is, unplug them, > place on the floor and hit them hard with a sledgehammer, > that will fix > them :D > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
I have found something interesting: I have a username called luca (and I connect to the samba share with that username). If I configure the share with read-only access for luca, then everything is fine; if I configure the share with read-write access for luca, then file.app starts continuously refreshing the folders (as they appear and disappear continuously). Since I am using NFS and need to play with access priorities, I created two accounts on my NAS with the same name of the accounts I have on my Mac. But since uid and gid were different, I changed them on the NAS. Now, I did not know that smbpasswd has its uid as well and I did not change them. So luca had a different uid in the smbpasswd file. I have edited it and now luca has the same uid, but probably I need to delete some chaches? I see a lot of .tdb files in cache/ and locks/ folders but I do not know if I am safe to delete them Maybe this can out you on the right way to understand where my issue is? I did the above months ago and did not notice anything, but maybe after rebooting the NAS it got applied to Samba as well? Dunno -----Original Message----- From: samba <samba-bounces at lists.samba.org> On Behalf Of torch via samba Sent: marted? 12 maggio 2020 00:08 To: Samba List <samba at lists.samba.org> Subject: Re: [Samba] Clients send tons of Notiftication requests I have been trying to help Luca on the QNAP forum since I have the same NAS. It reports smbd version 4.7.12. I have not had any issues, but I am in a Mac/Linux environment only. In Luca?s case, he is using NFS (not sure what version) on his Mac and I initially thought that maybe it was initiating change notifications somehow. Possible? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba