Commit Graph

1367 Commits

Author SHA1 Message Date
Hallvard Furuseth
0377189f2d Regenerate for ITS#4629 2007-06-09 23:38:13 +00:00
Howard Chu
64c9240003 Regenerate with GNUtls additions 2007-05-10 20:33:41 +00:00
Howard Chu
c51fd6c96e Add LDAP_OPT_X_TLS_CRLFILE, peer cert verification for GNUtls 2007-05-10 19:43:28 +00:00
Hallvard Furuseth
bbc719ca56 ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup 2007-05-09 18:17:10 +00:00
Howard Chu
7426ab07fc ITS#4893 define LDAP_PF_LOCAL_SENDMSG in <ac/socket.h> if a message must
be sent to transmit client credentials. Buffer the message data.
2007-03-25 04:40:22 +00:00
Howard Chu
38a723d442 Revert prev commits, didn't belong here 2007-03-25 04:27:15 +00:00
Howard Chu
0355abeb1a Fix typo in prev commit 2007-03-25 04:13:55 +00:00
Howard Chu
7f32178616 Add LDAP_PF_LOCAL_SENDMSG flag 2007-03-25 01:06:36 +00:00
Howard Chu
49d708fae3 Preliminary GNUtls support. gnutls.c will merge back into tls.c later. 2007-03-23 23:47:07 +00:00
Howard Chu
b213588f95 Add options for ber_get_stringbv() to omit NUL-terminator, to allow
non-destructive in-place parsing
2007-03-23 15:27:38 +00:00
Howard Chu
a4f879f9d2 ITS#4880 s/HAVE_POSIX_TERMIOS/HAVE_TERMIOS_H/ 2007-03-23 01:10:58 +00:00
Pierangelo Masarati
bf2d5729ae more structure name cleanup 2007-03-20 17:09:24 +00:00
Howard Chu
1255666b8b Add DER OID decoder/encoder 2007-03-20 15:11:14 +00:00
Kurt Zeilenga
e630a6a428 Rebuild 2007-03-02 20:53:56 +00:00
Kurt Zeilenga
486a26ac34 Rebuild 2007-03-02 07:38:57 +00:00
Howard Chu
c3e28a5488 ITS#4840 fix typo 2007-02-12 11:53:59 +00:00
Howard Chu
1f635b8bcf ITS#4707 added new ldap_init_fd() API 2007-02-12 04:20:24 +00:00
Howard Chu
6cbf65642a Move duplicate timestamp detection into lutil_gettime() 2007-02-11 13:42:29 +00:00
Howard Chu
e0ed944be3 Added ber_bvarray_dup_x() 2007-02-05 04:31:38 +00:00
Howard Chu
4b1bb81452 Add lutil_gettime() returning structured time with microseconds. Use
microseconds in CSNs. Omit microseconds from modifyTImestamp...
2007-02-02 23:10:30 +00:00
Howard Chu
26a47e7bd0 Framework for loadable mapper implementations 2007-01-12 23:20:17 +00:00
Hallvard Furuseth
4a0d1a7dd1 Wrap enum in #ifndef LDAP_PVT_THREAD_H_DONE; this code can be read twice. 2007-01-11 13:43:52 +00:00
Howard Chu
6111087fac Trust HAVE_PTHREAD_RWLOCK_DESTROY now. 2007-01-11 00:55:26 +00:00
Howard Chu
da198f27a6 Revert accidental commit 2007-01-10 01:29:16 +00:00
Pierangelo Masarati
c09a12fef7 dunno if it's going to be of any use... 2007-01-10 00:51:20 +00:00
Howard Chu
bec25494fe ITS#4799 remove kerberos / kbind references 2007-01-10 00:20:42 +00:00
Pierangelo Masarati
aa3c9bad3e First cut to truly async connect:
- after connect(2), if async the connection is in "connecting" state
	- the first time a request is sent, "connecting" conns are polled
		- in case of success, the request is sent
		- in case still connecting, LDAP_X_CONNECTING is returned;
		  clients are expected to retry later
	- the "async" behavior must be explicitly enabled by setting
	  the LDAP_OPT_CONNECT_ASYNC option

"local" connections need work
2007-01-07 19:20:46 +00:00
Pierangelo Masarati
5513ac6335 import of LDAP Sync client API 2007-01-06 18:28:32 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
6490a0b6c1 move slapo-{denyop,lastmod} to contrib/slapd-modules/{denyop,lastlog}/ (ITS#4701) 2006-12-28 16:33:36 +00:00
Pierangelo Masarati
dd94ddba57 don't leave dependencies on liblutil in libldap :) 2006-12-17 22:04:25 +00:00
Pierangelo Masarati
a76b702d4c fix request/result abandon 2006-12-03 20:56:25 +00:00
Pierangelo Masarati
71bcd4a4b6 s/ldap_int_discard/ldap_pvt_discard/ 2006-10-28 18:13:12 +00:00
Pierangelo Masarati
0aebe8af08 rework timeout strategy a little bit 2006-10-21 18:57:27 +00:00
Pierangelo Masarati
968da1cb14 add LDAP_OPT_DIAGNOSTIC_MESSAGE; replace deprecated option names 2006-10-14 17:04:17 +00:00
Kurt Zeilenga
0cd4dd55aa Include sys/types.h for regex.h test 2006-10-11 12:36:50 +00:00
Howard Chu
a8e58e3eb4 Just include one or the other of poll.h or sys/poll.h 2006-09-21 18:00:01 +00:00
Howard Chu
bd1f3a7d8d ITS#4674 fix poll detection 2006-09-21 17:54:37 +00:00
Pierangelo Masarati
35622ec494 detect, but don't use, Solaris' /dev/poll 2006-09-17 22:09:19 +00:00
Pierangelo Masarati
67f3fd8078 monitor __ALL__ thread parameters 2006-09-14 18:55:02 +00:00
Howard Chu
2cc356588e dirent emulation for MSVC 2006-09-14 08:01:05 +00:00
Howard Chu
811a90d5e1 Fix prev commit 2006-09-14 06:47:14 +00:00
Howard Chu
57c329a3af ITS#4606 errno is not per-thread on WIN32, always use WSAGet/SetLastError
(with notable exceptions: ignore tests for EINTR which winsock never sets)
2006-09-14 06:35:34 +00:00
Pierangelo Masarati
9aae5fda23 rename functions/macros (no impact, they're currently unused) 2006-09-09 16:16:27 +00:00
Pierangelo Masarati
d12f5fbcb5 add scope helpers 2006-09-06 12:04:33 +00:00
Kurt Zeilenga
d35d3b2026 Use LINE_MAX instead of BUFSIZ. Per POSIX, LINE_MAX should be at least 2K.
For ITS#4651
2006-08-25 20:05:14 +00:00
Kurt Zeilenga
d3e288dffe s/managedit/relax/
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00
Kurt Zeilenga
97fa3f1efd More LDAP_DEVEL cleanup
Rename ManageDIT to Relax
2006-08-22 00:45:16 +00:00
Kurt Zeilenga
cbe32f6340 LDAP_DEVEL cleanup 2006-08-18 06:15:05 +00:00
Kurt Zeilenga
f9cf518cdc fix bind/unbind typo 2006-08-10 15:23:50 +00:00
Kurt Zeilenga
c7338f5cdd Add notes regarding alternatives to deprecated routines 2006-08-10 01:49:26 +00:00
Kurt Zeilenga
423a93019f Misc RFC reference updates 2006-06-21 07:09:39 +00:00
Luke Howard
60b25fb095 Add internal bind/unbind/search/compare/abandon plugin types 2006-06-11 09:47:54 +00:00
Luke Howard
71827d002d Add SLAPI_X_OPERATION_NO_SUBORDINATE_GLUE for exposing o_no_subordinate_glue 2006-06-11 06:50:53 +00:00
Howard Chu
2d97c1cae1 ITS#4549 add tavl_find3() to return closest match 2006-05-19 15:24:16 +00:00
Kurt Zeilenga
044df1432f Update 2006-05-15 19:03:22 +00:00
Howard Chu
2769d7fa29 Fix Debug definition for !LDAP_SYSLOG 2006-05-11 04:30:21 +00:00
Pierangelo Masarati
373ded8d24 add URI list resorting feature (ITS#4524) 2006-05-06 16:15:25 +00:00
Pierangelo Masarati
af1f87b96d ldap_pvt_runqueue_next_sched() may return a pointer to data that's freed by task run earlier (ITS#4517) 2006-05-02 20:32:37 +00:00
Howard Chu
f269301ab9 Add ldap_pvt_thread_pool_tid() 2006-05-02 00:56:42 +00:00
Hallvard Furuseth
5657a5e4f9 Fix typo in comment 2006-04-30 01:32:40 +00:00
Howard Chu
e1ec64aaee rmutex_lock etc.: caller supplies thread id 2006-04-28 21:39:38 +00:00
Howard Chu
0a7808fbad Added recursive mutex implementation 2006-04-28 20:12:45 +00:00
Pierangelo Masarati
8242166888 print the correct search base when taken from ldaprc (ITS#4504) 2006-04-25 22:23:00 +00:00
Hallvard Furuseth
bd11c2c419 #define LogN/Debug() as ((void)0) instead of empty macros with --disable-debug 2006-04-16 16:03:49 +00:00
Kurt Zeilenga
5a96aa5304 Remove more LDBM cruft 2006-04-11 18:52:10 +00:00
Pierangelo Masarati
dfc8e7f6b8 better fix for ITS#4483 2006-04-09 22:29:42 +00:00
Kurt Zeilenga
6a64f4bc24 Remove configure support for LDBM 2006-04-08 04:15:37 +00:00
Howard Chu
d18277eac9 ITS#4422, #4475
Move TLS options into struct ldapoptions.
  Added ldap_int_tls_destroy()
  Added LDAP_OPT_X_TLS_NEWCTX to generate new SSL_CTX
2006-04-07 00:52:38 +00:00
Hallvard Furuseth
ca4a4456e8 LDAP_THREAD_DEBUG revamping, cleanup, bug fixes.
Expand usage struct with magic numbers and state info.
Add options "noreinit", "nosync", "nomem", "threadID".  Remove "dupinit".
Detect address changes.  Turn off thread ID tracking by default.
2006-04-05 19:52:07 +00:00
Pierangelo Masarati
e5f83e20b5 fix previous commit 2006-04-03 20:30:35 +00:00
Hallvard Furuseth
7a113f0759 Restore $LDAP_THREAD_DEBUG=off functionality (was lost in last patch). 2006-04-03 12:49:30 +00:00
Pierangelo Masarati
cad751250e allow mutex ownership detection (thanks to Hallvard) 2006-04-01 19:00:37 +00:00
Kurt Zeilenga
8f318ec8a8 commit missing TXN piece 2006-03-31 15:31:29 +00:00
Kurt Zeilenga
8ac8d70a55 TXN protocol element parsers (without any backend support)
Misc cleanup
2006-03-07 00:48:14 +00:00
Kurt Zeilenga
825ce79611 Initial and rough client-side implementation of the revised LDAP
Transactions specification.  A work in progress!  Comments welcomed.
2006-03-06 21:20:36 +00:00
Howard Chu
4a0f6e941e ITS#4372 regenerate 2006-02-27 11:24:33 +00:00
Luke Howard
2a2a3fc620 Add SLAPI_IS_INTERNAL_OPERATION / SLAPI_OPERATION_MSGID 2006-02-20 09:26:02 +00:00
Kurt Zeilenga
8c8ea049cb Macro cleanup 2006-02-16 05:01:29 +00:00
Kurt Zeilenga
377aa0be68 ITS#4404: fix typo in ValuesReturnFilter control OID, add
temporary server-side support for old OID.
2006-02-15 21:30:35 +00:00
Kurt Zeilenga
cbc11c9233 unifdef -DLDAP_NULL_IS_NULL 2006-02-14 23:18:12 +00:00
Luke Howard
bfaf2a805f Add sequential modify overlay to supported overlays 2006-02-13 02:24:26 +00:00
Kurt Zeilenga
7f0a047c37 Add RFC 4370 2006-02-11 04:08:23 +00:00
Kurt Zeilenga
6fd59da58f Fix typo in prev commit 2006-02-10 15:13:23 +00:00
Kurt Zeilenga
d2d1eb786b Improved bignum detection/use 2006-02-10 08:21:02 +00:00
Howard Chu
bf81549c88 Prefer long long to BIGNUM or GMP 2006-02-09 07:48:19 +00:00
Howard Chu
9d026c6445 Regenerate without multimaster switch 2006-02-06 04:52:44 +00:00
Pierangelo Masarati
ced7671e5e friendly form for balance factors 2006-02-04 15:49:04 +00:00
Kurt Zeilenga
7072225050 rebuild 2006-01-16 18:56:26 +00:00
Kurt Zeilenga
48c34d254f Update proxied authorization implementation to use IANA
assigned result code.
2006-01-12 22:55:56 +00:00
Kurt Zeilenga
63b9183126 enable NANOSLEEP detection on Linux for ITS#3950 2006-01-10 04:07:51 +00:00
Kurt Zeilenga
79d52b6f39 cleanup 2006-01-10 02:19:02 +00:00
Kurt Zeilenga
d8eace75a7 cleanup 2006-01-09 05:22:46 +00:00
Kurt Zeilenga
bc9fd825b6 Move deprecated routine behind LDAP_DEPRECATED 2006-01-09 01:29:47 +00:00
Kurt Zeilenga
eccd913a07 Update variables holding protocol values to ber_*_t's
Remove old grouping/txn code (pending redesign)
2006-01-09 01:25:53 +00:00
Pierangelo Masarati
dbfb08b545 line up LDAP_API_FEATURE_PAGED_RESULTS with other controls 2006-01-08 22:44:43 +00:00
Pierangelo Masarati
de79a7bfec rework API functions to create/parse controls; add client API functions to handle RFC2696 paged results (ITS#4314; patch from Hans Leidekker with changes) 2006-01-08 22:03:30 +00:00
Kurt Zeilenga
bca31173d8 Update (and rename) Sort and VLV parse routines to expect actual
control to be directly passed in.
2006-01-08 19:34:01 +00:00
Pierangelo Masarati
d42506314b regenerate 2006-01-06 17:49:00 +00:00
Pierangelo Masarati
339b9c371e rfc2589 support (ITS#4293) 2006-01-06 17:46:52 +00:00