Commit Graph

297 Commits

Author SHA1 Message Date
Kurt Zeilenga
643864c569 Change negotiated mechanism:
If application provide one, use it.  If application doesn't
	provide one, use best of server advertised.
Fix SASL/ANONYMOUS (not normally used, but should work)
PLAIN is not currently working... might be local to me as my
Cyrus installation is a bit hosted.
2000-05-11 20:16:26 +00:00
Kurt Zeilenga
cb8d9e16e9 Add bind handler which returns unwillingToPerform with
nasty message if password was provided.
2000-05-10 23:54:57 +00:00
Kurt Zeilenga
1dc3e3c408 Add basic and EXPERIMENTAL chroot() support. 2000-05-10 23:30:52 +00:00
Kurt Zeilenga
dbde2604d7 Additional DNS SRV framework (a work in progress)
add common request handler
	remove bind handler (not needed)
2000-05-10 20:11:58 +00:00
Kurt Zeilenga
36d5d25e31 Additional DNS SRV framework (a work in progress)
Fix --disable-spasswd
2000-05-10 20:07:01 +00:00
Kurt Zeilenga
2c2a54d6d7 Add DNS SRV backend framework (a work in progress). 2000-05-10 18:17:38 +00:00
Kurt Zeilenga
056a1e27db Remove extra --enable-modules flag... 2000-05-10 04:31:42 +00:00
Kurt Zeilenga
f224e69558 Add experimental code to check simple bind passwords
against Cyrus SASLdb.  Like other cleartext mechanisms,
should be protected from eavesdropping.
2000-05-10 04:29:51 +00:00
Kurt Zeilenga
404ca4a985 Regen. 2000-03-17 02:10:14 +00:00
Kurt Zeilenga
6141b1eebe Delete (again) unneeded discrete-aci flag and regenerate... 2000-03-16 19:14:48 +00:00
Kurt Zeilenga
0dbaf87730 Another round of changes behind -DSLAPD_SCHEMA_NOT_COMPAT
plus these changes unhidden changes:
	remove now meaning --enable-discreteaci configure option
	fix ITS#451, slapd filters
	Add ber_bvecadd() to support above
	constify ldap_pvt_find_wildcard() and misc slapd routines
	renamed some slap.h macros
	likely broken something
2000-02-14 20:57:34 +00:00
Kurt Zeilenga
c889235649 Only allow NDBM if manually selected. Provide no hints that
one can select NDBM as NDBM is not supported.
2000-01-27 19:33:59 +00:00
Kurt Zeilenga
f9427e0bcf Regenerate just to sure 2000-01-27 19:32:04 +00:00
Kurt Zeilenga
5ae4ea3593 Don't even spit out NDBM skipped warning 2000-01-27 19:30:57 +00:00
Kurt Zeilenga
45842ab4a1 Don't list NDBM as an option. 2000-01-27 19:11:44 +00:00
Kurt Zeilenga
dd1e4fc53d Add -llunicode to build environment 2000-01-26 00:00:45 +00:00
Kurt Zeilenga
9c4c8e8c1f Regenerate using proper tools. 2000-01-13 23:02:51 +00:00
Kurt Zeilenga
0426431639 Fix --enabel-kbind=auto --without-kerberos detection 2000-01-11 04:20:59 +00:00
Kurt Zeilenga
fb49e2771e --disable-kbind --disable-kpasswd should imply --without-kerberos
under "auto" selection.  If not auto, just warn.
Rebuild configure using appropriate tools.
2000-01-08 19:23:26 +00:00
Kurt Zeilenga
6437785a82 Initial implementation of Kerberos password verification for
simple bind via:
	{KERBEROS}principal
Code is disabled by default (for security reasons).  Use
--enable-kpasswd to enable.  Behind SLAPD_KPASSWD.
Reworked Kerberos detection and split out KBIND as independent
feature (--disable-kbind) (LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND).
KBIND depends upon detection of KRB4 (or KRB425) support.  Detection,
building with eBones (as distributed with FreeBSD 3.4) okay, but
wasn't able to test as I don't have a K4 KDC handy.
--with-kerberos has a number of detection options... most likely
don't work properly.
2000-01-08 18:42:11 +00:00
Luke Howard
9b4e3b2234 Merged in preliminary support for Cyrus SASL library;
support for DCE slash-delimited, left-to-right DNs;
support for a domain socket transport (enable with
--enable-ldapi); and extensions to URL parsing to
support the latter transport.
2000-01-02 01:21:25 +00:00
Kurt Zeilenga
d9ddb1861f Rebuild using:
autoconf 2.13.3
	aclocal from automake 1.14a
	libtool 1.3.3
