Skip to content

Comments

Try to obtain new cred if the cred from rpc.gssd or other apps is defective#122

Merged
simo5 merged 1 commit intogssapi:mainfrom
yixiangzhike:main
Feb 23, 2026
Merged

Try to obtain new cred if the cred from rpc.gssd or other apps is defective#122
simo5 merged 1 commit intogssapi:mainfrom
yixiangzhike:main

Conversation

@yixiangzhike
Copy link
Contributor

Rpc.gssd or other applications may use the cache configured with default_ccache_name(krb5. conf). If the cache file of gssproxy (cred_store=ccache: FILE: xxxxxx) is deleted, the gssproxy service returns an empty credential when processing a GSSX_ARG-ACQUIRE_CRED request, unless the user clears the default_ccache_name cache. However, users may not even be aware of the existence of the default_ccache_name cache. In this situation, it may be better for gssproxy to try to obtain new credentials.

…ective.

Rpc.gssd or other applications may use the cache configured with default_ccache_name(krb5. conf). If the cache file of gssproxy (cred_store=ccache: FILE: xxxxxx) is deleted, the gssproxy service returns an empty credential when processing a GSSX_ARG-ACQUIRE_CRED request, unless the user clears the default_ccache_name cache. However, users may not even be aware of the existence of the default_ccache_name cache. In this situation, it may be better for gssproxy to try to obtain new credentials.

Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
Copy link
Member

@simo5 simo5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simo5 simo5 merged commit d0a0660 into gssapi:main Feb 23, 2026
5 checks passed
@simo5
Copy link
Member

simo5 commented Feb 23, 2026

Thanks, good finding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants