1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

r3743: auto-support the RH schema location as well

(This used to be commit 4fc794d0b4bc6f2a0115628589f9366800a369ca)
This commit is contained in:
Andrew Tridgell 2004-11-15 00:31:32 +00:00 committed by Gerald (Jerry) Carter
parent f7cbd3450b
commit c66dbe0c3e

View File

@ -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