##// END OF EJS Templates
Japanese (Blocks / Blocked by) translation changed by Go MAEDA (#21176)...
Japanese (Blocks / Blocked by) translation changed by Go MAEDA (#21176) git-svn-id: http://svn.redmine.org/redmine/trunk@14882 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14447:f9b2d30b4b34
r14500:24e2f4641922
Show More
install-openldap.sh
20 lines | 525 B | application/x-sh | BashLexer
#! /bin/sh
DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes slapd ldap-utils
dpkg -l '*slapd*' '*ldap-utils*'
TOP_DIR=`dirname $0`/../..
/etc/init.d/slapd stop
rm -rf /etc/ldap/slapd.d/*
rmdir /etc/ldap/slapd.d/
rm -rf /var/lib/ldap/*
cp ${TOP_DIR}/test/fixtures/ldap/slapd.ubuntu.12.04.conf /etc/ldap/slapd.conf
slaptest -u -v -f /etc/ldap/slapd.conf
/etc/init.d/slapd start
ldapadd -x -D "cn=Manager,dc=redmine,dc=org" \
-w secret -h localhost -p 389 -f ${TOP_DIR}/test/fixtures/ldap/test-ldap.ldif