Commit Graph

1263 Commits

Author SHA1 Message Date
Kurt Zeilenga
8e5f98e7f5 Remove usleep(3) detection (unused) 2006-01-06 05:41:40 +00:00
Kurt Zeilenga
a2400cbfc5 Add configure support for REPLACE_SCHED_YIELD 2006-01-06 05:38:57 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
959a3651b9 fix logic of POSIX strerror_r (ITS#4292; refix ITS#4285) 2006-01-02 09:46:49 +00:00
Pierangelo Masarati
6f68a1af6d Log0 2005-12-28 01:22:56 +00:00
Pierangelo Masarati
eb734a167b add severity-aware logging (ITS#4282) 2005-12-27 16:29:37 +00:00
Pierangelo Masarati
a9348a1b88 on Solaris, [v][sf][n]printf doesn't like NULL; on Solaris 10 strerror_r apparently returns NULL in some cases (ITS#4285) 2005-12-23 12:48:39 +00:00
Pierangelo Masarati
20dc92fe25 cleanup debug handling 2005-12-22 22:33:32 +00:00
Pierangelo Masarati
5887a98bcf register temporary OID under OpenLDAP experimental arc 2005-11-27 23:32:38 +00:00
Pierangelo Masarati
4fe032e9be add very preliminary support for <draft-sermersheim-ldap-distproc> 2005-11-27 23:23:59 +00:00
Kurt Zeilenga
a525a24eb5 Add dontUseCopy control to ldapcompare(1) and ldapsearch(1).
No slapd(8) support yet.
Also removed unnecessary #ifdefs
2005-11-26 06:31:05 +00:00
Pierangelo Masarati
6ab23ef926 add more versatile private API for filter escaping 2005-11-25 10:41:33 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Kurt Zeilenga
7468c7fb58 Support Solaris 10's getpeerucred(3) (*** blind commit ***) 2005-11-23 18:55:31 +00:00
Pierangelo Masarati
25fe62efde add support for error-handling number/time parsing functions; need to replace ato{il}/strto[u]l throughout the code 2005-11-23 12:46:33 +00:00
Kurt Zeilenga
1cf5838e08 detect ICU and link it into slapd(8)
not yet used
2005-11-16 06:31:00 +00:00
Kurt Zeilenga
8e5086e8e7 memrchr detection cleanup 2005-11-14 18:32:27 +00:00
Hallvard Furuseth
4b9d08fd9b Declare memrchr() also when HAVE_MEMRCHR, since glibc by default does not.
Might need a worse #ifdef mess if any non-glibc memrchr() turns up.
2005-11-14 16:02:04 +00:00
Hallvard Furuseth
8f571ff2e9 Let ber_bvchr() and ber_bvrchr() return char* instead of void* 2005-11-14 15:41:08 +00:00
Pierangelo Masarati
474dfbc8fd don't trust strchr/strrchr with bervals 2005-11-13 22:26:53 +00:00
Pierangelo Masarati
4a6f4369c0 don't malloc empty strings for matched, error 2005-11-12 18:42:03 +00:00
Howard Chu
146b2c5389 ITS#4082 tls ctx requirements are only applicable to servers, or clients
with tls_opt_require_cert = TRY or DEMAND. Ignore requirements for clients.
2005-11-08 13:42:10 +00:00
Pierangelo Masarati
a6453f28f8 silence warnings 2005-11-06 23:27:09 +00:00
Kurt Zeilenga
ecd86725f2 Update result code to IANA-assigned values
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Kurt Zeilenga
c9fbf8e192 Various cleanup and updating 2005-11-01 19:56:52 +00:00
Howard Chu
4ebed09d81 ITS#4017, additional revisions for DH parameters 2005-10-28 05:35:19 +00:00
Kurt Zeilenga
c44b332d55 Note that proxy authz was submitted for publication 2005-10-17 20:50:51 +00:00
Pierangelo Masarati
d277c5b3d6 silence SLAP_SEM_LOAD_CONTROL related warnings... 2005-10-16 08:58:06 +00:00
Kurt Zeilenga
279033fc1c ITS#3440: (blind) fix for VxWorks inet_ntoa(3) leak,
use inet_ntoa_b(3) instead.
2005-10-14 03:40:03 +00:00
Kurt Zeilenga
ca81b49f82 Drop support for SSLeay. 2005-10-13 23:52:14 +00:00
Kurt Zeilenga
a534d5fb6b Add ldap_bv2escaped_filter_value (ITS#2535) 2005-10-13 06:35:28 +00:00
Howard Chu
d018d4e8b3 Add comment that LDAP_MORE_RESULTS_TO_RETURN is obsolete 2005-10-08 18:51:53 +00:00
Howard Chu
9095af5928 ITS#4017 support Diffie-Hellman parameters for multiple key lengths 2005-10-05 20:01:52 +00:00
Howard Chu
aafdf48e99 Add tavl_end and tavl_next 2005-09-21 14:46:04 +00:00
Howard Chu
b6e38a12bf Rearrange avlnode / padding, add threaded AVL functions 2005-09-21 11:26:56 +00:00
Hallvard Furuseth
123948bd5e Add thread debugging wrapper thr_debug.c and ldap_thr_debug.h in libldap_r/,
enabled with LDAP_THREAD_DEBUG (cpp macro and environment variable):

Move any ldap_pvt_* definitions from ldap_int_thread.h to ldap_pvt_thread.h.
#define ldap_int_thread_equal/ldap_pvt_thread_equal instead of tpool.c:TID_EQ.
Define some ldap_debug_*_t types, and LDAP_UINTPTR_T, in ldap_int_thread.h.
ldap_int_thread.h/ldap_pvt_thread.h can now be included multiple times, giving
different results depending on whether libldap_r/ldap_thr_debug.h was included.
Add some cleanup and some preprocessor hacks.
#define LDAP_THREAD*_IMPLEMENTATION in libldap_r/*.c, used by ldap_thr_debug.h.
Add PTHREAD_MUTEX_ERRORCHECK/PTHREAD_MUTEX_ERRORCHECK_NP in thr_posix.c.
2005-09-17 23:28:08 +00:00
Kurt Zeilenga
f07015dad2 Update build tools based upon OPENLDAP_AC work 2005-08-25 20:09:26 +00:00
Howard Chu
76c9a89510 Regenerate with valsort overlay 2005-08-24 09:06:13 +00:00
Howard Chu
c9c1ee10b3 Add LDAP_CONTROL_VALSORT 2005-08-24 02:07:43 +00:00
Howard Chu
fa444597af Tweak comment about ppolicy, we're up to date for now. 2005-08-23 19:41:07 +00:00
Howard Chu
1f78e2b831 ITS#3961 better fix - provide a context for the main thread. The context
must be reset by the caller to clear out temp allocations etc.
2005-08-23 04:12:57 +00:00
Howard Chu
468112e2ba ITS#3961 provide ldap_pvt_thread_pool_fake_context_init/destroy, don't
use arbitrary context pointers.
2005-08-23 03:25:21 +00:00
Luke Howard
9f865579df Add SLAPI_X_ADD_STRUCTURAL_CLASS 2005-08-17 07:12:51 +00:00
Kurt Zeilenga
535d1002ee sig_atomic_t and socklen_t fixes 2005-08-13 03:04:44 +00:00
Kurt Zeilenga
4d5ecb6c89 replace sig_atomic_t and socklen_t macros 2005-08-13 02:47:42 +00:00
Kurt Zeilenga
f799a2e4ba replace struct msghdr macros 2005-08-13 02:17:12 +00:00
Kurt Zeilenga
77173d35e9 Replace PW_GECOS/PASSWD macros 2005-08-12 22:28:17 +00:00
Kurt Zeilenga
eceb493bc0 Use IANA assigned OIDs 2005-08-12 21:24:13 +00:00
Kurt Zeilenga
b867b4f49b Replace openldap.m4/AC_COMPILE_CHECK_SIZEOF use with AC_CHECK_SIZEOF
Use AC_CHECK_TYPE(S) instead of old macros
2005-08-12 20:00:00 +00:00
Kurt Zeilenga
7dec65ee10 Replace 666 OIDs for Assertion/pre-read/post-read controls with
appropriate IANA assigned OIDs, and remove hide.
2005-08-12 18:08:15 +00:00
Kurt Zeilenga
54b633f3a7 autoheader is now working... 2005-08-12 06:52:49 +00:00
Kurt Zeilenga
13accb8b28 Not sure why autoheader isn't doing its job... 2005-08-12 06:17:24 +00:00
Pierangelo Masarati
ad62d9da1b expose ldap_tls_inplace() 2005-08-11 12:14:24 +00:00
Howard Chu
d6f3f78563 ITS#3869 set ldap_unicode_t to ac_uint4 to agree with ucdata usage. 2005-08-10 14:20:13 +00:00
Luke Howard
7d557f0b0d Add Slapi_DN API 2005-08-08 13:24:18 +00:00
Luke Howard
83cb00b034 Sync with slapi/slapi_utils.c 2005-08-08 09:33:12 +00:00
Luke Howard
c2534a5ced Add SLAPI_X_MANAGEDIT, SLAPI_X_OPERATION_NO_SCHEMA_CHECK 2005-08-01 15:21:55 +00:00
Luke Howard
54945564cd Add SLAPI_X_OPERATION_DELETE_GLUE_PARENT 2005-07-31 05:41:03 +00:00
Luke Howard
658fdd2cf3 add LDAP_CONTROL_X_EXTENDED_DN 2005-07-29 08:43:29 +00:00
Luke Howard
edc575888c slapi_op_type_to_string/slapi_op_get_type implementation 2005-07-26 04:34:23 +00:00
Hallvard Furuseth
ac523f2bd4 Rebuild for utime.h from configure.in 1.585 2005-07-26 04:01:27 +00:00
Luke Howard
f302b9ee0d Sync with slapd 2005-07-25 11:25:12 +00:00
Luke Howard
ac93f86303 Fix error in last commit 2005-07-22 09:39:26 +00:00
Luke Howard
730168ad1a SLAPI cleanup 2005-07-22 09:35:17 +00:00
Luke Howard
d3ee8970d4 sync with slapd 2005-07-19 15:28:23 +00:00
Luke Howard
b3953aaa43 Add prototypes and pblock paramaters for more compat APIs 2005-07-18 09:23:06 +00:00
Howard Chu
64efba5eb2 ITS#3847 fix LDAP_GROUP_TRANSACTION defs 2005-07-11 10:30:46 +00:00
Hallvard Furuseth
7cc496fd25 Constify ldif_open() args 2005-07-06 10:50:03 +00:00
Kurt Zeilenga
a032e88b2c rebuild 2005-06-21 00:38:12 +00:00
Pierangelo Masarati
9b60480293 add support for retcode overlay (configure needs be regenerated) 2005-06-19 22:43:00 +00:00
Howard Chu
43c6253ab7 Added accesslog overlay 2005-06-10 12:10:31 +00:00
Pierangelo Masarati
fd0e059c2b use unsigned long long for counters, if available 2005-05-28 14:29:45 +00:00
Pierangelo Masarati
eb005a9872 allow to muck with referrals while chasing... 2005-05-28 14:29:08 +00:00
Pierangelo Masarati
d19ccf11c0 line-up with (yet incomplete) draft-sermersheim-ldap-chaining-03 requested return code names 2005-05-21 15:11:18 +00:00
Kurt Zeilenga
e31b039395 Fix OIDs of works in progress 2005-05-14 06:38:49 +00:00
Kurt Zeilenga
8ac304ee4c Add client-side ManageDIT control support
(to be used to 'manage' DIT entries).
2005-05-13 03:00:04 +00:00
Howard Chu
c225c4af34 Updated ldif_read_record to support LDIF include: directive 2005-05-12 00:46:39 +00:00
Kurt Zeilenga
b8862a74d6 ldap.h updates 2005-05-06 21:07:29 +00:00
Kurt Zeilenga
5a9690eeb1 Remove _X_ from some items now standard track 2005-05-06 17:50:03 +00:00
Kurt Zeilenga
be097fc8cd Add ldap_turn(3) and ldap_turn_s(3). 2005-05-04 20:24:48 +00:00
Howard Chu
1c54624cc4 Fix lutil_time typos 2005-04-26 12:40:55 +00:00
Howard Chu
b978e77932 Add task names to runqueue entries 2005-04-23 00:27:57 +00:00
Howard Chu
3f20324ed0 Add ldap_pvt_thread_pool_purgekey to free all instances of key across
all threads.
2005-04-22 22:27:29 +00:00
Howard Chu
2dec29f265 Change ldap_pvt_runqueue_insert to return new task pointer 2005-04-22 14:37:59 +00:00
Pierangelo Masarati
2f877b48b1 introduce ber_bvreplace() 2005-04-21 03:40:50 +00:00
Howard Chu
dd646eb734 Added ldap_pvt_runqueue_find() 2005-04-19 14:40:30 +00:00
Howard Chu
5608206da2 Fix LDAP_PVT_THREAD_STACK_SIZE, automatically scale up on 64 bit machines 2005-04-15 06:18:18 +00:00
Kurt Zeilenga
9983e6d501 Rebuild 2005-04-12 18:46:52 +00:00
Pierangelo Masarati
58d4f7fc20 base64 encode passwords in back-config 2005-04-09 15:19:36 +00:00
Kurt Zeilenga
3cba3840ac Add new resolver checks 2005-04-02 20:52:18 +00:00
Howard Chu
2da2336ac6 Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy 2005-03-18 06:06:38 +00:00
Kurt Zeilenga
4d2c6de5e4 rebuild 2005-03-16 02:23:05 +00:00
Howard Chu
d92eaaa79a Added SLAPD_DEFAULT_CONFIGDIR 2005-03-15 17:32:02 +00:00
Howard Chu
aad140151e More for translucent 2005-03-10 04:35:57 +00:00
Howard Chu
1b777e0ab3 Added ldap_pvt_thread_pool_pause/resume 2005-03-07 21:02:31 +00:00
Kurt Zeilenga
d3ec485651 ITS#3583: memcmp replacement compilation error fix 2005-03-05 01:23:29 +00:00
Kurt Zeilenga
a1bce885a0 ITS#3581: Have configure report a mismatch if the version in db.h
header doesn't precisely match the return of db_version().
2005-03-04 16:39:04 +00:00
Howard Chu
89210b7100 Added ldap_pvt_sasl_secprops_unparse, slap_sasl_secprops_unparse 2005-03-01 11:42:31 +00:00
Kurt Zeilenga
542f3634aa Add ldap_start_tls() and ldap_install_tls() to provide async version
of ldap_start_tls_s().
2005-02-01 23:53:17 +00:00
Luke Howard
4b1d72ab2f Add slapi_x_backend_get_flags() API 2005-01-28 08:33:29 +00:00