Found KRB5_TRACE
, but that doesn't add logs anything. I think the issue is with NFSD on OPENWRT, as I am able to mount export from another server and all 3 machines have the same /etc/krb5.conf
and klist has nfs/nfs.example.com@EXAMPLE.COM so it doesn't seem to be krb issue.
Here is mount with KRB5_TRACE enabled.
root@edge:~# env KRB5_TRACE=/dev/stdout mount -v -t nfs -o vers=4.2,sec=krb5 nfs.example.com:/ /mnt/mounted
mount.nfs: timeout set for Wed Dec 25 00:18:48 2024
mount.nfs: trying text-based options 'vers=4.2,sec=krb5,addr=192.168.20.1,clientaddr=192.168.20.50'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting nfs.example.com:/
klist looks good
root@edge:~# klist /tmp/krb5ccmachine_EXAMPLE.COM
Ticket cache: FILE:/tmp/krb5ccmachine_EXAMPLE.COM
Default principal: root/edge@EXAMPLE.COM
Valid starting Expires Service principal
12/24/2024 22:39:30 12/25/2024 22:39:30 krbtgt/EXAMPLE.COM@EXAMPLE.COM
12/24/2024 22:39:30 12/25/2024 22:39:30 nfs/server.example.com@EXAMPLE.COM
12/25/2024 00:16:48 12/25/2024 22:39:30 nfs/nfs.example.com@EXAMPLE.COM
complete logs
root@NFS# tail -f -n0 /opt/var/log/krb5/*
==> /opt/var/log/krb5/krb5-trace.log <==
[11300] 1735103808.700166: AP-REQ ticket: root/edge@EXAMPLE.COM -> krbtgt/EXAMPLE.COM@EXAMPLE.COM, session key aes256-cts/591B
[11300] 1735103808.700167: Negotiated enctype based on authenticator: aes256-cts
[11300] 1735103808.700168: Authenticator contains subkey: aes256-cts/95DB
==> /opt/var/log/krb5/krb5kdc.log <==
Dec 25 00:16:48 R3-LYN krb5kdc[11300](info): TGS_REQ (2 etypes {aes256-cts-hmac-sha1-96(18), aes128-cts-hmac-sha1-96(17)}) 192.168.20.50: ISSUE: authtime 1735097970, etypes {rep=aes256-cts-hmac-sha1-96(18), tkt=aes256-cts-hmac-sha1-96(18), ses=aes256-cts-hmac-sha1-96(18)}, root/edge@EXAMPLE.COM for nfs/nfs.example.com@EXAMPLE.COM
root@edge# journalctl -f
edge rpc.gssd[2361]: watchdog: sleeping 30 secs
edge rpc.gssd[2361]: inotify event for topdir (nfs) - ev->wd (8) ev->name (clnt45) ev->mask (0x40000100)
edge rpc.gssd[2361]: creating client nfs/clnt45
edge rpc.gssd[2361]: scanning client nfs/clnt45
edge rpc.gssd[2361]: inotify event for clntdir (nfs/clnt45) - ev->wd (80) ev->name (idmap) ev->mask (0x00000100)
edge rpc.gssd[2361]:
handle_gssd_upcall(0x72fb43b71740): 'mech=krb5 uid=0 service=* enctypes=20,19,26,25,18,17' (nfs/clnt45)
edge rpc.gssd[2361]: start_upcall_thread(0x72fb43b71740): created thread id 0x72fb33e006c0
edge rpc.gssd[2361]: krb5_use_machine_creds(0x72fb33e006c0): uid 0 tgtname (null)
edge rpc.gssd[2361]: No key table entry found for edge$@EXAMPLE.COM while getting keytab entry for 'edge$@EXAMPLE.COM'
edge rpc.gssd[2361]: No key table entry found for EDGE$@EXAMPLE.COM while getting keytab entry for 'EDGE$@EXAMPLE.COM'
edge rpc.gssd[2361]: find_keytab_entry(0x72fb33e006c0): Success getting keytab entry for 'root/edge@EXAMPLE.COM'
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb33e006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb33e006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb33e006c0): creating tcp client for server nfs.example.com
edge rpc.gssd[2361]: DEBUG: port already set to 2049
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb33e006c0): creating context with server nfs@nfs.example.com
edge rpc.gssd[2361]: in authgss_create_default()
edge rpc.gssd[2361]: in authgss_create()
edge rpc.gssd[2361]: authgss_create: name is 0x72fb340a5b80
edge rpc.gssd[2361]: authgss_create: gd->name is 0x72fb340a9a50
edge rpc.gssd[2361]: in authgss_refresh()
edge rpc.gssd[2361]: The token being sent (length 837):
edge rpc.gssd[2361]: in authgss_marshal()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success ((nil):0)
edge rpc.gssd[2361]: xdr_rpc_gss_cred: encode success (v 1, proc 1, seq 0, svc 1, ctx (nil):0)
edge rpc.gssd[2361]: in authgss_wrap()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success (0x72fb340aacc0:837)
edge rpc.gssd[2361]: xdr_rpc_gss_init_args: encode success (token 0x72fb340aacc0:837)
edge rpc.gssd[2361]: authgss_refresh: RPC: Unable to receive errno: Connection reset by peer
edge rpc.gssd[2361]: authgss_create_default: freeing name 0x72fb340a5b80
edge rpc.gssd[2361]: WARNING: Failed to create krb5 context for user with uid 0 for server nfs@nfs.example.com
edge rpc.gssd[2361]: WARNING: Failed to create machine krb5 context with cred cache FILE:/tmp/krb5ccmachine_EXAMPLE.COM for server nfs.example.com
edge rpc.gssd[2361]: WARNING: Machine cache prematurely expired or corrupted trying to recreate cache for server nfs.example.com
edge rpc.gssd[2361]: No key table entry found for edge$@EXAMPLE.COM while getting keytab entry for 'edge$@EXAMPLE.COM'
edge rpc.gssd[2361]: No key table entry found for EDGE$@EXAMPLE.COM while getting keytab entry for 'EDGE$@EXAMPLE.COM'
edge rpc.gssd[2361]: find_keytab_entry(0x72fb33e006c0): Success getting keytab entry for 'root/edge@EXAMPLE.COM'
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb33e006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb33e006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb33e006c0): creating tcp client for server nfs.example.com
edge rpc.gssd[2361]: DEBUG: port already set to 2049
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb33e006c0): creating context with server nfs@nfs.example.com
edge rpc.gssd[2361]: in authgss_create_default()
edge rpc.gssd[2361]: in authgss_create()
edge rpc.gssd[2361]: authgss_create: name is 0x72fb340a7340
edge rpc.gssd[2361]: authgss_create: gd->name is 0x72fb340a4930
edge rpc.gssd[2361]: in authgss_refresh()
edge rpc.gssd[2361]: The token being sent (length 837):
edge rpc.gssd[2361]: in authgss_marshal()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success ((nil):0)
edge rpc.gssd[2361]: xdr_rpc_gss_cred: encode success (v 1, proc 1, seq 0, svc 1, ctx (nil):0)
edge rpc.gssd[2361]: in authgss_wrap()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success (0x72fb340aacc0:837)
edge rpc.gssd[2361]: xdr_rpc_gss_init_args: encode success (token 0x72fb340aacc0:837)
edge rpc.gssd[2361]: authgss_refresh: RPC: Unable to receive errno: Connection reset by peer
edge rpc.gssd[2361]: authgss_create_default: freeing name 0x72fb340a7340
edge rpc.gssd[2361]: WARNING: Failed to create krb5 context for user with uid 0 for server nfs@nfs.example.com
edge rpc.gssd[2361]: WARNING: Failed to create machine krb5 context with cred cache FILE:/tmp/krb5ccmachine_EXAMPLE.COM for server nfs.example.com
edge rpc.gssd[2361]: ERROR: Failed to create machine krb5 context with any credentials cache for server nfs.example.com
edge rpc.gssd[2361]: do_error_downcall(0x72fb33e006c0): uid 0 err -13
edge rpc.gssd[2361]:
handle_gssd_upcall(0x72fb43b71740): 'mech=krb5 uid=0 service=* enctypes=20,19,26,25,18,17' (nfs/clnt45)
edge rpc.gssd[2361]: start_upcall_thread(0x72fb43b71740): created thread id 0x72fb42c006c0
edge rpc.gssd[2361]: krb5_use_machine_creds(0x72fb42c006c0): uid 0 tgtname (null)
edge rpc.gssd[2361]: No key table entry found for edge$@EXAMPLE.COM while getting keytab entry for 'edge$@EXAMPLE.COM'
edge rpc.gssd[2361]: No key table entry found for EDGE$@EXAMPLE.COM while getting keytab entry for 'EDGE$@EXAMPLE.COM'
edge rpc.gssd[2361]: find_keytab_entry(0x72fb42c006c0): Success getting keytab entry for 'root/edge@EXAMPLE.COM'
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb42c006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb42c006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb42c006c0): creating tcp client for server nfs.example.com
edge rpc.gssd[2361]: DEBUG: port already set to 2049
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb42c006c0): creating context with server nfs@nfs.example.com
edge rpc.gssd[2361]: in authgss_create_default()
edge rpc.gssd[2361]: in authgss_create()
edge rpc.gssd[2361]: authgss_create: name is 0x72fb340a8420
edge rpc.gssd[2361]: authgss_create: gd->name is 0x72fb340a4de0
edge rpc.gssd[2361]: in authgss_refresh()
edge rpc.gssd[2361]: The token being sent (length 837):
edge rpc.gssd[2361]: in authgss_marshal()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success ((nil):0)
edge rpc.gssd[2361]: xdr_rpc_gss_cred: encode success (v 1, proc 1, seq 0, svc 1, ctx (nil):0)
edge rpc.gssd[2361]: in authgss_wrap()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success (0x72fb340aa080:837)
edge rpc.gssd[2361]: xdr_rpc_gss_init_args: encode success (token 0x72fb340aa080:837)
edge rpc.gssd[2361]: authgss_refresh: RPC: Unable to receive errno: Connection reset by peer
edge rpc.gssd[2361]: authgss_create_default: freeing name 0x72fb340a8420
edge rpc.gssd[2361]: WARNING: Failed to create krb5 context for user with uid 0 for server nfs@nfs.example.com
edge rpc.gssd[2361]: WARNING: Failed to create machine krb5 context with cred cache FILE:/tmp/krb5ccmachine_EXAMPLE.COM for server nfs.example.com
edge rpc.gssd[2361]: WARNING: Machine cache prematurely expired or corrupted trying to recreate cache for server nfs.example.com
edge rpc.gssd[2361]: No key table entry found for edge$@EXAMPLE.COM while getting keytab entry for 'edge$@EXAMPLE.COM'
edge rpc.gssd[2361]: No key table entry found for EDGE$@EXAMPLE.COM while getting keytab entry for 'EDGE$@EXAMPLE.COM'
edge rpc.gssd[2361]: find_keytab_entry(0x72fb42c006c0): Success getting keytab entry for 'root/edge@EXAMPLE.COM'
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb42c006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb42c006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb42c006c0): creating tcp client for server nfs.example.com
edge rpc.gssd[2361]: DEBUG: port already set to 2049
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb42c006c0): creating context with server nfs@nfs.example.com
edge rpc.gssd[2361]: in authgss_create_default()
edge rpc.gssd[2361]: in authgss_create()
edge rpc.gssd[2361]: authgss_create: name is 0x72fb340ad330
edge rpc.gssd[2361]: authgss_create: gd->name is 0x72fb3402a800
edge rpc.gssd[2361]: in authgss_refresh()
edge rpc.gssd[2361]: The token being sent (length 837):
edge rpc.gssd[2361]: in authgss_marshal()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success ((nil):0)
edge rpc.gssd[2361]: xdr_rpc_gss_cred: encode success (v 1, proc 1, seq 0, svc 1, ctx (nil):0)
edge rpc.gssd[2361]: in authgss_wrap()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success (0x72fb340aa080:837)
edge rpc.gssd[2361]: xdr_rpc_gss_init_args: encode success (token 0x72fb340aa080:837)
edge rpc.gssd[2361]: authgss_refresh: RPC: Unable to receive errno: Connection reset by peer
edge rpc.gssd[2361]: authgss_create_default: freeing name 0x72fb340ad330
edge rpc.gssd[2361]: WARNING: Failed to create krb5 context for user with uid 0 for server nfs@nfs.example.com
edge rpc.gssd[2361]: WARNING: Failed to create machine krb5 context with cred cache FILE:/tmp/krb5ccmachine_EXAMPLE.COM for server nfs.example.com
edge rpc.gssd[2361]: ERROR: Failed to create machine krb5 context with any credentials cache for server nfs.example.com
edge rpc.gssd[2361]: do_error_downcall(0x72fb42c006c0): uid 0 err -13
edge rpc.gssd[2361]:
handle_gssd_upcall(0x72fb43b71740): 'mech=krb5 uid=0 enctypes=20,19,26,25,18,17' (nfs/clnt45)
edge rpc.gssd[2361]: start_upcall_thread(0x72fb43b71740): created thread id 0x72fb41c006c0
edge rpc.gssd[2361]: krb5_use_machine_creds(0x72fb41c006c0): uid 0 tgtname (null)
edge rpc.gssd[2361]: No key table entry found for edge$@EXAMPLE.COM while getting keytab entry for 'edge$@EXAMPLE.COM'
edge rpc.gssd[2361]: No key table entry found for EDGE$@EXAMPLE.COM while getting keytab entry for 'EDGE$@EXAMPLE.COM'
edge rpc.gssd[2361]: find_keytab_entry(0x72fb41c006c0): Success getting keytab entry for 'root/edge@EXAMPLE.COM'
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb41c006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb41c006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb41c006c0): creating tcp client for server nfs.example.com
edge rpc.gssd[2361]: DEBUG: port already set to 2049
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb41c006c0): creating context with server nfs@nfs.example.com
edge rpc.gssd[2361]: in authgss_create_default()
edge rpc.gssd[2361]: in authgss_create()
edge rpc.gssd[2361]: authgss_create: name is 0x72fb340a5b80
edge rpc.gssd[2361]: authgss_create: gd->name is 0x72fb3402a740
edge rpc.gssd[2361]: in authgss_refresh()
edge rpc.gssd[2361]: The token being sent (length 837):
edge rpc.gssd[2361]: in authgss_marshal()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success ((nil):0)
edge rpc.gssd[2361]: xdr_rpc_gss_cred: encode success (v 1, proc 1, seq 0, svc 1, ctx (nil):0)
edge rpc.gssd[2361]: in authgss_wrap()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success (0x72fb34039c60:837)
edge rpc.gssd[2361]: xdr_rpc_gss_init_args: encode success (token 0x72fb34039c60:837)
edge rpc.gssd[2361]: authgss_refresh: RPC: Unable to receive errno: Connection reset by peer
edge rpc.gssd[2361]: authgss_create_default: freeing name 0x72fb340a5b80
edge rpc.gssd[2361]: WARNING: Failed to create krb5 context for user with uid 0 for server nfs@nfs.example.com
edge rpc.gssd[2361]: WARNING: Failed to create machine krb5 context with cred cache FILE:/tmp/krb5ccmachine_EXAMPLE.COM for server nfs.example.com
edge rpc.gssd[2361]: WARNING: Machine cache prematurely expired or corrupted trying to recreate cache for server nfs.example.com
edge rpc.gssd[2361]: No key table entry found for edge$@EXAMPLE.COM while getting keytab entry for 'edge$@EXAMPLE.COM'
edge rpc.gssd[2361]: No key table entry found for EDGE$@EXAMPLE.COM while getting keytab entry for 'EDGE$@EXAMPLE.COM'
edge rpc.gssd[2361]: find_keytab_entry(0x72fb41c006c0): Success getting keytab entry for 'root/edge@EXAMPLE.COM'
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb41c006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb41c006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb41c006c0): creating tcp client for server nfs.example.com
edge rpc.gssd[2361]: DEBUG: port already set to 2049
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb41c006c0): creating context with server nfs@nfs.example.com
edge rpc.gssd[2361]: in authgss_create_default()
edge rpc.gssd[2361]: in authgss_create()
edge rpc.gssd[2361]: authgss_create: name is 0x72fb340a7930
edge rpc.gssd[2361]: authgss_create: gd->name is 0x72fb340ad960
edge rpc.gssd[2361]: in authgss_refresh()
edge rpc.gssd[2361]: The token being sent (length 837):
edge rpc.gssd[2361]: in authgss_marshal()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success ((nil):0)
edge rpc.gssd[2361]: xdr_rpc_gss_cred: encode success (v 1, proc 1, seq 0, svc 1, ctx (nil):0)
edge rpc.gssd[2361]: in authgss_wrap()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success (0x72fb34039c60:837)
edge rpc.gssd[2361]: xdr_rpc_gss_init_args: encode success (token 0x72fb34039c60:837)
edge rpc.gssd[2361]: authgss_refresh: RPC: Unable to receive errno: Connection reset by peer
edge rpc.gssd[2361]: authgss_create_default: freeing name 0x72fb340a7930
edge rpc.gssd[2361]: WARNING: Failed to create krb5 context for user with uid 0 for server nfs@nfs.example.com
edge rpc.gssd[2361]: WARNING: Failed to create machine krb5 context with cred cache FILE:/tmp/krb5ccmachine_EXAMPLE.COM for server nfs.example.com
edge rpc.gssd[2361]: ERROR: Failed to create machine krb5 context with any credentials cache for server nfs.example.com
edge rpc.gssd[2361]: do_error_downcall(0x72fb41c006c0): uid 0 err -13
edge rpc.gssd[2361]:
handle_gssd_upcall(0x72fb43b71740): 'mech=krb5 uid=0 enctypes=20,19,26,25,18,17' (nfs/clnt45)
edge rpc.gssd[2361]: start_upcall_thread(0x72fb43b71740): created thread id 0x72fb412006c0
edge rpc.gssd[2361]: krb5_use_machine_creds(0x72fb412006c0): uid 0 tgtname (null)
edge rpc.gssd[2361]: No key table entry found for edge$@EXAMPLE.COM while getting keytab entry for 'edge$@EXAMPLE.COM'
edge rpc.gssd[2361]: No key table entry found for EDGE$@EXAMPLE.COM while getting keytab entry for 'EDGE$@EXAMPLE.COM'
edge rpc.gssd[2361]: find_keytab_entry(0x72fb412006c0): Success getting keytab entry for 'root/edge@EXAMPLE.COM'
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb412006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb412006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb412006c0): creating tcp client for server nfs.example.com
edge rpc.gssd[2361]: DEBUG: port already set to 2049
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb412006c0): creating context with server nfs@nfs.example.com
edge rpc.gssd[2361]: in authgss_create_default()
edge rpc.gssd[2361]: in authgss_create()
edge rpc.gssd[2361]: authgss_create: name is 0x72fb340a8f20
edge rpc.gssd[2361]: authgss_create: gd->name is 0x72fb340a4c00
edge rpc.gssd[2361]: in authgss_refresh()
edge rpc.gssd[2361]: The token being sent (length 837):
edge rpc.gssd[2361]: in authgss_marshal()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success ((nil):0)
edge rpc.gssd[2361]: xdr_rpc_gss_cred: encode success (v 1, proc 1, seq 0, svc 1, ctx (nil):0)
edge rpc.gssd[2361]: in authgss_wrap()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success (0x72fb340aea50:837)
edge rpc.gssd[2361]: xdr_rpc_gss_init_args: encode success (token 0x72fb340aea50:837)
edge rpc.gssd[2361]: authgss_refresh: RPC: Unable to receive errno: Connection reset by peer
edge rpc.gssd[2361]: authgss_create_default: freeing name 0x72fb340a8f20
edge rpc.gssd[2361]: WARNING: Failed to create krb5 context for user with uid 0 for server nfs@nfs.example.com
edge rpc.gssd[2361]: WARNING: Failed to create machine krb5 context with cred cache FILE:/tmp/krb5ccmachine_EXAMPLE.COM for server nfs.example.com
edge rpc.gssd[2361]: WARNING: Machine cache prematurely expired or corrupted trying to recreate cache for server nfs.example.com
edge rpc.gssd[2361]: No key table entry found for edge$@EXAMPLE.COM while getting keytab entry for 'edge$@EXAMPLE.COM'
edge rpc.gssd[2361]: No key table entry found for EDGE$@EXAMPLE.COM while getting keytab entry for 'EDGE$@EXAMPLE.COM'
edge rpc.gssd[2361]: find_keytab_entry(0x72fb412006c0): Success getting keytab entry for 'root/edge@EXAMPLE.COM'
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb412006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb412006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb412006c0): creating tcp client for server nfs.example.com
edge rpc.gssd[2361]: DEBUG: port already set to 2049
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb412006c0): creating context with server nfs@nfs.example.com
edge rpc.gssd[2361]: in authgss_create_default()
edge rpc.gssd[2361]: in authgss_create()
edge rpc.gssd[2361]: authgss_create: name is 0x72fb3402a640
edge rpc.gssd[2361]: authgss_create: gd->name is 0x72fb340acf40
edge rpc.gssd[2361]: in authgss_refresh()
edge rpc.gssd[2361]: The token being sent (length 837):
edge rpc.gssd[2361]: in authgss_marshal()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success ((nil):0)
edge rpc.gssd[2361]: xdr_rpc_gss_cred: encode success (v 1, proc 1, seq 0, svc 1, ctx (nil):0)
edge rpc.gssd[2361]: in authgss_wrap()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success (0x72fb340aea50:837)
edge rpc.gssd[2361]: xdr_rpc_gss_init_args: encode success (token 0x72fb340aea50:837)
edge rpc.gssd[2361]: authgss_refresh: RPC: Unable to receive errno: Connection reset by peer
edge rpc.gssd[2361]: authgss_create_default: freeing name 0x72fb3402a640
edge rpc.gssd[2361]: WARNING: Failed to create krb5 context for user with uid 0 for server nfs@nfs.example.com
edge rpc.gssd[2361]: WARNING: Failed to create machine krb5 context with cred cache FILE:/tmp/krb5ccmachine_EXAMPLE.COM for server nfs.example.com
edge rpc.gssd[2361]: ERROR: Failed to create machine krb5 context with any credentials cache for server nfs.example.com
edge rpc.gssd[2361]: do_error_downcall(0x72fb412006c0): uid 0 err -13
edge rpc.gssd[2361]: inotify event for topdir (nfs) - ev->wd (8) ev->name (clnt46) ev->mask (0x40000100)
edge rpc.gssd[2361]: creating client nfs/clnt46
edge rpc.gssd[2361]: scanning client nfs/clnt46
edge rpc.gssd[2361]: inotify event for topdir (nfs) - ev->wd (8) ev->name (clnt47) ev->mask (0x40000100)
edge rpc.gssd[2361]: creating client nfs/clnt47
edge rpc.gssd[2361]: scanning client nfs/clnt47
edge rpc.gssd[2361]:
handle_gssd_upcall(0x72fb43b71740): 'mech=krb5 uid=0 enctypes=20,19,26,25,18,17' (nfs/clnt45)
edge rpc.gssd[2361]: start_upcall_thread(0x72fb43b71740): created thread id 0x72fb3be006c0
edge rpc.gssd[2361]: krb5_use_machine_creds(0x72fb3be006c0): uid 0 tgtname (null)
edge rpc.gssd[2361]: No key table entry found for edge$@EXAMPLE.COM while getting keytab entry for 'edge$@EXAMPLE.COM'
edge rpc.gssd[2361]: No key table entry found for EDGE$@EXAMPLE.COM while getting keytab entry for 'EDGE$@EXAMPLE.COM'
edge rpc.gssd[2361]: find_keytab_entry(0x72fb3be006c0): Success getting keytab entry for 'root/edge@EXAMPLE.COM'
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb3be006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb3be006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb3be006c0): creating tcp client for server nfs.example.com
edge rpc.gssd[2361]: DEBUG: port already set to 2049
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb3be006c0): creating context with server nfs@nfs.example.com
edge rpc.gssd[2361]: in authgss_create_default()
edge rpc.gssd[2361]: in authgss_create()
edge rpc.gssd[2361]: authgss_create: name is 0x72fb34039d00
edge rpc.gssd[2361]: authgss_create: gd->name is 0x72fb340a8d40
edge rpc.gssd[2361]: in authgss_refresh()
edge rpc.gssd[2361]: The token being sent (length 837):
edge rpc.gssd[2361]: in authgss_marshal()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success ((nil):0)
edge rpc.gssd[2361]: xdr_rpc_gss_cred: encode success (v 1, proc 1, seq 0, svc 1, ctx (nil):0)
edge rpc.gssd[2361]: in authgss_wrap()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success (0x72fb340aad20:837)
edge rpc.gssd[2361]: xdr_rpc_gss_init_args: encode success (token 0x72fb340aad20:837)
edge rpc.gssd[2361]: authgss_refresh: RPC: Unable to receive errno: Connection reset by peer
edge rpc.gssd[2361]: authgss_create_default: freeing name 0x72fb34039d00
edge rpc.gssd[2361]: WARNING: Failed to create krb5 context for user with uid 0 for server nfs@nfs.example.com
edge rpc.gssd[2361]: WARNING: Failed to create machine krb5 context with cred cache FILE:/tmp/krb5ccmachine_EXAMPLE.COM for server nfs.example.com
edge rpc.gssd[2361]: WARNING: Machine cache prematurely expired or corrupted trying to recreate cache for server nfs.example.com
edge rpc.gssd[2361]: No key table entry found for edge$@EXAMPLE.COM while getting keytab entry for 'edge$@EXAMPLE.COM'
edge rpc.gssd[2361]: No key table entry found for EDGE$@EXAMPLE.COM while getting keytab entry for 'EDGE$@EXAMPLE.COM'
edge rpc.gssd[2361]: find_keytab_entry(0x72fb3be006c0): Success getting keytab entry for 'root/edge@EXAMPLE.COM'
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb3be006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: gssd_get_single_krb5_cred(0x72fb3be006c0): Credentials in CC 'FILE:/tmp/krb5ccmachine_EXAMPLE.COM' are good until Wed Dec 25 22:17:36 2024
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb3be006c0): creating tcp client for server nfs.example.com
edge rpc.gssd[2361]: DEBUG: port already set to 2049
edge rpc.gssd[2361]: create_auth_rpc_client(0x72fb3be006c0): creating context with server nfs@nfs.example.com
edge rpc.gssd[2361]: in authgss_create_default()
edge rpc.gssd[2361]: in authgss_create()
edge rpc.gssd[2361]: authgss_create: name is 0x72fb340ae320
edge rpc.gssd[2361]: authgss_create: gd->name is 0x72fb340abc10
edge rpc.gssd[2361]: in authgss_refresh()
edge rpc.gssd[2361]: The token being sent (length 837):
edge rpc.gssd[2361]: in authgss_marshal()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success ((nil):0)
edge rpc.gssd[2361]: xdr_rpc_gss_cred: encode success (v 1, proc 1, seq 0, svc 1, ctx (nil):0)
edge rpc.gssd[2361]: in authgss_wrap()
edge rpc.gssd[2361]: xdr_rpc_gss_buf: encode success (0x72fb340aad20:837)
edge rpc.gssd[2361]: xdr_rpc_gss_init_args: encode success (token 0x72fb340aad20:837)
edge rpc.gssd[2361]: authgss_refresh: RPC: Unable to receive errno: Connection reset by peer
edge rpc.gssd[2361]: authgss_create_default: freeing name 0x72fb340ae320
edge rpc.gssd[2361]: WARNING: Failed to create krb5 context for user with uid 0 for server nfs@nfs.example.com
edge rpc.gssd[2361]: WARNING: Failed to create machine krb5 context with cred cache FILE:/tmp/krb5ccmachine_EXAMPLE.COM for server nfs.example.com
edge rpc.gssd[2361]: ERROR: Failed to create machine krb5 context with any credentials cache for server nfs.example.com
edge rpc.gssd[2361]: do_error_downcall(0x72fb3be006c0): uid 0 err -13
edge rpc.gssd[2361]: inotify event for clntdir (nfs/clnt47) - ev->wd (82) ev->name (info) ev->mask (0x00000200)
edge rpc.gssd[2361]: inotify event for clntdir (nfs/clnt47) - ev->wd (82) ev->name (<?>) ev->mask (0x00008000)
edge rpc.gssd[2361]: destroying client nfs/clnt47
edge rpc.gssd[2361]: freeing client nfs/clnt47
edge rpc.gssd[2361]: inotify event for clntdir (nfs/clnt45) - ev->wd (80) ev->name (idmap) ev->mask (0x00000200)
edge rpc.gssd[2361]: inotify event for clntdir (nfs/clnt45) - ev->wd (80) ev->name (krb5) ev->mask (0x00000200)
edge rpc.gssd[2361]: inotify event for clntdir (nfs/clnt45) - ev->wd (80) ev->name (gssd) ev->mask (0x00000200)
edge rpc.gssd[2361]: inotify event for clntdir (nfs/clnt46) - ev->wd (81) ev->name (info) ev->mask (0x00000200)
edge rpc.gssd[2361]: inotify event for clntdir (nfs/clnt46) - ev->wd (81) ev->name (<?>) ev->mask (0x00008000)
edge rpc.gssd[2361]: destroying client nfs/clnt46
edge rpc.gssd[2361]: freeing client nfs/clnt46
edge rpc.gssd[2361]: inotify event for clntdir (nfs/clnt45) - ev->wd (80) ev->name (info) ev->mask (0x00000200)
edge rpc.gssd[2361]: inotify event for clntdir (nfs/clnt45) - ev->wd (80) ev->name (<?>) ev->mask (0x00008000)
edge rpc.gssd[2361]: destroying client nfs/clnt45
edge rpc.gssd[2361]: freeing client nfs/clnt45