search for: openat_pathref_fsp_lcomp

Displaying 1 result from an estimated 1 matches for "openat_pathref_fsp_lcomp".

2024 Jun 06
1
missing msdfs referrals from samba directory listing: wrong order in smbd_dirptr_get_entry()?
...laining they don't see their dirs. I'm certain nothing had changed since that time, - exactly the same samba version and the same config, but we had a couple of reboots in between. Reading source3/smbd/dir.c:smbd_dirptr_get_entry() I can't see where it can work, ever. Because it does openat_pathref_fsp_lcomp() first, which never works on a symlink not pointing to a real file (which is how msdfs symlink looks like), that one return !NT_STATUS_OK() (NT_STATUS_OBJECT_NAME_NOT_FOUND in the above debug log), and whole thing ends up in there. is_msdfs_link() is checked later. If I move is_msdfs_link() chec...