]> Gentwo Git Trees - linux/.git/commit
smb: client: Add tracepoint for krb5 auth
authorPaulo Alcantara <pc@manguebit.org>
Thu, 4 Dec 2025 21:39:14 +0000 (18:39 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 5 Dec 2025 23:40:42 +0000 (17:40 -0600)
commit7ad785927d9eb348adb381d168ed73d0dd3c7670
tree4e0702d2398c6504cf1dc3aa103ca75b73000ff0
parenta8fce7c807b13be5ccefe8f93528c255d4669d73
smb: client: Add tracepoint for krb5 auth

Add tracepoint to help debugging krb5 auth failures.

Example:

$ trace-cmd record -e smb3_kerberos_auth
$ mount.cifs ...
$ trace-cmd report
mount.cifs-1667 [003] .....  5810.668549: smb3_kerberos_auth: vers=2
host=w22-dc1.zelda.test ip=192.168.124.30:445 sec=krb5 uid=0 cruid=0
user=root pid=1667 upcall_target=app err=-126

Signed-off-by: Paulo Alcantara (Red Hat) <pc@manguebit.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Cc: Pierguido Lambri <plambri@redhat.com>
Cc: linux-cifs@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifs_spnego.c
fs/smb/client/smb2pdu.c
fs/smb/client/trace.c
fs/smb/client/trace.h