]> git.sur5r.net Git - openldap/commitdiff
remove obsolete tests
authorPierangelo Masarati <ando@openldap.org>
Wed, 11 May 2005 08:39:39 +0000 (08:39 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 11 May 2005 08:39:39 +0000 (08:39 +0000)
servers/slapd/back-meta/data/meta-1.ldif [deleted file]
servers/slapd/back-meta/data/meta-2.ldif [deleted file]
servers/slapd/back-meta/data/meta-3.ldif [deleted file]
servers/slapd/back-meta/data/setup.sh [deleted file]
servers/slapd/back-meta/data/slapd-ldap-raw.conf [deleted file]
servers/slapd/back-meta/data/slapd-ldap-rewrite.conf [deleted file]
servers/slapd/back-meta/data/slapd-ldbm.conf [deleted file]
servers/slapd/back-meta/data/slapd-meta-plain.conf [deleted file]
servers/slapd/back-meta/data/slapd-meta-rewrite.conf [deleted file]

diff --git a/servers/slapd/back-meta/data/meta-1.ldif b/servers/slapd/back-meta/data/meta-1.ldif
deleted file mode 100644 (file)
index 23c9b53..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-dn: ou=People,dc=foo,dc=example,dc=com
-objectClass: top
-objectClass: organizationalUnit
-ou: People
-
-dn: cn=Ando,ou=People,dc=foo,dc=example,dc=com
-objectClass: top
-objectClass: person
-cn: Ando
-sn: Ando
-userPassword: ando
-
diff --git a/servers/slapd/back-meta/data/meta-2.ldif b/servers/slapd/back-meta/data/meta-2.ldif
deleted file mode 100644 (file)
index 5c33b76..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-dn: ou=People,dc=bar,dc=example,dc=com
-objectClass: top
-objectClass: organizationalUnit
-ou: People
-
-dn: cn=Ando,ou=People,dc=bar,dc=example,dc=com
-objectClass: top
-objectClass: person
-cn: Ando
-sn: Ando
-userPassword: ando
-
diff --git a/servers/slapd/back-meta/data/meta-3.ldif b/servers/slapd/back-meta/data/meta-3.ldif
deleted file mode 100644 (file)
index 7a6668e..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-dn: ou=Groups,dc=bar,dc=example,dc=com
-objectClass: top
-objectClass: organizationalUnit
-ou: Groups
-
-dn: cn=Users,ou=Groups,dc=bar,dc=example,dc=com
-objectClass: top
-objectClass: groupOfNames
-objectClass: simpleSecurityObject
-cn: Users
-member: cn=Users,ou=Groups,dc=bar,dc=example,dc=com
-member: cn=Ando,ou=People,dc=bar,dc=example,dc=com
-userPassword: users
diff --git a/servers/slapd/back-meta/data/setup.sh b/servers/slapd/back-meta/data/setup.sh
deleted file mode 100644 (file)
index 178644a..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/bin/sh
-
-SRCDIR="../../../.."
-METADBDIR="./meta-db"
-SLAPADD="$SRCDIR/servers/slapd/tools/slapadd -v"
-
-#ADDCONF="./slapd-meta-plain.conf"
-ADDCONF="./slapd-meta-rewrite.conf"
-#ADDCONF="./slapd-ldap-rewrite.conf"
-
-LDAPADDCONF="./slapd-ldap-raw.conf"
-CONF="./slapd.conf"
-LDAPCONF="./slapd-ldap.conf"
-PORT=9876
-#DEBUG=-1
-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 `expr $i + 1` -l meta-$i.ldif
-done
-
-echo ""
-echo "After slapd started, try"
-echo ""
-echo "    ldapsearch -x -H ldap://:$PORT/ -b '' -s base namingContexts"
-echo ""
-echo "and browse the directory using the last base that appears;"
-echo "you may also try to bind as administrator of each subdirectory"
-echo "or as \"cn=Ando, ...\" with password \"ando\": notice what happens"
-echo "to attrs \"sn\" and \"cn\" of some entries based on the ACLs ..."
-echo ""
-
-echo "Starting slapd on port $PORT"
-$SRCDIR/servers/slapd/slapd -f $CONF -h "ldap://:$PORT/" -d $DEBUG
-echo "Waiting 2 secs for everything to shut down ..."
-sleep 2
-
-#exit
-
-rm -rf $METADBDIR
-rm -f schema ucdata $CONF $LDAPCONF
-
diff --git a/servers/slapd/back-meta/data/slapd-ldap-raw.conf b/servers/slapd/back-meta/data/slapd-ldap-raw.conf
deleted file mode 100644 (file)
index 856412e..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#######################################################################
-# ldap database with suffix massage definitions
-#######################################################################
-
-database       ldap
-uri            "ldap://localhost:@PORT@/"
-suffix         "o=FB,c=US"
-suffixmassage  "o=FB,c=US" "ou=Groups,dc=bar,dc=example,dc=com"
-lastmod                off
-
-access to dn.regex="[^,]+,o=FB,c=US" attr=cn
-       by group.exact="cn=Users,o=FB,c=US" read
-       by group.exact="cn=Users,ou=Groups,dc=bar,dc=example,dc=com" read
-       by * none
-
diff --git a/servers/slapd/back-meta/data/slapd-ldap-rewrite.conf b/servers/slapd/back-meta/data/slapd-ldap-rewrite.conf
deleted file mode 100644 (file)
index ccee741..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# master slapd config -- for testing of ldap metadirectory rewrite
-#
-ucdata-path    ./ucdata
-include                ./schema/core.schema
-include                ./schema/cosine.schema
-include                ./schema/inetorgperson.schema
-#
-schemacheck    off
-#
-pidfile                ./meta-db/slapd.pid
-argsfile       ./meta-db/slapd.args
-
-access to attr=userPassword 
-       by anonymous auth
-       by self write
-
-access to dn.regex="[^,]+,ou=People,dc=[^,]+,o=Foo Bar,c=US" attr=sn
-       by group.exact="cn=Users,ou=Groups,dc=bar,o=Foo Bar,c=US" read
-       by * none
-
-access to dn.regex="[^,]+,ou=Groups,dc=[^,]+,o=Foo Bar,c=US" attr=cn
-       by group.exact="cn=Users,ou=Groups,dc=bar,o=Foo Bar,c=US" read
-       by * none
-
-#access to dn.regex="[^,]+,ou=Groups,dc=[^,]+,o=Foo Bar,c=US" attr=cn
-#      by dnattr=member read
-#      by * none
-
-access to * 
-       by * read
-
-#######################################################################
-# ldap database with suffix massage definitions
-#######################################################################
-
-include                ./slapd-ldap.conf
-
-#######################################################################
-# ldbm database definitions
-#######################################################################
-
-include                ./slapd-ldbm.conf
-
-
diff --git a/servers/slapd/back-meta/data/slapd-ldbm.conf b/servers/slapd/back-meta/data/slapd-ldbm.conf
deleted file mode 100644 (file)
index 6b6c17a..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#
-# slapd config -- for testing of ldap metadirectory
-#
-
-#######################################################################
-# ldbm database definitions
-#######################################################################
-
-database       ldbm
-suffix         "ou=People,dc=foo,dc=example,dc=com"
-rootdn         "cn=Root,ou=People,dc=foo,dc=example,dc=com"
-rootpw         ldap
-directory      ./meta-db/1
-lastmod                on
-index          objectClass     pres,eq
-
-database       ldbm
-suffix         "ou=People,dc=bar,dc=example,dc=com"
-rootdn         "cn=Root,ou=People,dc=bar,dc=example,dc=com"
-rootpw         ldap
-directory      ./meta-db/2
-index          objectClass     pres,eq
-
-database       ldbm
-suffix         "ou=Groups,dc=bar,dc=example,dc=com"
-rootdn         "cn=Root,ou=Groups,dc=bar,dc=example,dc=com"
-rootpw         ldap
-directory      ./meta-db/3
-index          objectClass     pres,eq
-
diff --git a/servers/slapd/back-meta/data/slapd-meta-plain.conf b/servers/slapd/back-meta/data/slapd-meta-plain.conf
deleted file mode 100644 (file)
index 78b6cd9..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# master slapd config -- for testing of ldap metadirectory
-#
-ucdata-path    ./ucdata
-include                ./schema/core.schema
-include                ./schema/cosine.schema
-include                ./schema/inetorgperson.schema
-#
-schemacheck    off
-#
-pidfile                ./meta-db/slapd.pid
-argsfile       ./meta-db/slapd.args
-
-access to attr=userPassword
-       by anonymous auth
-       by self write
-
-access to * 
-       by * read
-                       
-#######################################################################
-# ldbm database definitions
-#######################################################################
-
-include                ./slapd-ldbm.conf
-
-#######################################################################
-# ldap database with suffix massage definitions
-#######################################################################
-
-include                ./slapd-ldap.conf
-
-#######################################################################
-# meta database definitions
-#######################################################################
-
-database       meta
-suffix         "dc=example,dc=com"
-dncache-ttl    forever
-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"
-
diff --git a/servers/slapd/back-meta/data/slapd-meta-rewrite.conf b/servers/slapd/back-meta/data/slapd-meta-rewrite.conf
deleted file mode 100644 (file)
index 0f557f5..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-#
-# master slapd config -- for testing of ldap metadirectory rewrite
-#
-ucdata-path    ./ucdata
-include                ./schema/core.schema
-include                ./schema/cosine.schema
-include                ./schema/inetorgperson.schema
-#
-schemacheck    off
-#
-pidfile                ./meta-db/slapd.pid
-argsfile       ./meta-db/slapd.args
-
-access to attr=userPassword 
-       by anonymous auth
-       by self write
-
-access to dn.regex="[^,]+,ou=People,dc=[^,]+,o=Foo Bar,c=US" attr=sn
-       by group.exact="cn=Users,ou=Groups,dc=bar,o=Foo Bar,c=US" read
-       by * none
-
-access to dn.regex="[^,]+,ou=Groups,dc=[^,]+,o=Foo Bar,c=US" attr=cn
-       by group.exact="cn=Users,ou=Groups,dc=bar,o=Foo Bar,c=US" read
-       by * none
-
-#access to dn.regex="[^,]+,ou=Groups,dc=[^,]+,o=Foo Bar,c=US" attr=cn
-#      by dnattr=member read
-#      by * none
-
-access to * 
-       by * read
-
-#######################################################################
-# ldap database with suffix massage definitions
-#######################################################################
-
-include                ./slapd-ldap.conf
-
-#######################################################################
-# ldbm database definitions
-#######################################################################
-
-include                ./slapd-ldbm.conf
-
-#######################################################################
-# meta database definitions
-#######################################################################
-
-database       meta
-suffix         "o=Foo Bar,c=US"
-dncache-ttl    forever
-lastmod                off
-rootdn         "cn=root,o=Foo Bar,c=US"
-rootpw         foo
-
-uri            "ldap://localhost:@PORT@/ou=People,dc=foo,o=Foo Bar,c=US"
-pseudorootdn   "cn=Root,ou=People,dc=foo,dc=example,dc=com"
-pseudorootpw   ldap
-rewriteEngine  on
-rewriteContext default
-rewriteRule    "(.*)o=Foo Bar,[ ]?c=US" "%1dc=example,dc=com"
-rewriteContext searchResult
-rewriteRule    "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar,c=US"
-rewriteContext searchAttrDN alias searchResult
-rewriteContext searchFilter
-rewriteRule    "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3"
-
-uri            "ldap://localhost:@PORT@/ou=People,dc=bar,o=Foo Bar,c=US"
-pseudorootdn   "cn=Root,ou=People,dc=bar,dc=example,dc=com"
-pseudorootpw   ldap
-rewriteEngine  on
-rewriteContext default
-rewriteRule    "(.*)o=Foo Bar,[ ]?c=US" "%1dc=example,dc=com"
-rewriteContext searchResult
-rewriteRule    "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar,c=US"
-rewriteContext searchAttrDN alias searchResult
-rewriteContext searchFilter
-rewriteRule    "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3"
-default-target
-map            attribute givenName sn
-
-uri            "ldap://localhost:@PORT@/ou=Groups,dc=bar,o=Foo Bar,c=US"
-rewriteEngine  on
-rewriteContext default
-rewriteRule    "(.*)o=Foo Bar,[ ]?c=US" "%1dc=example,dc=com"
-rewriteContext searchResult
-rewriteRule    "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar,c=US"
-rewriteContext searchAttrDN alias searchResult
-rewriteContext searchFilter
-rewriteRule    "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3"
-