← Back to team overview

enterprise-support team mailing list archive

[Bug 1892145] [NEW] smbclient cannot connect anonymously in Kerberos context (freeipa)

 

Public bug reported:

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.

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
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


Follow ups