Comment 0 for bug 1892145

Revision history for this message
Kees Bakker (keestux) wrote : smbclient cannot connect anonymously in Kerberos context (freeipa)

It is not possible anymore to connect anonymously to a Samba server, if there is a Kerberos environment. It does not matter if there is a valid Kerberos ticket or not. I'm using FreeIPA.

This is with smbclient 2:4.11.6+dfsg-0ubuntu1.4
For example,

$ smbclient -L '//dist.ghs.nl/space' -N
Failed to resolve credential cache 'KEYRING:persistent:60001'! (Unknown credential cache type)
free(): double free detected in tcache 2
Aborted (core dumped)

On Ubuntu 18.04, with smbclient 2:4.7.6+dfsg~ubuntu-0ubuntu2.18 it works as expected (albeit with many messages about failing krb5_init_context and smb_krb5_context_init_basic)

The combination Samba + FreeIPA + Ubuntu has never worked since I started using FreeIPA a few years ago. But anonymous access to a Samba server did work, until I switched to Ubuntu 20.04.