Commit Graph

380 Commits

Author SHA1 Message Date
Kurt Zeilenga
95ef9e8627 Prepare to add ldap_dn_*() routines from slapd. 1999-08-24 23:45:52 +00:00
Kurt Zeilenga
78e4cb57aa Fix ManageDSAit OID (had extra .16) 1999-08-24 04:22:23 +00:00
Kurt Zeilenga
2d2719123d Rename filter entry's strcpy_special() to strcpy_regex() to better
reflect its purpose.  Modify switch to support REG_EXTENDED expressions.
Use REG_EXTENDED instead of REG_BASIC everywhere.
Modify <ac/regex.h> to support <gnuregex.h> for testing purposes.
Requires: env CPPFLAGS="-DHAVE_GNUREGEX_H=1" LIBS=-lgnuregex ./configure
1999-08-24 01:13:30 +00:00
Kurt Zeilenga
b8a3a153bb Axe <varargs.h> support. Assume STDC C translator is available
to build OpenLDAP.
1999-08-24 00:27:53 +00:00
Kurt Zeilenga
1b0aa8cf23 Support for native GNU Pth Threads (--with-threads=pth)
Tests behave as expected excepting slapd sometimes does not
shutdown properly.
1999-08-22 03:04:33 +00:00
Kurt Zeilenga
87675a953d ACIs from Mark Valence <kurash@sassafras.com> (ITS#261) 1999-08-20 22:42:04 +00:00
Kurt Zeilenga
c51f35fe0f Add hacks to allow debugging with CSRI malloc.
(test001-populate runs without leak)
Free global entry string buffer on shutdown.
1999-08-19 17:06:28 +00:00
Kurt Zeilenga
e4f6d54877 New dn2id format with base/one/subtree indices (ldbm/bdb2)
New id2entry (id-less) format (ldbm/bdb2)
Removed id2children (ldbm/bdb2)
Added nextid database (ldbm)
Broke ldbmtest
Removed ldif2* tools (ldbm/bdb2)
Added slap tools (slapadd, slapcat, slapindex)
1999-08-17 19:00:59 +00:00
Hallvard Furuseth
6147119dc8 Add ldap_*2name() in <include,libldap>/schema, use them in slapd/schema 1999-08-16 02:59:11 +00:00
Kurt Zeilenga
1a5734c580 Remove lber_types.h on 'make veryclean' 1999-08-15 21:58:47 +00:00
Kurt Zeilenga
a805d80ef2 Rebuild configure and portable.h.in 1999-08-08 17:17:44 +00:00
Kurt Zeilenga
83abd65d49 Add extensible filter support to -lldap. Need to implement server
side (which most is dependent upon having matching rule support).
1999-08-07 18:54:49 +00:00
Kurt Zeilenga
7b6a923937 Add basic configure support of --enable-quipu 1999-08-05 01:23:04 +00:00
Kurt Zeilenga
c73106936b Add copyright notice. 1999-08-04 23:59:53 +00:00
Kurt Zeilenga
bd9323efc3 Use LDAP_P in prototype for ldap_pvt_inet_aton 1999-08-04 18:27:15 +00:00
Kurt Zeilenga
b3ce9d497c non-blocking connect needs special handling under Winsock. 1999-08-04 00:40:03 +00:00
Kurt Zeilenga
ecb9c3b3fb Add multimaster replication support (ITS#170) based upon
updated patch submitted Philipp Klaus <ldapml@internet.access.ch>
Can be enabled using --enable-multimaster.  TODO:
Replication test likely should be adjusted to test multimaster environment.
1999-08-03 22:15:19 +00:00
Kurt Zeilenga
2b79ff2c48 Initial inet_aton() detection. 1999-08-03 20:02:44 +00:00
Kurt Zeilenga
1b41dfbce0 LDAP_OPT_NETWORK_TIMEOUT feature (ITS#239) from Lars Uffmann.
Needs a bit more work.
	- global net/api timeouts are not inherited on session creation.
	- need configure check for inet_aton() (coming soon)
	- ioctl/fcntl portability issues (should share implementation
		with lber routines)
1999-08-03 19:27:22 +00:00
Kurt Zeilenga
df8f7cbb9b s/exit(1)/exit(EXIT_FAILURE)/
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +00:00
Kurt Zeilenga
f90ed5aef8 Add a little SASL framework and remove old X-DIGEST-MD5 hardcode.
This code is not called (yet).
1999-08-03 02:37:42 +00:00
Kurt Zeilenga
8a0b9e8a3b Add HAVE_CYRUS_SASL define 1999-08-03 00:50:52 +00:00
Kurt Zeilenga
6f51f4d671 Add detection for Cyrus SASL library.
Improve detection of FreeBSD FetchURL library.
1999-08-02 23:35:03 +00:00
Hallvard Furuseth
e7738c2df7 s/LDAP_CONST/const/ in ldap_pvt_asser() prototype 1999-08-01 21:41:46 +00:00
Hallvard Furuseth
e259fc72e0 Define EXIT_SUCCESS and EXIT_FAILURE if necessary 1999-08-01 21:18:38 +00:00
Hallvard Furuseth
b10d32ab18 Add missing LDAP_CONST in ber_pvt_assert() prototype 1999-08-01 21:08:14 +00:00
Hallvard Furuseth
d945144131 s/unsigned long/ber_len_t/ in typedef BERTranslateProc 1999-08-01 20:29:11 +00:00
Hallvard Furuseth
d5840e809f Always include <stdlib.h>, to avoid massive breakage when !STDC_HEADERS.
If someone really lacks stdlib.h, they should introduce HAVE_STDLIB_H.
1999-08-01 18:44:32 +00:00
Kurt Zeilenga
48d5465ab7 Add support for "foo:< http://localhost/path.
Requires FreeBSD's -lfetch...
Implementations to other URL APIs encouraged.
Probably should be moved to -llutil.
1999-07-31 03:23:26 +00:00
Kurt Zeilenga
9160692ab1 Remove "const" error... and add prototype for yet unimplemented
ldif_fetch_url().
1999-07-31 02:17:26 +00:00
Kurt Zeilenga
b73b0c6158 Enhance LDIF handling
ldapsearch:
    use draft guidelines for determining when to use
    -t only writes binary attributes to files
    -tt writes all attributes to files
    output now lists URL instead of path to such files
    -T dir can be used to specify directory to create temp files in
    -V urlprefix can be used to change the URL prefix
    LDIF is now commented (can be disabled using -LL)
    LDIF now contains version attribute (can be disabled with -LLL)
LDIF:
    put interface changed to allow caller to specify how to encode
    put interface uses draft guidelines for determine when to base64 encode
    wrapping kludged to match old off by one bug
Tests:
    removed trailing space from some attributes (to avoid base64 encoding)
    enabled -LLL in defines.sh (should sed output to remove
        wrapping/comments/redundant separators)
Misc:
    updated codes outputting LDIF to use new put interface
TODO:
    handling of version attribute on input
    handling of URLs on input (ie: fetch URL)
1999-07-30 23:00:02 +00:00
Kurt Zeilenga
2967e3c9ef Relocate headers checks to above libraries such that their results can
be used during library and function checks.
1999-07-29 18:38:21 +00:00
Kurt Zeilenga
5048836a50 Update INSTALL based upon new snapshot naming.
Update lutil.h copyright.
CHANGES is a release engineering document.  Not maintained in HEAD.
1999-07-28 20:31:41 +00:00
Gary Williams
67cdcb8df9 define SLAPD_RLOOKUPS since it looks like connection_init wont work without it 1999-07-27 17:26:15 +00:00
Kurt Zeilenga
fc4fe0ec7e Generate new configure after new netinet/tcp.h test. 1999-07-27 00:52:50 +00:00
Kurt Zeilenga
b738f2a4db Check for netinet/tcp.h
Update res_search check and place behind --enable-dns.
1999-07-27 00:31:08 +00:00
Kurt Zeilenga
a39cf6f93d Add support for LDAP_ALL_OPERATIONAL_ATTRIBUTES ("+") (based on
LDAPext discussions).
Add attrs and attrsonly support to monitor/config info.
Add rdn attributes to schema/monitor/config.
Add extensibleObject objectclass to schema/monitor/config.
Add top objectclass to rootdse/monitor/config.
Remove opattrs option from send_search_entry().
1999-07-24 03:39:23 +00:00
Kurt Zeilenga
560844e18f NT has sys_errlist. 1999-07-24 00:04:44 +00:00
Kurt Zeilenga
095f78b392 Use AC_CACHE_CHECK instead of AC_CACHE_VAR.
Rework sys_errlist detection to set HAVE_SYS_ERRLIST if sys_errlist
exists.  If it declaration is needed, DECL_SYS_ERRLIST is also set.
1999-07-24 00:04:05 +00:00
Kurt Zeilenga
259d56da08 Use AC_DEFINE third argument to generate portable.h.in entries instead
of explicit acconfig.h entries.
1999-07-23 21:10:02 +00:00
Kurt Zeilenga
d147e609d2 Implement TCP_NODELAY on both client and server side. 1999-07-22 21:49:35 +00:00
Kurt Zeilenga
543aafd991 Implement RFC2255 URL format. 1999-07-19 19:32:47 +00:00
Kurt Zeilenga
73276e84ae Import experimental referral implementation from OPENLDAP_DEVEL_REFERRALS.
Includes support for update referral for each replicated backend.
	Reworked replication test to use update referral.
Includes major rewrite of response encoding codes (result.c).
Includes reworked alias support and eliminates old suffix alias codes
(can be emulated using named alias).
Includes (untested) support for the Manage DSA IT control.
Works in LDAPv2 world.  Still testing in LDAPv3 world.
Added default referral (test009) test.
1999-07-16 02:45:46 +00:00
Julio Sánchez Fernández
27bcfd696d More options for TLS 1999-07-15 20:58:47 +00:00
Julio Sánchez Fernández
153bf433ae Define LDAP_TLS_PORT as 636, the default port for LDAP over raw TLS 1999-07-14 13:12:51 +00:00
Kurt Zeilenga
cbb5553b03 Newer versions of OpenSSL install headers in $prefix/include/openssl... 1999-07-14 00:03:52 +00:00
Julio Sánchez Fernández
96ae2837f6 Add option definitions for TLS 1999-07-13 19:23:41 +00:00
Kurt Zeilenga
ff28f54d2d Add configure support for 'socklen_t' as provided by Hallvard. 1999-07-13 18:46:22 +00:00
Kurt Zeilenga
47be141fb4 Support old c_plusplus... 1999-07-13 18:41:00 +00:00
Hallvard Furuseth
e2bfb420d7 Fix use and decl of ber_pvt_assert. Fix ac/stdio.h -> stdio.h. 1999-07-13 03:50:39 +00:00