#!/bin/bash
#
# Univention nscd
#   machine password hook script
#
# SPDX-FileCopyrightText: 2011-2025 Univention GmbH
# SPDX-License-Identifier: AGPL-3.0-only

. /usr/lib/univention-server/lib/server_password_change/debug.sh

if [ "$1" = "postchange" ] ; then
	if [ -x /etc/init.d/nscd ]; then
		/etc/init.d/nscd restart
	fi
fi
