From Anand K. Mistry <amistry@google.com> > It's not possible to use telldir/seekdir to seek within a directory when > using readdirplus. smbc_readdirplus() has the comment: > "Works similar as smbc_readdir but returns more information about file." > But doesn't mention this incompatibility.
I have a fix for this I'm working on. Can you test if I post it here ? Thanks, Jeremy.
Created attachment 15423 [details] git-am fix for master. Not yet complete, I need to add tests for this.
Comment on attachment 15423 [details] git-am fix for master. Patch is buggy. Please ignore for now (testing found the problem :-).
Created attachment 15430 [details] git-am fix for master. Includes new readdirplus_seek test showing all is consistent across all directory access methods.
Created attachment 15431 [details] git-am fix for master
Comment on attachment 15431 [details] git-am fix for master Now with actual code included :-).
Reported (Anand K. Mistry <amistry@google.com>) reports that the patch fixes his use case. Pushed to master with Ralph's review. Once it's in I'll do the back-ports.
Created attachment 15453 [details] git-am fix for 4.11, 4.10. Cherry-pick from master. Applies cleanly to 4.11.rcNext, 4.10.next.
Created attachment 15454 [details] git-am backport for 4.9.next. Back-port for 4.9.next.
Created attachment 15458 [details] Updated git-am fix for 4.11, 4.10. Includes Volker's fix for the talloc return check error in the test code (now in autobuild).
Created attachment 15459 [details] Updated git-am backport for 4.9.next. Updated to include Volker's talloc check fix in the test code.
Looks good for me 4.9 is out of support now. Will there be a last release?
Re-assigning to Karolin for inclusion in whatever releases are still current :-).
(In reply to Andreas Schneider from comment #12) Yes, there are a few fixes available and I think we should (as usual) ship a last 4.9 maintenance release. Samba 4.9.14 is scheduled for October 22.
Pushed to autobuild-v4-{11,10,9}-test.
(In reply to Karolin Seeger from comment #15) Pushed to all branches. Closing out bug report. Thanks!