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:
Pierangelo Masarati 2001-05-13 17:58:03 +00:00
parent a36a6211e5
commit 00dfed1d0e
5 changed files with 30 additions and 23 deletions

View file

@ -63,6 +63,5 @@ Copyright 2001, Pierangelo Masarati, All rights reserved. <ando@sys-net.it>
- checked attribute mapping stuff
* Fri May 11 2001 Pierangelo Masarati <ando@sys-net.it>
- reworked compare to spawn the request on candidate targets (need to check
at most one matches!)
- reworked compare to spawn the request on candidate targets

View file

@ -6,13 +6,19 @@
- dn cache and cache exploitation to refine the candidate selection (?) (FIXED)
- review the group and attribute stuff (also in back-ldap!) (FIXED, need to
test attribute)
- review the group stuff (also in back-ldap!) (FIXED)
- 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
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:

View file

@ -4,8 +4,8 @@ SRCDIR="../../../.."
METADBDIR="./meta-db"
SLAPADD="$SRCDIR/servers/slapd/tools/slapadd -v"
ADDCONF="./slapd-meta-plain.conf"
#ADDCONF="./slapd-meta-rewrite.conf"
#ADDCONF="./slapd-meta-plain.conf"
ADDCONF="./slapd-meta-rewrite.conf"
#ADDCONF="./slapd-ldap-rewrite.conf"
LDAPADDCONF="./slapd-ldap-raw.conf"
@ -17,17 +17,19 @@ DEBUG=0
rm -rf $METADBDIR
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/libraries/liblunicode" ucdata
for i in 1 2 3 ; do
echo "Feeding directory $i"
mkdir -p "$METADBDIR/$i"
$SLAPADD -f $ADDCONF -n $i -l meta-$i.ldif
done
sed "s/@PORT@/$PORT/" $ADDCONF > $CONF
sed "s/@PORT@/$PORT/" $LDAPADDCONF > $LDAPCONF
echo ""
echo "After slapd started, try"
echo ""

View file

@ -24,6 +24,12 @@ access to *
include ./slapd-ldbm.conf
#######################################################################
# ldap database with suffix massage definitions
#######################################################################
include ./slapd-ldap.conf
#######################################################################
# 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=Groups, dc=bar, dc=example, dc=com"
#######################################################################
# ldap database with suffix massage definitions
#######################################################################
include ./slapd-ldap.conf

View file

@ -36,6 +36,12 @@ access to *
include ./slapd-ldbm.conf
#######################################################################
# ldap database with suffix massage definitions
#######################################################################
include ./slapd-ldap.conf
#######################################################################
# meta database definitions
#######################################################################
@ -74,9 +80,3 @@ rewriteRule "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar, c=US"
rewriteContext searchFilter
rewriteRule "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3"
#######################################################################
# ldap database with suffix massage definitions
#######################################################################
include ./slapd-ldap.conf