IBM Support

IBM AIX: smbc fails to mount a share due to krb5_init_context error 74

Troubleshooting


Problem

The AIX SMB client fails to mount an SMB share.

Symptom

Syslog logs these user.debug error messages.
user:debug smbcd: smbfsd_kerberos_begin: krb5_init_context = 74
user:debug smbcd: smbfsd_kinit:smbfsd_kerberos_begin = 74
user:debug smbcd: smbfsd_perform_krb_authentication: smbfsd_kinit = 74
user:debug smbcd: smbfs2gssdkinit: smbfsd_perform_krb_authentication = 74
user:debug smbcd: smbfs_gssAuthenticate: smbfs2gssdkinit 0 74

Cause

The AIX Kerberos library cannot find the /etc/krb5/krb5.conf file because the symbolic link /etc/krb5.conf is missing.

Resolving The Problem

Create or replace /etc/krb5.conf with a symbolic link to /etc/krb5/krb5.conf.
ln -sf /etc/krb5/krb5.conf /etc/krb5.conf

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cvx1AAA","label":"Communication Applications-\u003ECIFS\/SMB"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
03 October 2024

UID

ibm17172190