summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTimur I. Bakeyev <timur@FreeBSD.org>2009-07-12 23:36:08 +0000
committerAndrew Bartlett <abartlet@samba.org>2009-07-16 09:23:35 +1000
commitd6c44a704e9a138dba8398f45e9af2601826f659 (patch)
tree18823881df04dd29b8a4b6248800a63e6ea4b50e /source4
parent48a07321479c14a6618bb21302d27fd9606efbdd (diff)
downloadsamba-d6c44a704e9a138dba8398f45e9af2601826f659.tar.gz
samba-d6c44a704e9a138dba8398f45e9af2601826f659.tar.bz2
samba-d6c44a704e9a138dba8398f45e9af2601826f659.zip
Add ad-schema/*.txt and utils to the installmisc.sh
Install other useful scripts from the setup/ directory, not only provisioning ones. Also install setup/ad-schema/*.txt files to the SETUPDIR. These are necessary for 'provision' to work properly.
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/script/installmisc.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/source4/script/installmisc.sh b/source4/script/installmisc.sh
index 2bd34b119f..0666ae1ade 100755
--- a/source4/script/installmisc.sh
+++ b/source4/script/installmisc.sh
@@ -8,11 +8,15 @@ cd $SRCDIR || exit 1
echo "Installing setup templates"
mkdir -p $SETUPDIR || exit 1
+mkdir -p $SETUPDIR/ad-schema || exit 1
+cp setup/ad-schema/*.txt $SETUPDIR/ad-schema || exit 1
+for p in enableaccount newuser provision provision-backend setexpiry setpassword
+do
+ chmod 0555 setup/$p
+ cp setup/$p $SETUPDIR || exit 1
+done
cp setup/schema-map-* $SETUPDIR || exit 1
cp setup/DB_CONFIG $SETUPDIR || exit 1
-cp setup/provision-backend $SETUPDIR || exit 1
-cp setup/provision $SETUPDIR || exit 1
-cp setup/newuser $SETUPDIR || exit 1
cp setup/*.inf $SETUPDIR || exit 1
cp setup/*.ldif $SETUPDIR || exit 1
cp setup/*.reg $SETUPDIR || exit 1