A workaround is to confuse smbclient by setting KRB5CCNAME to an unknown file
KRB5CCNAME=FILE:/none-existing-file I just strumbled on a note from Alexander Bokovoy "... and Samba on Debian/Ubuntu is compiled with Heimdal Kerberos ... Heimdal has no support for KEYRING type" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1892145 Title: smbclient cannot connect anonymously in Kerberos context (freeipa) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1892145/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs