Ben Collins [Thu, 23 Sep 1999 05:32:10 +0000 (05:32 +0000)]
* configure.in: add tcl8.2 to list of tcl libs to search for, also added new MOD_TCL_LIB
and related AC_SUBST() so that when back-tcl is compiled as a dynamic module we link
-ltcl to the module and not slapd (this is the correct way to do this since the .la file
handles giving the correct libs when we pass the module to it in the linker line with
-dlopen). Also modified the perl backend in a similar way except that the PERL_CPPFLAGS
always go to the module and never to slapd (slapd doesn't need them).
* build/mod.mk: added $(MODLIBS) to the dynamic module link line to accomodate module
specific libraries. These should be defined in the back-*/Makefile.in file for each
module (so far only back-tcl and back-perl need it).
* build/top.mk: modified the perl ldflags and cppflags slightly
* servers/slapd/Makefile.in: same here
* servers/slapd/back-perl/Makefile.in: added MODLIBS=$(MOD_PERL_LDFLAGS) for when we are
using a dynamic module (problem, libtool wont allow linking static libs into a libtool
lib, so unless perl's libs are compiled dynamic, then back-perl can't be a dynamic
module. We need a test for this on perl and tcl).
* servers/slapd/back-tcl/Makefile.in: added MODLIBS=$(MOD_TCL_LIB)
* back-perl and back-tcl now compile
Kurt Zeilenga [Thu, 23 Sep 1999 04:08:33 +0000 (04:08 +0000)]
experimental ITS#109 fix: make kbind open default connection if necessary.
implemented ldap_open_defconn() to centralize default connection
opening in open.c. Used by ldap_open, kbind, and send_initial_request().
Much as we would like to, we have to live for the time being with
broken objectclass and attributetype definitions where the OID is
missing. The implementation of OIDmacros was making this impossible.
This change tries to restore the old behaviour, while preserving the
new feature. Note that part of the restored behaviour lets OIDs that
are not in the numericoid format get through. We may lose this, but
then we need to fix some of the sample provided schemas, notably
pilot.schema.
Ben Collins [Wed, 22 Sep 1999 15:00:51 +0000 (15:00 +0000)]
* configure.in: Added better check for libwrap (the old way failed when
libwrap was a dynamic library). Added -lwrap to new subst var WRAP_LIBS
so we have more control over where it get's linked (dynamic libwrap
causes problems when we link to programs that don't define certains
globals that libwrap expects).
* build/top.mk: Added placeholder for WRAP_LIBS subst
* servers/slapd/Makefile.in: Added $(WRAP_LIBS) to the slapd and sslapd
link command line specifically so it doesn't get thrown in with the rest
of the LIBS.
* configure: rebuilt
Kurt Zeilenga [Mon, 20 Sep 1999 20:55:54 +0000 (20:55 +0000)]
Add experimental detection of BerkeleyDB2 DB_THREAD.
If not available, LDBM uses big mutex and BDB2 is disabled.
Should add BerkeleyDB version detection...
Howard Chu [Sat, 18 Sep 1999 23:40:03 +0000 (23:40 +0000)]
Added mixed-case as well as up-cased DN argument. The behavior of back-bdb2
and back-ldbm are preserved, they only use the up-cased DNs. back-passwd
uses the mixed-case DN. All others are using mixed-case DN, may need more
fixing.
Kurt Zeilenga [Thu, 9 Sep 1999 20:35:43 +0000 (20:35 +0000)]
Rework RCS id codes such that they are placed at the top of
configure. Implementation is dependent upon autoconf internals.
Attempts to use AC_REVISION hammered by libtool bugs. Will submit
reports to libtool camp and rework configure.in once fixes are
released.
Kurt Zeilenga [Wed, 8 Sep 1999 20:06:25 +0000 (20:06 +0000)]
Add -C/-CC/-R referral chasing to clients project.
-C chase with prompting
-CC chase without prompting
-R don't chase
with defaults dependent upon authentication method used.
rebind callback also needs to be extended to support SASL and
provide information for prompting purposes. Good intro project.
Kurt Zeilenga [Wed, 8 Sep 1999 19:06:24 +0000 (19:06 +0000)]
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).