1999-12-22 19:43:20 +00:00
Kurt Zeilenga
8b99e6cdbd Remove LBER_{TAG,INT,LEN}_{NTOH,HTON} macros. Rewrite code to
manual push bytes about.  Allows ber_*_t to be any 32-bit or
larger type.  Reworked AC_{HTON,NTOH}{L,S} macros to care only
about 32-bit (netlong) and 16-bit (netshort) reordering as
needed for BSD socket interface.
1999-11-26 23:32:18 +00:00
Kurt Zeilenga
c59d1a34db Use 'long' for LBER_INT_T. 1999-11-25 17:45:21 +00:00
Kurt Zeilenga
62a06eda3e Don't use 'int' for LBER_*_T types as we only have hton{s,l}.
Select appropriopriate hton{s,l} function to use in lber-int.h.
1999-11-25 17:10:45 +00:00
Kurt Zeilenga
d99d3c634a Make sure generated files are up to date.... 1999-11-17 02:25:20 +00:00
Kurt Zeilenga
357101793b Use lber types instead of uint32 for md5. sha1 still requires
an integer type of exactly 32 bits.
1999-11-17 02:04:06 +00:00
Kurt Zeilenga
a90a38ec2d write winsock with AC_CACHE_CHECK to allow mangling via environment. 1999-11-02 02:32:55 +00:00
Kurt Zeilenga
89893b0fbf Remove unnecessary dependency upon $ac_cv_mingw32. 1999-11-02 02:10:36 +00:00
Kurt Zeilenga
709f5ecb90 Modify NT Threads check to use AC_CHECK_FUNC(_beginthread) 1999-11-02 01:35:20 +00:00
Kurt Zeilenga
daa7907b4f Move NT Thread test into build/openldap.m4. Still bogus (only
enables if MINGW32 and always enables if MINGW32).
1999-11-01 23:45:09 +00:00
Kurt Zeilenga
320cc86969 Define HAVE_NT_EVENT_LOG && HAVE_NT_SERVICE_MANAGER when HAVE_NT_THREADS 1999-11-01 22:06:00 +00:00
Kurt Zeilenga
bb1b81473b Add configure tests for ssize_t and caddr_t and remove NT preamble
(excepting WIN32_LEAN_AND_MEAN).  Rework openlog/closelog use to
eliminate need for defines.
1999-11-01 18:14:26 +00:00
Kurt Zeilenga
4757d60fb4 Use compile time, instead of run time, sizeof checks. 1999-11-01 17:36:09 +00:00
Kurt Zeilenga
c598c882fc Fix typo in gethostbyaddr_r nargs test 1999-11-01 12:02:03 +00:00
Kurt Zeilenga
26d8290859 Remove more dependencies upon $ac_cv_mingw32 1999-11-01 03:40:55 +00:00
Kurt Zeilenga
aab546e567 Fix nargs tests for gethostby{name,addr}_r to handle no prototype case. 1999-10-30 21:19:46 +00:00
Kurt Zeilenga
ae302ec787 Fix ctime_r nargs detection to return 0 if no prototype is available. 1999-10-30 21:07:03 +00:00
Kurt Zeilenga
2aee8f8750 Remove some dependencies upon $ac_cv_mingw32. Most should be
replaced with actual functional tests.  Needed to provide uWin
and other Unix on NT environments.
1999-10-28 17:42:02 +00:00
Kurt Zeilenga
f3da68969b Add third argument AC_DEFINE() calls added by last commit to
avoid having to define macros by hand in acconfig.h (which
were mistaken added to portable.h.in).
1999-10-28 07:48:59 +00:00
Kurt Zeilenga
bdca662249 Add lutil_entropy(). Currently only supports /dev/urandom or
Linux equivs.  Should be extended to support other quality
sources of entropy.  Should be extended to support a reasonable fallback.
1999-10-26 22:57:39 +00:00
Kurt Zeilenga
a517e5b969 Update configure. 1999-10-08 00:30:47 +00:00
Kurt Zeilenga
7f9a10d58a Fix s/else if/elif/ typo 1999-10-05 15:29:54 +00:00
Kurt Zeilenga
c0a6159844 Initial Kth Kerberos support. Changes based upon suggestions
from Booker Bense <bbense@networking.stanford.edu>.
1999-10-01 05:11:39 +00:00
Kurt Zeilenga
c87cb8b1f4 Rebuild with autoconf 2.13.1 1999-09-22 18:40:04 +00:00
Ben Collins
6290917307 regenerated 1999-09-22 18:03:23 +00:00
Ben Collins
7a0523b53d * 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
1999-09-22 15:00:51 +00:00
Kurt Zeilenga
6b0ccd4a5d Add experimental detection of BerkeleyDB2 DB_THREAD.
If not available, LDBM uses big mutex and BDB2 is disabled.
Should add BerkeleyDB version detection...
1999-09-20 20:55:54 +00:00
Kurt Zeilenga
c6ec966f2b Rebuild dependent files after recent changes to
build/openldap.m4 and configure.in
1999-09-13 18:33:24 +00:00
Kurt Zeilenga
ae88439eab acinclude should throw away output. 1999-09-12 17:21:24 +00:00