summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-15 00:31:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:49 -0500
commitc66dbe0c3e57eabacd28658891e356b724fd3fba (patch)
tree1a1f94260cb67ff83abd1e179703c4ade76c6492 /source4/lib
parentf7cbd3450b0099cc2b79e786b9a4fe3fdd9594ff (diff)
downloadsamba-c66dbe0c3e57eabacd28658891e356b724fd3fba.tar.gz
samba-c66dbe0c3e57eabacd28658891e356b724fd3fba.tar.bz2
samba-c66dbe0c3e57eabacd28658891e356b724fd3fba.zip
r3743: auto-support the RH schema location as well
(This used to be commit 4fc794d0b4bc6f2a0115628589f9366800a369ca)
Diffstat (limited to 'source4/lib')
-rwxr-xr-xsource4/lib/ldb/tests/test-ldap.sh4
1 files changed, 4 insertions, 0 deletions
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