[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Slave SASL Cannonicalize always returns root?
--On Wednesday, February 16, 2005 11:31 AM -0500 johnh@primebuchholz.com
wrote:
Thanks for the reply Quanah.
I have a script that runs every 4 hours on the master to keep
Replicator's ticket alive. I can bind as Replicator no problem.
[root@my-ldap1]# klist -t /etc/openldap/slurpd.krb5cache
Ticket cache: FILE:/etc/openldap/slurpd.krb5cache
Default principal: Replicator@MYDOMAIN.COM
Valid starting Expires Service principal
02/16/05 08:00:01 02/17/05 08:00:01 krbtgt/MYDOMAIN.COM@MYDOMAIN.COM
Seems OK to me...
When you start slurpd, do you point it to that ticket cache? See the
KRB5CCNAME environment variable.
My slurpd startup script looks like:
#!/sbin/sh
# /etc/init.d/slurpd -- Start slurpd.
# $Id: slurpd.init,v 1.10 2004/12/07 00:51:18 quanah Exp $
#
KRB5CCNAME="FILE:/tmp/ldap_replicator.tkt"
export KRB5CCNAME
case $1 in
start)
echo "slurpd service starting."
/usr/local/lib/slurpd -t /var/tmp 1>/dev/console 2>&1
;;
stop)
if test "$SLURPDPID"
then
kill -INT `cat /var/run/slurpd.pid`
if [ -f $SLURPDPID ]; then
/usr/bin/rm /var/run/slurpd.pid
fi
fi
;;
*)
echo "Usage: /etc/init.d/slurpd { start | stop }"
;;
esac
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin