Kurt Zeilenga
474acd4ae4
Add RCSid
1999-09-09 05:30:12 +00:00
Hallvard Furuseth
4a5e2febed
Some constification & lint removal
1999-09-04 21:15:49 +00:00
Hallvard Furuseth
33cc7d4cf1
Introduce and use LDAP_GCCATTR() = __attributes__() in gcc
1999-09-03 21:06:33 +00:00
Hallvard Furuseth
65ab890317
Add ldap_rename() and ldap_rename_s() prototypes
1999-09-02 07:38:06 +00:00
Kurt Zeilenga
1459ab3495
Add comment concerning with it's acceptable to use pipe(2)
1999-08-31 17:24:32 +00:00
Kurt Zeilenga
0307dd3b38
Use pipe(2) if descriptors are selectable.
1999-08-31 17:01:10 +00:00
Kurt Zeilenga
ac8b5468aa
Clean up soctpair for NT. Add USE_PAIR to allow pair(2) use.
1999-08-31 16:47:42 +00:00
Kurt Zeilenga
b509dd4d8c
sockpair cleanup including:
...
provide prototype in lutil.h
use LBER_SOCKET_T instead of int in prototype. (didn't use
ber_socket_t so all of lber.h wouldn't have be dragged in)
rename signal handlers, use RETSIGTYPE, and make SIGHUP wake
rename fd to sd to reflect descriptor must be usable as a socket.
renamed sel_exit_fds to wake_sds to reflect current use
improve readability of sockpeer.c including removing obtuse goto.
1999-08-31 05:18:06 +00:00
Kurt Zeilenga
bd36de108f
Add OpenLDAP RCS Id
1999-08-31 01:17:01 +00:00
Kurt Zeilenga
fed44d4972
Add some basic detection of restartable syscalls, sigaction,
...
socketpair. Use dependent on useful detection is.
1999-08-31 00:58:22 +00:00
Hallvard Furuseth
6632e41ee8
Export ldap_pvt_<find_wildcard,filter_value_unescape>() from libldap.
...
Use them in slapd/str2filter.c.
1999-08-31 00:44:49 +00:00
Kurt Zeilenga
40fa9d36ce
s/Id/OpenLDAP/ in RCSids
1999-08-30 08:08:00 +00:00
Kurt Zeilenga
9826f704b5
Back out to simple sock_errno sock_errstr macros and use WSAGetErrorString
...
instead of WSAGetLastErrorString to preserve errno like semantics.
1999-08-29 23:33:35 +00:00
Kurt Zeilenga
5333a58018
Add RCS ID again...
1999-08-29 23:29:08 +00:00
Howard Chu
3925d53ccd
Replaced sock_errno()/sock_errstr() macros with SOCK_ERR(num,str)
1999-08-29 23:09:27 +00:00
Kurt Zeilenga
657959b04d
Add RCS Id to "generic" headers (experimental)
1999-08-29 20:35:22 +00:00
Kurt Zeilenga
32aa582abe
Make sock_errstr expect an error value instead of relying on current
...
errno.
1999-08-29 20:32:34 +00:00
Howard Chu
74543e6c68
Defined tcp_read and tcp_write. Use them in daemon.c
1999-08-29 04:01:16 +00:00
Howard Chu
193d30bf84
In previous commit - change strerror() to STRERROR().
...
Use strerror() if available.
1999-08-29 02:59:29 +00:00
Howard Chu
801bac51c9
per Hallvard's advice: fixed definition of sock_errstr().
1999-08-29 02:54:58 +00:00
Howard Chu
35a3c5017f
Define sock_errno() and sock_errstr() for Unix and winsock.
1999-08-29 01:56:51 +00:00
Howard Chu
9a58202116
Define strerror() if it doesn't exist.
1999-08-29 01:56:00 +00:00
Kurt Zeilenga
5c63fd55b5
Implement ldap_dn_normalize and friends. Should be used by clients
...
to validate input dn's BEFORE sending dn's to server.
Also fixed getfilter to use REG_EXTENDED|REG_NOSUB. (and fixed one
case where REG_BASIC was still used).
s/strdup/LDAP_STRDUP/
Added ldap_pvt_str2lower/upper
1999-08-25 06:44:08 +00:00
Kurt Zeilenga
7ee686dbb4
Fix NEEDS typo
1999-08-25 06:31:56 +00:00
Kurt Zeilenga
0211b35d8d
s/.h.nt/.nt/ to allow for better NMAKE processing
1999-08-24 23:47:11 +00:00
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