Manu Shamanna
2024-Oct-25 10:18 UTC
[Samba] Could not find a suitable mechtype in NEG_TOKEN_INIT error in libsmbclient 4.19.4
> gensec_spnego_client_negTokenInit_step: Could not find a suitable mechtype > in NEG_TOKEN_INITTurns out that this error comes up when gnutls enforces fips mode. Behaviour of gnutls when fips mode is enabled is different in Centos7 vs Almalinux 9.4. With updated gnutls, samba fails when fips mode is enabled. Workaround is to use the GNUTLS_FORCE_FIPS_MODE environment variable to set/unset fips mode for gnutls. With this turned off, it works fine. Regards, Manu
Apparently Analagous Threads
- Could not find a suitable mechtype in NEG_TOKEN_INIT error in libsmbclient 4.19.4
- Samba Kerberos issue just cropped up with a node as of Samba 4.19.1
- smbclient ignores configured kerberos ccache when using krb5-user on ubuntu/debian
- smbclient ignores configured kerberos ccache when using krb5-user on ubuntu/debian
- Unable to join to a SAMBA4 domain