Author: tridge
Date: 2004-11-15 00:31:32 +0000 (Mon, 15 Nov 2004)
New Revision: 3743

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3743

Log:
auto-support the RH schema location as well

Modified:
   branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh        2004-11-15 
00:15:25 UTC (rev 3742)
+++ branches/SAMBA_4_0/source/lib/ldb/tests/test-ldap.sh        2004-11-15 
00:31:32 UTC (rev 3743)
@@ -10,6 +10,10 @@
            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

Reply via email to