Smbclient command fails with NT_STATUS_OBJECT_PATH_NOT_FOUND error when connecting to smb server with DFS namespace. This is seen when DFS is configured in domain controller. If we use the direct file path(IP/FQDN) for the same samba server and same path, this works as expected. Won't be able to provide complete logs here. Some pointers from packet capture: 1. we see some DNS TXT packets quering for _kerberos.<hostname>. These are responded with DNS packets with error "No such name TXT _kerberos.<hostname>" 2. Following the DNS packets we also see the KRB5 "TGS-REQ" packet fails with KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN 3. Finally SMB2 "Session Setup Request" fails with "KRB Error: KRB5KRB_AP_ERR_MODIFIED". Post this the smb connection fails with OBJECT_PATH_NOT_FOUND error. Let us know if you need more details here...
Can you give more info about the exact smbclient version and the server you're connecting to ? At some point we may need sanitized logs. If your smbclient is not current, I'd appreciate you testing with the latest (4.18.0) smbclient first, as I put some fixes into the smbclient/libsmbclient code w.r.t. DFS in this verison.
Hi, We are using smbclient version 4.14.12.
And what server ?