Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/crypto/external/bsd/libsaslc/dist/src
Module Name: src
Committed By: riastradh
Date: Thu Nov 26 01:45:10 UTC 2026
Modified Files:
src/crypto/external/bsd/libsaslc/dist/src: mech_gssapi.c
Log Message:
libsaslc: GSSAPI: Use gss_acquire_cred if AUTHCID is set.
Without this change, gss_init_sec_context will _only_ consult the
krb5 credential cache, requiring kinit(1) beforehand -- it will
ignore any available keytabs, which is suboptimal for usage by a
client daemon like postfix relaying mail over SMTP as a client.
With this change, gss_acquire_cred will consult the kr5 credential
cache or the keytab, and you can choose what credential it uses.
The location of the keytab can be set with the krb5.conf
[libdefaults] default_keytab_name setting, or the KRB5_KTNAME
environment variable. (Perhaps we should add a new saslc property
for the keytab and/or ccache path too, using the gssapi cred store
extensions that will become available once Heimdal 8 is out.)
PR lib/60320: libsaslc: gssapi mech should support loading keytabs
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 \
src/crypto/external/bsd/libsaslc/dist/src/mech_gssapi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index