From c66dbe0c3e57eabacd28658891e356b724fd3fba Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 Nov 2004 00:31:32 +0000 Subject: r3743: auto-support the RH schema location as well (This used to be commit 4fc794d0b4bc6f2a0115628589f9366800a369ca) --- source4/lib/ldb/tests/test-ldap.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/lib/ldb/tests') diff --git a/source4/lib/ldb/tests/test-ldap.sh b/source4/lib/ldb/tests/test-ldap.sh index 3e285a39a9..37827219c0 100755 --- a/source4/lib/ldb/tests/test-ldap.sh +++ b/source4/lib/ldb/tests/test-ldap.sh @@ -10,6 +10,10 @@ for f in $SCHEMA_NEEDED; do ln -s /etc/ldap/schema/$f.schema tests/schema/$f.schema continue; fi + if [ -r /etc/openldap/schema/$f.schema ]; then + ln -s /etc/openldap/schema/$f.schema tests/schema/$f.schema + continue; + fi echo "ERROR: you need the following OpenLDAP schema files in tests/schema/" for f in $SCHEMA_NEEDED; do -- cgit