[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: SASL/GSSAPI auth stops working after slapd restart: SOLUTION

On Fri, Mar 12, 2004 at 09:36:58AM +0100, denis.havlik@t-mobile.at wrote:
> On reboot, no temporary directory is defined, and both kerberos and ldap 
> choose /var/tmp. If root restarts services afterwards, temporary directory 
> IS defined, and points to /root/tmp. As slapd rund as "ldap" user, it not 
> only looses contact to the old cache file, but also attempts to access the 
> new file in /root/tmp, and fails for obvious reasons.

Your slapd init script should be modified to unset TMP and TMPDIR (or set it
to something else where slapd can read/write).