Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Christopher Ng
OpenLDAP
Commits
3efd6599
Commit
3efd6599
authored
26 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
include directory getting closer... still not sure how best to
handle ldapconfig.h.in.
parent
c00311bc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
acconfig.h
+5
-17
5 additions, 17 deletions
acconfig.h
build/top.mk
+4
-2
4 additions, 2 deletions
build/top.mk
configure.in
+24
-14
24 additions, 14 deletions
configure.in
include/Makefile.in
+18
-0
18 additions, 0 deletions
include/Makefile.in
include/ldapconfig.h.in
+14
-13
14 additions, 13 deletions
include/ldapconfig.h.in
with
65 additions
and
46 deletions
acconfig.h
+
5
−
17
View file @
3efd6599
/* acconfig.h
This file is in the public domain.
Descriptive text for the C preprocessor macros that
the distributed Autoconf macros can define.
No software package will use all of them; autoheader copies the ones
your configure.in uses into your configuration header file templates.
The entries are in sort -df order: alphabetical, case insensitive,
ignoring punctuation (such as underscores). Although this order
can split up related entries, it makes it easier to check whether
a given entry is in the file.
Leave the following blank line there!! Autoheader needs it. */
...
...
@@ -21,7 +12,7 @@
#undef HAVE_CRYPT
/* define this for connectionless LDAP support */
#undef LDAP_CONN
_
LESS
#undef LDAP_CONN
ECTION
LESS
/* define this to remove -lldap cache support */
#undef LDAP_NOCACHE
...
...
@@ -33,13 +24,13 @@
#undef LDAP_REFERRALS
/* define this to use SLAPD shell backend */
#undef L
D
AP_SHELL
#undef
S
LAP
D
_SHELL
/* define this to use SLAPD passwd backend */
#undef L
D
AP_PASSWD
#undef
S
LAP
D
_PASSWD
/* define this to use SLAPD LDBM backend */
#undef L
D
AP_LDBM
#undef
S
LAP
D
_LDBM
/* define this to use DBBTREE w/ LDBM backend */
#undef LDBM_USE_DBBTREE
...
...
@@ -54,7 +45,4 @@
#undef LDBM_USE_NDBM
/* Leave that blank line there!! Autoheader needs it.
If you're adding to this file, keep in mind:
The entries are in sort -df order: alphabetical, case insensitive,
ignoring punctuation (such as underscores). */
/* Leave that blank line there!! Autoheader needs it. */
This diff is collapsed.
Click to expand it.
build/top.mk
+
4
−
2
View file @
3efd6599
##
## Copyright 1998 Net Boolean Incorporated
## Copyright 1998 The OpenLDAP Foundation
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
## of this package for details.
##
@SET_MAKE@
...
...
@@ -15,7 +17,7 @@ bindir = @bindir@
sbindir
=
@sbindir@
libexecdir
=
@libexecdir@
datadir
=
@datadir@
sysconfdir
=
@sysconfdir@
/ldap
sysconfdir
=
@sysconfdir@
sharedstatedir
=
@sharedstatedir@
localstatedir
=
@localstatedir@
libdir
=
@libdir@
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
24
−
14
View file @
3efd6599
dnl Copyright 1998 The OpenLDAP Foundation. All Rights Reserved.
dnl
dnl Configure.in
dnl Redistribution and use in source and binary forms are permitted only
dnl as authorized by the OpenLDAP Public License. A copy of this
dnl license is available at http://www.OpenLDAP.org/license.html or
dnl in file LICENSE in the top-level directory of the distribution.
dnl ----
dnl Configure.in for OpenLDAP
dnl
AC_INIT(include/ldap.h)
dnl
...
...
@@ -27,8 +33,6 @@ CF_ARG_OPTION(referrals,[ --enable-referrals enable referrals (yes)],[
CF_ARG_OPTION(cldap,[ --enable-clapd enable connectionless ldap (no)],[
LDAP_CLDAP=yes],[LDAP_CLDAP=no],no)dnl
CF_ARG_OPTION(phonetic,[ --enable-phonetic enable phonetic/soundex (no)],[
LDAP_PHONETIC=yes],[LDAP_PHONETIC=no],no)dnl
dnl General "with" options
AC_ARG_WITH(kerberos,[ --with-kerberos use Kerberos (no)],[
...
...
@@ -57,8 +61,10 @@ CF_ARG_OPTION(sha1,[ --enable-sha1 enable SHA1 passwords (yes)],[
SLAPD_SHA1=no],[SLAPD_SHA1=yes],yes)dnl
CF_ARG_OPTION(wrappers,[ --enable-wrappers enable tcp wrapper support (no)],[
SLAPD_TCP_WRAPPERS=yes],[LDAP_TCP_WRAPPERS=no],no)dnl
CF_ARG_OPTION(phonetic,[ --enable-phonetic enable phonetic/soundex (no)],[
SLAPD_PHONETIC=yes],[SLAPD_PHONETIC=no],no)dnl
CF_ARG_OPTION(rlookups,[ --enable-rlookups enable reverse lookups (yes)],[
L
D
AP_RLOOKUP=no],[L
D
AP_RLOOKUP=yes],yes)dnl
S
LAP
D
_RLOOKUP=no],[
S
LAP
D
_RLOOKUP=yes],yes)dnl
dnl SLAPD Backend options
CF_ARG_OPTION(ldbm,[ --enable-ldbm enable ldbm backend (yes)],[
...
...
@@ -111,12 +117,14 @@ if test "$BUILD_SLAPD" != "yes" ; then
fi
AC_SUBST(BUILD_LDAPD)
AC_SUBST(BUILD_SLAPD)
AC_SUBST(SLAPD_LDBM)
AC_SUBST(SLAPD_PASSWD)
AC_SUBST(SLAPD_SHELL)
AC_SUBST(BUILD_SLURPD)
AC_SUBST(SLAPD_LDBM)
AC_SUBST(SLAPD_PASSWD)
AC_SUBST(SLAPD_SHELL)
dnl general LDAP arguments
LDAP_DEFS=
...
...
@@ -125,7 +133,7 @@ if test "$LDAP_DEBUG" = "yes" ; then
LDAP_DEFS="$LDAP_DEFS -DLDAP_DEBUG"
fi
if test "$LDAP_REFERRALS" = "yes" ; then
dnl
AC_DEFINE(LDAP_REFERRALS,1)
AC_DEFINE(LDAP_REFERRALS,1)
LDAP_DEFS="$LDAP_DEFS -DLDAP_REFERRALS"
fi
if test "$LDAP_CACHE" = "no" ; then
...
...
@@ -136,16 +144,16 @@ if test "$LDAP_CLDAP" = "yes" ; then
AC_DEFINE(LDAP_CONNECTIONLESS,1)
LDAP_DEFS="$LDAP_DEFS -DCLDAP"
fi
if test "$LDAP_PHONETIC" = "yes" ; then
AC_DEFINE(LDAP_PHONETIC,1)
LDAP_DEFS="$LDAP_DEFS -DSOUNDEX"
fi
dnl ldapd arguments
LDAPD_DEFS=
dnl slapd arguments
SLAPD_DEFS=
if test "$SLAPD_PHONETIC" = "yes" ; then
AC_DEFINE(SLAPD_PHONETIC,1)
SLAPD_DEFS="$SLAPD_DEFS -DSOUNDEX"
fi
if test "$SLAPD_LDBM" = "yes" ; then
AC_DEFINE(SLAPD_LDBM,1)
...
...
@@ -318,12 +326,12 @@ dnl need do this early
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
dnl append /ldap to $sysconfdir, probably should make this a settable option.
sysconfdir="$sysconfdir/ldap"
SYSCONFDIR=`eval echo $sysconfdir`
AC_SUBST(SYSCONFDIR)
dnl AC_OUTPUT( \
dnl include/ldapconfig.h \
dnl include/Makefile:build/top.mk:include/Makefile.in \
dnl clients/Makefile:build/top.mk:clients/Makefile.in:build/dir.mk \
dnl clients/tools/Makefile:build/top.mk:clients/tools/Makefile.in:build/rules.mk \
dnl clients/ud/Makefile:build/top.mk:clients/ud/Makefile.in:build/rules.mk \
...
...
@@ -356,5 +364,7 @@ dnl Makefile:build/top.mk:Makefile.in:build/dir.mk, \
dnl [date > stamp-h])
AC_OUTPUT( \
include/ldapconfig.h \
include/Makefile:build/top.mk:include/Makefile.in \
Makefile:build/top.mk:Makefile.in:build/dir.mk \
,[date > stamp-h])
This diff is collapsed.
Click to expand it.
include/Makefile.in
0 → 100644
+
18
−
0
View file @
3efd6599
#
# Makefile.in for OpenLDAP include directory
#
install
:
all FORCE
-$(
MKDIR
)
-p
$(
includedir
)
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
644 ldap.h
$(
includedir
)
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
644 lber.h
$(
includedir
)
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
644 proto-lber.h
$(
includedir
)
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
644 proto-ldap.h
$(
includedir
)
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
644 disptmpl.h
$(
includedir
)
$(
INSTALL
)
$(
INSTALLFLAGS
)
-m
644 srchpref.h
$(
includedir
)
all
:
FORCE
clean
:
FORCE
veryclean
:
FORCE
depend
:
FORCE
This diff is collapsed.
Click to expand it.
include/ldapconfig.h.in
+
14
−
13
View file @
3efd6599
...
...
@@ -26,27 +26,28 @@
* SHARED DEFINITIONS - things you should change
*/
#define DEFAULT_BINDIR "@BINDIR@"
#define DEFAULT_SBINDIR "@SBINDIR@"
#define DEFAULT_ETCDIR "@ETCDIR@"
#define DEFAULT_LIBEXECDIR "@LIBEXECDIR@"
#define DEFAULT_SBINDIR "@SBINDIR@"
#define DEFAULT_SYSCONFDIR "@SYSCONFDIR@"
/* default ldap host */
#define LDAPHOST "localhost"
#define DEFAULT_LDAPHOST_FILE "@
ETC
DIR@/ldaphost"
#define DEFAULT_LDAPHOST_FILE "@
SYSCONF
DIR@/ldaphost"
/* default place to start searching */
#define DEFAULT_BASE "o=Your Organization Name, c=US"
#define DEFAULT_BASE_FILE "@
ETC
DIR@/ldapbase"
#define DEFAULT_BASE_FILE "@
SYSCONF
DIR@/ldapbase"
/*
* default binddn and creditials
* use files, make sure they are not generally readable
*/
#define DEFAULT_BINDDN NULL
#define DEFAULT_BINDDN_FILE "@
ETC
DIR@/ldapbinddn"
#define DEFAULT_BINDDN_FILE "@
SYSCONF
DIR@/ldapbinddn"
#define DEFAULT_BIND_CRED NULL
#define DEFAULT_BIND_CRED_FILE "@
ETC
DIR@/ldapbindcred"
#define DEFAULT_BIND_CRED_FILE "@
SYSCONF
DIR@/ldapbindcred"
/*********************************************************************
* *
...
...
@@ -62,10 +63,10 @@
/* default count of DN components to show in entry displays */
#define DEFAULT_RDNCOUNT 2
/* default config file locations */
#define FILTERFILE "@
ETC
DIR@/ldapfilter.conf"
#define TEMPLATEFILE "@
ETC
DIR@/ldaptemplates.conf"
#define SEARCHFILE "@
ETC
DIR@/ldapsearchprefs.conf"
#define FRIENDLYFILE "@
ETC
DIR@/ldapfriendly"
#define FILTERFILE "@
SYSCONF
DIR@/ldapfilter.conf"
#define TEMPLATEFILE "@
SYSCONF
DIR@/ldaptemplates.conf"
#define SEARCHFILE "@
SYSCONF
DIR@/ldapsearchprefs.conf"
#define FRIENDLYFILE "@
SYSCONF
DIR@/ldapfriendly"
/*
* FINGER DEFINITIONS
...
...
@@ -139,7 +140,7 @@ Please try again later.\r\n"
#define GO500GW_BINDDN NULL
#define GO500GW_BIND_CRED NULL
/* where the helpfile lives */
#define GO500GW_HELPFILE "@
ETC
DIR@/go500gw.help"
#define GO500GW_HELPFILE "@
SYSCONF
DIR@/go500gw.help"
/* port on which to listen */
#define GO500GW_PORT 7777
/* timeout on all searches */
...
...
@@ -163,7 +164,7 @@ Please try again later.\r\n"
#define RCPT500_BINDDN NULL
#define RCPT500_BIND_CRED NULL
/* where the helpfile lives */
#define RCPT500_HELPFILE "@
ETC
DIR@/rcpt500.help"
#define RCPT500_HELPFILE "@
SYSCONF
DIR@/rcpt500.help"
/* maximum number of matches returned */
#define RCPT500_SIZELIMIT 50
/* address replies will appear to come from */
...
...
@@ -237,7 +238,7 @@ Please try again later.\r\n"
* UD DEFINITIONS
*/
/* ud configuration file */
#define UD_CONFIG_FILE "@
ETC
DIR@/ud.conf"
#define UD_CONFIG_FILE "@
SYSCONF
DIR@/ud.conf"
/* default editor */
#define UD_DEFAULT_EDITOR "@EDITOR@"
/* default bbasename of user config file */
...
...
@@ -286,7 +287,7 @@ Please try again later.\r\n"
* SLAPD DEFINITIONS
*/
/* location of the default slapd config file */
#define SLAPD_DEFAULT_CONFIGFILE "@
ETC
DIR@/slapd.conf"
#define SLAPD_DEFAULT_CONFIGFILE "@
SYSCONF
DIR@/slapd.conf"
/* default sizelimit on number of entries from a search */
#define SLAPD_DEFAULT_SIZELIMIT 500
/* default timelimit to spend on a search */
...
...
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