Samba 4.12.10-1 cannot display/read msdfs links - generating 'math routine' errors reading msdfs links.
Appears to be same error that was fixed 10/25/2018 in 4.6.16 "
uploaded Samba-4.6.16 which addresses the latest CVEs and the msdfs links issue"
ref thread from
Sept 2018 samba debug log message:
[2021/02/08 14:51:05.766328, 6, pid=11075786, effective(50233, 401), real(0, 0)] ../../source3/smbd/dir.c:820(smbd_dirptr_get_entry)
smbd_dirptr_get_entry: dirptr 0x302f7e48 now at offset 129
[2021/02/08 14:51:05.766383, 0, pid=11075786, effective(50233, 401), real(0, 0), class=vfs] ../../source3/modules/vfs_default.c:469(vfswrap_read_dfs_pathat)
vfswrap_read_dfs_pathat: Error reading msdfs link share1: A return value of a math subroutine is not within machine precision.
[2021/02/08 14:51:05.766535, 5, pid=11075786, effective(50233, 401), real(0, 0)] ../../source3/smbd/trans2.c:1793(smbd_dirptr_lanman2_mode_fn)
smbd_dirptr_lanman2_mode_fn: Couldn't stat [share1] (A file or directory in the path name does not exist.)
samba.conf settings:
[global]
host msdfs = yes
[dfs]
comment = Data automount directory msdfs
path = /var/lib/server-74/data
browseable = Yes
msdfs root = yes
read only = No
> ls -l /var/lib/server-74/data
lrwxrwxrwx 1 root system 46 May 26 2020 share1 -> msdfs:server.corp.domainxxxx.com\data_share1
Thanks
------------------------------
STEVE ROGERS
------------------------------