Hello sssd-users list
I'm working on linux workstations in a single-domain Active Directory environment and I'm having a bit of trouble getting Kerberos authenticated SMB printing to work. In krb5.conf under [libdefaults] I have default_ccache_name = FILE:/tmp/krb5cc_%{uid}. In sssd.conf the krb5_ccname_template key I have left unconfigured. When I login I read in sssd_MYDOMAIN.log of the workstation: [sss_check_cc_template]: ccache file name template [FILE:/tmp/krb5cc_%{uid}] doesn't contain randomizing characters (XXXXXX), file might not be rewriteable. [... and much later ...] [krb5_mod_ccname]: Save ccname [FILE:/tmp/krb5cc_123456_Fl5FAw] for user [domainuser@mydomain].
From these log entries I take it that for some reason krb5.conf's default_ccache_name template gets overridden. Consequently, instead of a krb5 user cache credential path of FILE:/tmp/krb5cc_123456 that cups could read I get a /tmp/krb5cc_123456_Fl5FAw which cups responds to with file not found and cups requests user authenication. If I cp -p /tmp/krb5cc_123456_Fl5FAw to /tmp/krb5cc_123456 I can print Kerberos authenticated.
In the sssd-krb5 documentation I can't find any hint on why the overriding takes place.
Could you please help me?
Best wishesPhilipp