git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b03ff
)
r3743: auto-support the RH schema location as well
author
Andrew Tridgell
<tridge@samba.org>
Mon, 15 Nov 2004 00:31:32 +0000
(
00:31
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:05:49 +0000
(13:05 -0500)
source/lib/ldb/tests/test-ldap.sh
patch
|
blob
|
history
diff --git
a/source/lib/ldb/tests/test-ldap.sh
b/source/lib/ldb/tests/test-ldap.sh
index 3e285a39a95bb29b588399a22dd8c81a780f1bc4..37827219c01d91d4f3f7661afa0a6f6300b21ab3 100755
(executable)
--- a/
source/lib/ldb/tests/test-ldap.sh
+++ b/
source/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