mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
cleanup of the tests in back-meta/data; after build, run "setup.sh"
in back-meta/data and follow instructions. minor update of "Changes" and "TODO".
This commit is contained in:
parent
a36a6211e5
commit
00dfed1d0e
5 changed files with 30 additions and 23 deletions
|
|
@ -63,6 +63,5 @@ Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
|
||||||
- checked attribute mapping stuff
|
- checked attribute mapping stuff
|
||||||
|
|
||||||
* Fri May 11 2001 Pierangelo Masarati <ando@sys-net.it>
|
* Fri May 11 2001 Pierangelo Masarati <ando@sys-net.it>
|
||||||
- reworked compare to spawn the request on candidate targets (need to check
|
- reworked compare to spawn the request on candidate targets
|
||||||
at most one matches!)
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,19 @@
|
||||||
|
|
||||||
- dn cache and cache exploitation to refine the candidate selection (?) (FIXED)
|
- dn cache and cache exploitation to refine the candidate selection (?) (FIXED)
|
||||||
|
|
||||||
- review the group and attribute stuff (also in back-ldap!) (FIXED, need to
|
- review the group stuff (also in back-ldap!) (FIXED)
|
||||||
test attribute)
|
|
||||||
|
- review the attribute stuff (also in bacl-ldap)
|
||||||
|
note: this requires changing the acl stuff that checks "dnattr"
|
||||||
|
to call a backend specific function that determines what need
|
||||||
|
be done to retrieve the "dnattr" attribute from an entry.
|
||||||
|
|
||||||
- rework compare and bind to attempt to operate on all candidate entries
|
- rework compare and bind to attempt to operate on all candidate entries
|
||||||
while checking at most one succeedes
|
while checking at most one succeedes (FIXED, check bind)
|
||||||
|
|
||||||
- clear previously bound targets when the bind is repeated
|
- clear previously bound targets when the bind is repeated (FIXED)
|
||||||
|
|
||||||
|
- apply new logging to all the stuff (also in back-ldap)
|
||||||
|
|
||||||
* Long term:
|
* Long term:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ SRCDIR="../../../.."
|
||||||
METADBDIR="./meta-db"
|
METADBDIR="./meta-db"
|
||||||
SLAPADD="$SRCDIR/servers/slapd/tools/slapadd -v"
|
SLAPADD="$SRCDIR/servers/slapd/tools/slapadd -v"
|
||||||
|
|
||||||
ADDCONF="./slapd-meta-plain.conf"
|
#ADDCONF="./slapd-meta-plain.conf"
|
||||||
#ADDCONF="./slapd-meta-rewrite.conf"
|
ADDCONF="./slapd-meta-rewrite.conf"
|
||||||
#ADDCONF="./slapd-ldap-rewrite.conf"
|
#ADDCONF="./slapd-ldap-rewrite.conf"
|
||||||
|
|
||||||
LDAPADDCONF="./slapd-ldap-raw.conf"
|
LDAPADDCONF="./slapd-ldap-raw.conf"
|
||||||
|
|
@ -17,17 +17,19 @@ DEBUG=0
|
||||||
|
|
||||||
rm -rf $METADBDIR
|
rm -rf $METADBDIR
|
||||||
rm -f schema ucdata
|
rm -f schema ucdata
|
||||||
|
|
||||||
|
sed "s/@PORT@/$PORT/" $ADDCONF > $CONF
|
||||||
|
sed "s/@PORT@/$PORT/" $LDAPADDCONF > $LDAPCONF
|
||||||
|
|
||||||
ln -s "$SRCDIR/servers/slapd/schema" .
|
ln -s "$SRCDIR/servers/slapd/schema" .
|
||||||
ln -s "$SRCDIR/libraries/liblunicode" ucdata
|
ln -s "$SRCDIR/libraries/liblunicode" ucdata
|
||||||
|
|
||||||
for i in 1 2 3 ; do
|
for i in 1 2 3 ; do
|
||||||
echo "Feeding directory $i"
|
echo "Feeding directory $i"
|
||||||
mkdir -p "$METADBDIR/$i"
|
mkdir -p "$METADBDIR/$i"
|
||||||
$SLAPADD -f $ADDCONF -n $i -l meta-$i.ldif
|
$SLAPADD -f $ADDCONF -n $i -l meta-$i.ldif
|
||||||
done
|
done
|
||||||
|
|
||||||
sed "s/@PORT@/$PORT/" $ADDCONF > $CONF
|
|
||||||
sed "s/@PORT@/$PORT/" $LDAPADDCONF > $LDAPCONF
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "After slapd started, try"
|
echo "After slapd started, try"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,12 @@ access to *
|
||||||
|
|
||||||
include ./slapd-ldbm.conf
|
include ./slapd-ldbm.conf
|
||||||
|
|
||||||
|
#######################################################################
|
||||||
|
# ldap database with suffix massage definitions
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
include ./slapd-ldap.conf
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# meta database definitions
|
# meta database definitions
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
@ -35,9 +41,3 @@ uri "ldap://localhost:@PORT@/ou=People, dc=foo, dc=example, dc=com"
|
||||||
uri "ldap://localhost:@PORT@/ou=People, dc=bar, dc=example, dc=com"
|
uri "ldap://localhost:@PORT@/ou=People, dc=bar, dc=example, dc=com"
|
||||||
uri "ldap://localhost:@PORT@/ou=Groups, dc=bar, dc=example, dc=com"
|
uri "ldap://localhost:@PORT@/ou=Groups, dc=bar, dc=example, dc=com"
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# ldap database with suffix massage definitions
|
|
||||||
#######################################################################
|
|
||||||
|
|
||||||
include ./slapd-ldap.conf
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,12 @@ access to *
|
||||||
|
|
||||||
include ./slapd-ldbm.conf
|
include ./slapd-ldbm.conf
|
||||||
|
|
||||||
|
#######################################################################
|
||||||
|
# ldap database with suffix massage definitions
|
||||||
|
#######################################################################
|
||||||
|
|
||||||
|
include ./slapd-ldap.conf
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# meta database definitions
|
# meta database definitions
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
@ -74,9 +80,3 @@ rewriteRule "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar, c=US"
|
||||||
rewriteContext searchFilter
|
rewriteContext searchFilter
|
||||||
rewriteRule "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3"
|
rewriteRule "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3"
|
||||||
|
|
||||||
#######################################################################
|
|
||||||
# ldap database with suffix massage definitions
|
|
||||||
#######################################################################
|
|
||||||
|
|
||||||
include ./slapd-ldap.conf
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue