Mark Valence
e0e7e9842e
client/server controls added to ldap_start_tls().
1999-12-10 18:26:12 +00:00
Kurt Zeilenga
431dad371c
Fix slapd SASL/ExternalOps encoding
...
Add controls to extended ops API signatures, need impl.
Update password to support optional server side generation of
new password, verification of old password, and changing of
non-bound user's passwords.
1999-12-10 04:52:32 +00:00
Mark Valence
454284f1ea
Adds for Start TLS functionality on slapd and LDAP C API.
1999-12-09 22:33:22 +00:00
Kurt Zeilenga
36a6f6d99b
Add TAG defines for X_CHANGE_PASSWD ID, OLD, NEW.
...
Relocated modify struct to be next to other structs.
1999-12-09 17:00:54 +00:00
Kurt Zeilenga
5e12c84a6f
Add simple password test program.
...
Rework lutil_passwd routines to use struct berval instead of strings.
1999-12-09 01:11:16 +00:00
Mark Valence
0f52ca7f83
Replaced LDAP_EXOP_X_START_TLS with LDAP_EXOP_START_TLS
1999-12-08 17:39:11 +00:00
Mark Valence
ecc3ea7543
Added LDAP_EXOP_X_START_TLS
1999-12-08 17:25:21 +00:00
Kurt Zeilenga
26c7d69e8c
Update for new password codes for MSVC5
1999-12-08 06:44:22 +00:00
Kurt Zeilenga
d5edb4bff6
Reengineered ldappasswd(1). Uses extended operation to set
...
user password. Likely to be modified to use bind control
instead. Use of modify deprecated in favor mechanisms that
support passwords stored externally to the directory (such
as in a SASL service).
Modified slapd extended operation infrastructure to support
backend provided extended operations.
1999-12-08 04:37:59 +00:00
Mark Valence
5f86e47aa8
Changes for URI spport: New routines ldap_initialize and ldap_create; LDAPURLDesc replaces LDAPServer, LDAPURLDesc list used instead of ldo_defhost.
1999-12-07 18:42:25 +00:00
Kurt Zeilenga
942d37afc5
Set ber_errno here and there.
1999-12-06 06:33:26 +00:00
Kurt Zeilenga
5d5588836f
Fix ldap_rename parameter order (ITS#387)
1999-12-04 17:19:11 +00:00
Howard Chu
f0fb0db2fc
Must not use "DB_THREAD" flag without HAVE_BERKELEY_DB2_DB_THREAD
1999-11-29 00:49:55 +00:00
Kurt Zeilenga
aee2482547
Remove nested comment.
1999-11-28 02:14:09 +00:00
Howard Chu
eaaea51b53
Fixes for NT dynamic linking.
1999-11-27 23:40:08 +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
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
45faac4dc1
Cleanup BEGIN/END DECL
1999-11-23 23:07:00 +00:00
Kurt Zeilenga
57feddec73
Suck in lber types from lber.h (which were moved to lber_types.h.in).
1999-11-23 23:03:12 +00:00
Kurt Zeilenga
8c665d48d6
Fix typo
1999-11-23 23:02:46 +00:00
Kurt Zeilenga
3d0dd02b17
Advertise LDAP_CONTROL_X_CHANGE_PASSWD.
...
Implementation coming soon.
1999-11-17 23:43:25 +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
f2bcd9c762
add comments here and there
1999-11-17 01:55:29 +00:00
Kurt Zeilenga
f4856214fb
*** empty log message ***
1999-11-08 15:38:59 +00:00
Kurt Zeilenga
62e49d5c9d
Use LDAP_F for libc routines
1999-11-08 15:33:01 +00:00
Kurt Zeilenga
5b7567b62a
Add empty struct ldapoptions declaration to avoid pulling in headers.
1999-11-06 18:02:44 +00:00
Mark Valence
4a5c58c09e
Added ldap_pvt_tls_* prototypes.
1999-11-06 05:02:52 +00:00
Kurt Zeilenga
89893b0fbf
Remove unnecessary dependency upon $ac_cv_mingw32.
1999-11-02 02:10:36 +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
14f107e9ed
Changes to support NT single debug
1999-11-01 22:17:06 +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
5b5db4def6
Additional mods to fix NT single threaded support.
1999-11-01 22:00:18 +00:00
Kurt Zeilenga
b7af076fee
Use centralized output directories.
...
Update single debug/release not to use service manager nor event manager.
Likely breaks MINGW32 port.
1999-11-01 21:25:22 +00:00
Kurt Zeilenga
10d9136ad5
Use typedef instead of #define for ssize_t.
1999-11-01 18:17:21 +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
4cc712db53
Add <ac/param.h> to wrap <sys/param.h>
1999-11-01 17:21:24 +00:00
Kurt Zeilenga
26d8290859
Remove more dependencies upon $ac_cv_mingw32
1999-11-01 03:40:55 +00:00
Howard Chu
17e1877a12
Fix broken MSVC builds. The previous round of Mingw32 patches changed some
...
ifdefs to depend on _WINNT, which is bogus. Added _WIN32 back on these ifs,
and fixed some other include problems.
1999-10-31 02:26:41 +00:00
Kurt Zeilenga
baa34f752b
Do not attempt to obtain sizeof(sin_addr.s_addr) or &sin_addr.s_addr
...
as s_addr member of in_addr may be a bitfield.
1999-10-30 04:58:06 +00:00
Kurt Zeilenga
7a2044dbda
Add readability to comments
1999-10-30 03:26:56 +00:00
Kurt Zeilenga
db5ad318a5
Add comment stating that uint32 must be exactly 32-bits long.
1999-10-30 03:26:13 +00:00
Kurt Zeilenga
771a52499f
Add support for sizeof(short) == 4 when sizeof(int) > 4.
1999-10-30 02:53:24 +00:00
Howard Chu
8da24171e3
Added NT-specific definitions to acconfig.h preamble
1999-10-28 11:17:58 +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
Howard Chu
0991e22550
Fixed the LDAP_F macro.
...
See README 1.27 log
1999-10-28 07:28:53 +00:00
Howard Chu
ff2908ffb8
For Mingw32, added declarations for snprintf and vsnprintf
1999-10-28 07:27:28 +00:00
Howard Chu
21a51c0628
Added LDAP_SIGUSR macros for NT
1999-10-28 07:27:00 +00:00
Howard Chu
c1b8c1b88b
Added LDAP_DIRSEP macro for NT
1999-10-28 07:26:44 +00:00
Howard Chu
a01f3099c3
Fixes for NT support:
...
Remove macros already in Windows headers: strdup, FD_SETSIZE
Set HAVE_SNPRINTF and HAVE_MEMORY_H to reflect NT environment
Moved LDAP_DIRSEP macro to ldap_config.h.in
Moved LDAP_SIGUSR macros to ac/signal.h
1999-10-28 07:26:25 +00:00
Howard Chu
dbabbeeccc
Added macros for Mingw32 support.
...
See README 1.27 log
1999-10-28 07:24:39 +00:00
Kurt Zeilenga
f804da9bef
Port to NT.
1999-10-27 04:41:38 +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
f4a0699311
Add macros to compute base64 encode/decode lengths.
1999-10-25 01:44:47 +00:00
Kurt Zeilenga
7ef67830af
Minor adjustments based upon initial read of draft-ietf-ldapext-ldap-c-api-04.txt.
1999-10-19 18:57:38 +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
a284b641b7
Move crypt(3) prototypes from <ac/unistd.h> to <ac/crypt.h> (new) to
...
avoid clashes with Kth Kerberos.
1999-10-01 04:48:30 +00:00
Kurt Zeilenga
3c00fd6d23
Rework passwd routines to allow callers to determine which
...
schemes are supported. This should facilate server rootDSE
advertisement of supported schemes, etc..
1999-09-25 22:13:25 +00:00
Kurt Zeilenga
35655c056f
Reimplement LDBM_SYNC/LDBM_NOSYNC code (dbnosync).
...
Old code applied sync flags to store(), however supported DBMs
require such flags to be specified during open(). The new
code now applies flags in ldbm_cache_open (which calls ldbm_open).
ldbm_cache_close() now calls ldbm_sync(). This will force
a updating of on-disk contents after each LDAP operation.
The old code either failed to sync the on-disk contents until
close or synced on every store. Per LDBM operation syncing
*should* be safe enough... real data safety requires transactions.
Removed nosync option from BDB2 as it is not compatible with
txn support.
Also added code to disable DBM level locking as slapd is only
process acessing the databases (dbnolocking).
1999-09-23 19:49:20 +00:00
Kurt Zeilenga
4acaa64c83
Fix ManageDSAit OID
1999-09-23 16:26:59 +00:00
Ben Collins
53da7b6cda
* build/top.mk: removed references to TMPROOT and added DESTDIR support
...
* all others: Added DESTDIR support
1999-09-22 21:51:30 +00:00
Kurt Zeilenga
aa708e7eff
#ifdef HAVE_BERKELEY_DB2_DB_THREAD around create flags using DB_THREAD
1999-09-21 17:50:31 +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
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