Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jaak Ristioja
OpenLDAP
Commits
3c50386b
Commit
3c50386b
authored
20 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
ad test for back-relay and rwm overlay
parent
22bd2667
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
tests/data/slapd-relay.conf
+51
-0
51 additions, 0 deletions
tests/data/slapd-relay.conf
tests/run.in
+4
-2
4 additions, 2 deletions
tests/run.in
tests/scripts/conf.sh
+2
-0
2 additions, 0 deletions
tests/scripts/conf.sh
tests/scripts/defines.sh
+3
-0
3 additions, 0 deletions
tests/scripts/defines.sh
with
60 additions
and
2 deletions
tests/data/slapd-relay.conf
0 → 100644
+
51
−
0
View file @
3c50386b
# master slapd config -- for testing
# $OpenLDAP$
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 1998-2004 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.
include
./
schema
/
core
.
schema
include
./
schema
/
cosine
.
schema
include
./
schema
/
inetorgperson
.
schema
include
./
schema
/
openldap
.
schema
include
./
schema
/
nis
.
schema
include
./
schema
/
ppolicy
.
schema
pidfile
./
test
-
db
/
slapd
.
pid
argsfile
./
test
-
db
/
slapd
.
args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
#rwmmod#moduleload ../servers/slapd/overlays/rwm.la
#######################################################################
# ldbm database definitions
#######################################################################
database
@
BACKEND
@
suffix
"dc=example,dc=com"
directory
./
testrun
/
db
.
1
.
a
rootdn
"cn=Manager,dc=example,dc=com"
rootpw
secret
index
objectClass
eq
database
relay
suffix
"o=Example,c=US"
relay
"dc=example,dc=com"
massage
database
relay
suffix
"o=Esempio,c=IT"
relay
"dc=example,dc=com"
massage
database
relay
suffix
"o=Beispiel,c=DE"
relay
"dc=example,dc=com"
massage
This diff is collapsed.
Click to expand it.
tests/run.in
+
4
−
2
View file @
3c50386b
...
...
@@ -26,16 +26,18 @@ AC_bdb=@BUILD_BDB@
AC_hdb
=
@BUILD_HDB@
AC_ldbm
=
@BUILD_LDBM@
AC_ldap
=
ldap@BUILD_LDAP@
AC_relay
=
relay@BUILD_RELAY@
AC_pcache
=
pcache@BUILD_PROXYCACHE@
AC_ppolicy
=
ppolicy@BUILD_PPOLICY@
AC_refint
=
refint@BUILD_REFINT@
AC_unique
=
unique@BUILD_UNIQUE@
AC_rwm
=
rwm@BUILD_RWM@
AC_MONITOR
=
@BUILD_MONITOR@
AC_WITH_SASL
=
@WITH_SASL@
AC_WITH_TLS
=
@WITH_TLS@
export
AC_MONITOR AC_WITH_SASL AC_WITH_TLS AC_ldap AC_
pcache AC_ppolic
y
export
AC_refint AC_unique
export
AC_MONITOR AC_WITH_SASL AC_WITH_TLS AC_ldap AC_
rela
y
export
AC_pcache AC_ppolicy
AC_refint AC_unique
AC_rwm
if
test
!
-x
../servers/slapd/slapd
;
then
echo
"Could not locate slapd(8)"
...
...
This diff is collapsed.
Click to expand it.
tests/scripts/conf.sh
+
2
−
0
View file @
3c50386b
...
...
@@ -36,10 +36,12 @@ sed -e "s/@BACKEND@/${BACKEND}/" \
-e
"s/^#
${
BACKEND
}
#//"
\
-e
"s/^#
${
BACKENDTYPE
}
#//"
\
-e
"s/^#
${
AC_ldap
}
#//"
\
-e
"s/^#
${
AC_relay
}
#//"
\
-e
"s/^#
${
AC_pcache
}
#//"
\
-e
"s/^#
${
AC_ppolicy
}
#//"
\
-e
"s/^#
${
AC_refint
}
#//"
\
-e
"s/^#
${
AC_unique
}
#//"
\
-e
"s/^#
${
AC_rwm
}
#//"
\
-e
"s/^#
${
MON
}
#//"
\
-e
"s/^#
${
MONMOD
}
#//"
\
-e
"s/^#
${
SASL
}
#//"
\
...
...
This diff is collapsed.
Click to expand it.
tests/scripts/defines.sh
+
3
−
0
View file @
3c50386b
...
...
@@ -15,10 +15,12 @@
MONITORDB
=
${
AC_MONITOR
-no
}
BACKLDAP
=
${
AC_ldap
-ldapno
}
BACKRELAY
=
${
AC_relay
-relayno
}
PROXYCACHE
=
${
AC_pcache
-pcacheno
}
PPOLICY
=
${
AC_ppolicy
-ppolicyno
}
REFINT
=
${
AC_refint
-refintno
}
UNIQUE
=
${
AC_unique
-uniqueno
}
RWM
=
${
AC_rwm
-rwmno
}
WITH_SASL
=
${
AC_WITH_SASL
-no
}
USE_SASL
=
${
SLAPD_USE_SASL
-no
}
WITHTLS
=
${
AC_WITHTLS
-yes
}
...
...
@@ -67,6 +69,7 @@ IDASSERTCONF=$DATADIR/slapd-idassert.conf
LDAPGLUECONF1
=
$DATADIR
/slapd-ldapglue.conf
LDAPGLUECONF2
=
$DATADIR
/slapd-ldapgluepeople.conf
LDAPGLUECONF3
=
$DATADIR
/slapd-ldapgluegroups.conf
RWMCONF
=
$DATADIR
/slapd-relay.conf
CONF1
=
$TESTDIR
/slapd.1.conf
CONF2
=
$TESTDIR
/slapd.2.conf
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment