According to the documentation, "smbclient //machine/share password -U user -N" should work the same as "smbclient //machine/share password -U user". However, the former fails with "tree connect failed: NT_STATUS_ACCESS_DENIED" while the latter connects and gives you a prompt.
Created attachment 1534 [details] Patch to make -N work as documented Here's a quick patch
(In reply to comment #1) > Patch to make -N work as documented This patch breaks smbclient tar file creation with smbclient //server/share -A server.auth -Tc /tmp/server-share.tar As described in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176649
This tar file creation breaking is caused by bug in "-T" option arguments parsing - as described in bug 3974.
Should be fixed by e4474ac0a540c56548b4d15e38f2e234455e19b6 in Samba 4.15 as we moved to a new common parser.