s3: libsmbclient: Ensure SMBC_readdir_ctx() also updates the readdirplus pointers.
commitb47a9b9301f6af3ae2e81b02ef5e19ce8b26e64b
authorJeremy Allison <jra@samba.org>
Mon, 26 Aug 2019 16:54:06 +0000 (26 09:54 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 18 Sep 2019 08:44:32 +0000 (18 08:44 +0000)
treed733380e928fa2ed846075380e71a29342e73352
parente3f51924971c9389659ec7b89c7a581e3315bda4
s3: libsmbclient: Ensure SMBC_readdir_ctx() also updates the readdirplus pointers.

If we are returning file entries, we
have a duplicate list in dirplus.

Update dirplus_next also so readdir and
readdirplus are kept in sync.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14094

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Böhme <slow@samba.org>
(cherry picked from commit 4bca8e097f5a909c628daa4dbfa932ddc1725ebc)
source3/libsmb/libsmb_dir.c