When a SMB server returns NT_STATUS_OBJECT_PATH_NOT_FOUND, libsmbclient set errorno to EINVAL. I think it must be ENOENT.
Created attachment 2923 [details] Proposed patch for SAMBA_3_2_0
pushed with 41e0768 -- thanks! If you want to show up in "git blame" in the future you might want to add patches in git format. Volker