/etc/kopano/userscripts/createcompany is in kopano-server 8.5.5-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #! /bin/sh
# Script that is executed whenever a new company is created in the
# external user source, such as an Active Directory tree or
# /etc/passwd.
# This script executes all scripts in /etc/kopano/userscripts/createcompany.d
# using find. The environment variable KOPANO_COMPANY is set, but
# beware that this string can contain any characters, so take heed to
# correct quoting.
if [ -f /etc/sysconfig/kopano ]; then
. /etc/sysconfig/kopano
elif [ -f /etc/default/kopano ]; then
# Used on Debian in place of sysconfig
. /etc/default/kopano
fi
KOPANO_COMPANY_SCRIPTS=/etc/kopano/userscripts/createcompany.d
. /etc/kopano/userscripts/companies_common.sh
|