#
# Copyright (C) 2004 VA Linux Systems Japan, K.K.
#
# LICENSE NOTICE
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#

# $Id: 09slapd,v 1.4 2005/03/21 16:11:58 taru Exp $

case "x$MODULECATEGORY" in

  xserver|x)

# Defining Variables
if test "x$cache" = "x"; then
 OPENLDAPDIR=$(ultrapossum_getconf OPENLDAPDIR "$libdir/$PACKAGE/slapd")
 OPENLDAPSYSCONFDIR=$(ultrapossum_getconf OPENLDAPSYSCONFDIR "$SYSCONFDIR/slapd")
 SLAPDCONF=$(ultrapossum_getconf SLAPDCONF "$OPENLDAPSYSCONFDIR/openldap/slapd.conf")
 SLAPD=$(ultrapossum_getconf SLAPD "$OPENLDAPDIR/libexec/slapd")
 SLURPD=$(ultrapossum_getconf SLURPD "$OPENLDAPDIR/libexec/slurpd")
 SLAPADD=$(ultrapossum_getconf SLAPADD "$OPENLDAPDIR/sbin/slapadd")
 SLAPCAT=$(ultrapossum_getconf SLAPCAT "$OPENLDAPDIR/sbin/slapcat")
 SLAPINDEX=$(ultrapossum_getconf SLAPINDEX "$OPENLDAPDIR/sbin/slapindex")
 SLAPPASSWD=$(ultrapossum_getconf SLAPPASSWD "$OPENLDAPDIR/sbin/slappasswd")
fi

# Parsing configuration file
eval "`ultrapossum_parse_config slapd`"

# Calculating Logical Variables

if test "x$ULTRAPOSSUM_MODULE_SLAPD" = "xinstalled"; then
  :
fi

  ;;

esac
