Changeset 1716 for trunk/server


Ignore:
Timestamp:
Oct 30, 2010, 3:07:34 AM (12 years ago)
Author:
geofft
Message:
Have slapd use a file ccache instead of a memory one

I suspect this will work around some bugs in the GSSAPI- /
Kerberos-handling code. If KRB5CCNAME is set and valid, slapd
will use that instead of making its own ccache.

Location:
trunk/server/fedora/config/etc
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/sysconfig/dirsrv

    r1715 r1716  
    2929KRB5_KTNAME=/etc/dirsrv/keytab ; export KRB5_KTNAME
    3030
     31# Use a disk ccache instead of a memory one (this is renewed by the
     32# slapdagent cronjob) -- geofft 30 October 2010
     33KRB5CCNAME=/var/run/dirsrv/krb5cc; export KRB5CCNAME
     34/usr/kerberos/bin/kinit -k -t "$KRB5_KTNAME" ldap/"$(hostname)"
     35chown --reference="$KRB5_KTNAME" "$KRB5CCNAME"
     36
    3137# other environment settings can be added here too
    3238OS=`uname -s`
Note: See TracChangeset for help on using the changeset viewer.