s3: libsmbclient: Ensure SMBC_readdirplus_ctx() also updates the readdir pointers.
commit3d82b7d11cd7b78adc6b3642e64e3a8f251de869
authorJeremy Allison <jra@samba.org>
Mon, 26 Aug 2019 17:02:47 +0000 (26 10:02 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 3 Sep 2019 16:15:36 +0000 (3 16:15 +0000)
tree9634c5c8e4b92b32c9af300e0c288cb620be8d8b
parent4bca8e097f5a909c628daa4dbfa932ddc1725ebc
s3: libsmbclient: Ensure SMBC_readdirplus_ctx() also updates the readdir pointers.

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

Update dir_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>
source3/libsmb/libsmb_dir.c