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
Dragoș Haiduc
OpenLDAP
Commits
f5851f30
Commit
f5851f30
authored
20 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
Added referential integrity and attribute uniqueness overlays
parent
f203ce2c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure
+988
-909
988 additions, 909 deletions
configure
configure.in
+30
-1
30 additions, 1 deletion
configure.in
include/portable.h.in
+6
-0
6 additions, 0 deletions
include/portable.h.in
with
1024 additions
and
910 deletions
configure
+
988
−
909
View file @
f5851f30
This diff is collapsed.
Click to expand it.
configure.in
+
30
−
1
View file @
f5851f30
...
...
@@ -223,7 +223,8 @@ OL_ARG_ENABLE(sql,[ --enable-sql enable sql backend no|yes|mod], no, [no ye
dnl ----------------------------------------------------------------
dnl SLAPD Overlay Options
Overlays="chain denyop dyngroup lastmod ppolicy proxycache rwm"
Overlays="chain denyop dyngroup lastmod ppolicy proxycache rwm \
refint unique"
AC_ARG_WITH(xxslapoverlays,[
SLAPD Overlay Options:])
...
...
@@ -239,8 +240,10 @@ OL_ARG_ENABLE(lastmod,[ --enable-lastmod Last Modification overlay no|yes|m
OL_ARG_ENABLE(ppolicy,[ --enable-ppolicy Password Policy overlay no|yes|mod], no,
[no yes mod])
OL_ARG_ENABLE(proxycache,[ --enable-proxycache Proxy Cache overlay no|yes|mod], no,
OL_ARG_ENABLE(refint,[ --enable-refint Referential Integrity overlay no|yes|mod], no,
[no yes mod])
OL_ARG_ENABLE(rwm,[ --enable-rwm Rewrite/Remap overlay no|yes|mod], no,
OL_ARG_ENABLE(unique,[ --enable-unique Attribute Uniqueness overlay no|yes|mod], no,
[no yes mod])
dnl ----------------------------------------------------------------
...
...
@@ -478,7 +481,9 @@ BUILD_DYNGROUP=no
BUILD_LASTMOD=no
BUILD_PPOLICY=no
BUILD_PROXYCACHE=no
BUILD_REFINT=no
BUILD_RWM=no
BUILD_UNIQUE=no
SLAPD_DYNAMIC_OVERLAYS=
...
...
@@ -2661,6 +2666,17 @@ if test "$ol_enable_proxycache" != no ; then
AC_DEFINE_UNQUOTED(SLAPD_OVER_PROXYCACHE,$MFLAG,[define for Proxy Cache overlay])
fi
if test "$ol_enable_refint" != no ; then
BUILD_REFINT=$ol_enable_refint
if test "$ol_enable_refint" = mod ; then
MFLAG=SLAPD_MOD_DYNAMIC
SLAPD_DYNAMIC_OVERLAYS="$SLAPD_DYNAMIC_OVERLAYS refint.la"
else
MFLAG=SLAPD_MOD_STATIC
fi
AC_DEFINE_UNQUOTED(SLAPD_OVER_REFINT,$MFLAG,[define for Referential Integrity overlay])
fi
if test "$ol_enable_rwm" != no ; then
BUILD_REWRITE=yes
BUILD_RWM=$ol_enable_rwm
...
...
@@ -2673,6 +2689,17 @@ if test "$ol_enable_rwm" != no ; then
AC_DEFINE_UNQUOTED(SLAPD_OVER_RWM,$MFLAG,[define for Rewrite/Remap overlay])
fi
if test "$ol_enable_unique" != no ; then
BUILD_UNIQUE=$ol_enable_unique
if test "$ol_enable_unique" = mod ; then
MFLAG=SLAPD_MOD_DYNAMIC
SLAPD_DYNAMIC_OVERLAYS="$SLAPD_DYNAMIC_OVERLAYS unique.la"
else
MFLAG=SLAPD_MOD_STATIC
fi
AC_DEFINE_UNQUOTED(SLAPD_OVER_UNIQUE,$MFLAG,[define for Attribute Uniqueness overlay])
fi
if test "$ol_enable_slurpd" != no -a "$ol_link_threads" != no -a \
$BUILD_SLAPD = yes ; then
BUILD_SLURPD=yes
...
...
@@ -2739,7 +2766,9 @@ dnl overlays
AC_SUBST(BUILD_LASTMOD)
AC_SUBST(BUILD_PPOLICY)
AC_SUBST(BUILD_PROXYCACHE)
AC_SUBST(BUILD_REFINT)
AC_SUBST(BUILD_RWM)
AC_SUBST(BUILD_UNIQUE)
AC_SUBST(BUILD_SLURPD)
AC_SUBST(LDAP_LIBS)
...
...
This diff is collapsed.
Click to expand it.
include/portable.h.in
+
6
−
0
View file @
f5851f30
...
...
@@ -1001,9 +1001,15 @@
/* define for Proxy Cache overlay */
#undef SLAPD_OVER_PROXYCACHE
/* define for Referential Integrity overlay */
#undef SLAPD_OVER_REFINT
/* define for Rewrite/Remap overlay */
#undef SLAPD_OVER_RWM
/* define for Attribute Uniqueness overlay */
#undef SLAPD_OVER_UNIQUE
/* define to enable rewriting in back-ldap and back-meta */
#undef ENABLE_REWRITE
...
...
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