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
Pierangelo Masarati
8ebdb57b37
regenerate
2006-01-06 17:14:41 +00:00
Pierangelo Masarati
f0ae7d7a1b
regenerate
2006-01-06 17:11:01 +00:00
Howard Chu
d1693d4a07
ITS#3950 tweak prev commit, s/REPLACE_SCHED_YIELD/REPLACE_BROKEN_YIELD/
2006-01-06 06:07:36 +00:00
Kurt Zeilenga
f5fd375d38
i before e and other cleanup
2006-01-06 05:50:51 +00:00
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
Pierangelo Masarati
c6a1f24186
add support for Chaining Behavior control (<draft-sermersheim-ldap-chaining>, a work in progress)
2005-01-25 16:11:26 +00:00
Howard Chu
67583f45eb
Added ldif_countlines()
2005-01-24 03:40:29 +00:00
Pierangelo Masarati
9effc2b8f0
cleanup of rewrite code and docs
2005-01-23 21:42:05 +00:00
Pierangelo Masarati
86a4894bf8
fix ITS#3458
2005-01-21 14:38:49 +00:00
Kurt Zeilenga
b3b4d344fc
LDAP_DEVEL cleanup
2005-01-19 20:28:09 +00:00
Howard Chu
8db476e664
More tweaks to ldif_parse_line2 for str2entry
2005-01-19 12:07:06 +00:00
Howard Chu
bd8a9989f4
Added ldif_parse_line2 to parse in-place
2005-01-19 05:05:53 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
35f44be64b
Add "not yet implemented" comment to LCUP result code section
2004-12-31 04:33:27 +00:00
Kurt Zeilenga
a2705b84c7
Update CancelOp's protocol values to those in RFC 3909
2004-12-30 23:04:41 +00:00
Kurt Zeilenga
e66a962401
Add macro for Strong(er) Authen Required
2004-12-30 19:15:15 +00:00
Howard Chu
f9df0ecedd
Add glue overlay
2004-12-04 19:48:47 +00:00
Howard Chu
3a5bde98ba
Disable back-bdb native syncrepl support, enable syncprov overlay,
...
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Howard Chu
ae592801aa
Add callbacks for client TLS connection establishment:
...
LDAP_OPT_X_TLS_CONNECT_CB and LDAP_OPT_X_TLS_CONNECT_ARG
with int (LDAP_TLS_CONNECT_CB) (LDAP *ld, SSL *ssl, SSL_CTX *ctx, void *arg)
To be called whenever the client library allocates a new SSL* handle.
2004-11-23 03:48:09 +00:00
Howard Chu
162f00f348
Don't BN_init allocated BIGNUMs, they're already initialized
2004-11-22 02:18:02 +00:00
Howard Chu
9fd1c81713
Add avl_find2 returning the Avlnode, allowing its data to be reset directly
...
instead of recycling thru avl_find/avl_delete/avl_insert
2004-11-19 23:33:46 +00:00
Howard Chu
1666e4c083
Add check for epoll(), sys/epoll.h
2004-11-18 22:06:15 +00:00
Kurt Zeilenga
afffdeec68
Set OPENLDAP_FD_SETSIZE to 4096 (if not defined)
2004-11-17 04:07:14 +00:00
Luke Howard
2bd23df432
dup is a global declaration on some platforms - avoid warning when
...
compiling with maximum error reporting
2004-11-09 05:39:09 +00:00
Kurt Zeilenga
3578ec3337
rebuild
2004-11-03 21:06:17 +00:00
Ralf Haferkamp
93cec8b694
- Added autoconf test for CRL capable OpenSSL Version
...
- #ifdef'd CRL checking code.
2004-11-03 12:02:38 +00:00
Ralf Haferkamp
5704a2ef6e
CRL checking options for ldap.conf and slapd.conf
2004-10-28 18:50:38 +00:00
Kurt Zeilenga
30fdb0e0ca
Fix LDAP Intermediate Response tag values.
...
with code to accept old values.
2004-10-20 21:47:40 +00:00
Kurt Zeilenga
440e631319
ITS#3168: Add LDAP_OPT_SOCKBUF
2004-10-19 03:07:05 +00:00
Kurt Zeilenga
e983616d75
More NEW_LOGGING removal
2004-10-19 01:40:38 +00:00
Kurt Zeilenga
547ebf66c4
Move POLL_* macros to <ac/socket.h>
2004-10-18 22:08:37 +00:00
Kurt Zeilenga
22690ddd0c
Define INFTIM if not in <poll.h>
2004-10-18 22:01:10 +00:00
Kurt Zeilenga
86c216d10c
Rough but working poll(2) implementation for -lldap
2004-10-18 21:09:17 +00:00
Kurt Zeilenga
fb0571b5ad
Poll code needs a bit more work.
2004-10-18 18:18:52 +00:00
Kurt Zeilenga
7a13824cf4
Add <poll.h> detection as well
2004-10-18 18:15:07 +00:00
Kurt Zeilenga
86a9b56f09
Add basic check for poll(2)
2004-10-18 17:51:32 +00:00
Kurt Zeilenga
4e06e2d48c
rebuild
2004-10-13 00:30:27 +00:00
Jong Hyuk Choi
4efd705cc3
syncrepl consistency patch
2004-10-09 09:26:16 +00:00
Howard Chu
76252251f5
Rename slap_tm to lutil_tm...
2004-09-28 12:22:22 +00:00
Howard Chu
1ca9556c1b
Move time parsers from ppolicy.c to liblutil; preserve greater precision
2004-09-28 12:12:13 +00:00
Pierangelo Masarati
761f287943
multiple precision with BIGNUM/gmp/ulong
2004-09-26 22:58:47 +00:00
Kurt Zeilenga
8b684d7186
Rebuild
2004-09-12 05:35:03 +00:00
Kurt Zeilenga
e0a9ea2f50
Move MSVC port to the Attic
2004-09-04 04:37:41 +00:00
Kurt Zeilenga
8064bb6ef1
A better find_connection() port fix
2004-08-28 03:53:31 +00:00
Kurt Zeilenga
6cde4bdeb3
Move LDAP_COMP_MATCH define from ldap.h to slap.h
2004-08-27 18:53:44 +00:00
Luke Howard
bccb4860ec
Sync with slapd/slapi/slapi.h (whose idea was it ever to have the same
...
headers in two places? :))
2004-08-26 05:30:49 +00:00
Sang Seok Lim
2af6457771
This patch is for a component filter. please refer ITS#3260 for detail
...
and "implementing GSER and Component Matching" in ODD 2004.
All codes are #ifdef'd with LDAP_COMP_MATCH.
test031-component-filter works correctly only when the LDAP_COMP_MATCH macro is set.
To disable it, set AC_WITH_COMP_MATCH "no" in "openldap_src/tests/run.in".
2004-08-26 00:06:39 +00:00
Luke Howard
9df812bba1
Add pblock types for backend_group SLAPI plugins
2004-08-25 15:18:56 +00:00
Kurt Zeilenga
529e1d61f5
More prep for poll(2) support.
2004-07-09 19:08:48 +00:00
Kurt Zeilenga
1681421d01
Move SETSIZE hack to a header to avoid config.status munging
2004-07-09 17:52:26 +00:00
Kurt Zeilenga
44485522e0
Allow LDAP_PVT_SASL_LOCAL_SSF to be set externally
2004-06-27 19:39:11 +00:00
Kurt Zeilenga
0b3f8c2303
Add LDAP_MAXINT macro
...
Add additional error checks
Fix a few typos and cleanup
2004-06-18 20:14:28 +00:00
Kurt Zeilenga
b438e6b533
ITS#3166: correct slapi_entry_attr_get_* return types
...
patch provided by Martin Evans
2004-06-01 22:07:57 +00:00
Luke Howard
767f588520
more prototype syncing
2004-05-23 16:01:11 +00:00
Luke Howard
5333e8b110
more prototypes
2004-05-23 12:47:49 +00:00
Luke Howard
da07d54e1d
Sync with new prototypes
2004-05-23 12:24:04 +00:00
Pierangelo Masarati
60b05c643d
STRLENOF cleanup
2004-04-27 21:40:54 +00:00
Kurt Zeilenga
659b41ec7d
Add check for hstrerror
2004-04-25 01:05:15 +00:00
Kurt Zeilenga
62da0b6738
AC_STRERROR_R
2004-04-25 00:19:06 +00:00
Kurt Zeilenga
7f0c73bf49
new strerror_r checks
2004-04-24 21:30:28 +00:00
Howard Chu
f5851f3001
Added referential integrity and attribute uniqueness overlays
2004-04-17 08:45:29 +00:00
Kurt Zeilenga
cfd495857d
rebuilt with lastmod
2004-04-16 05:58:39 +00:00
Kurt Zeilenga
6abba139bb
Hide if SIZEOF_WCHAR_T < 4.
2004-04-08 08:54:49 +00:00
Howard Chu
f2e1df3ef7
Consolidated static/dynamic backend switches
2004-04-08 05:56:23 +00:00
Kurt Zeilenga
0a8ba6620e
cleanup
2004-04-07 01:35:00 +00:00
Kurt Zeilenga
9b52459b53
Add additional BER_BV macros
2004-04-07 01:31:40 +00:00
Kurt Zeilenga
44820d617a
Add STRLENOF macro
2004-04-07 00:41:57 +00:00
Kurt Zeilenga
a576085200
Rebuild
2004-03-20 21:38:50 +00:00
Kurt Zeilenga
e00cfb2595
Rebuild
2004-03-20 20:51:16 +00:00
Howard Chu
cbabd269a5
ITS#2457 Added LUTIL_SLASHPATH macro and func for converting
...
forward-slash paths to Windows back-slash format.
2004-03-19 08:06:42 +00:00
Kurt Zeilenga
caa5266ffd
More releng cleanup
2004-03-18 01:41:42 +00:00
Kurt Zeilenga
e323437c6a
cleanup for release engineering
2004-03-18 01:06:39 +00:00
Howard Chu
05723d2a3d
Fix LDBM on Windows
2004-03-17 05:26:57 +00:00
Howard Chu
54c7e8ac08
Fix missing LBER_V declaration
2004-03-17 05:06:30 +00:00
Howard Chu
75325beefe
Hide ppolicy behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
2004-03-16 01:50:10 +00:00
Kurt Zeilenga
c984dbf09b
OID/comment cleanup
2004-03-16 01:17:07 +00:00
Kurt Zeilenga
9d7a629bc4
Update LDAP Sync OIDs to those assigned for RFC publication
2004-03-16 00:51:11 +00:00
Howard Chu
2b86ace653
ldap_parse_passwordpolicy_control takes a single LDAPControl* arg now,
...
use ldap_find_control to find it. Added ldap_passwordpolicy_err2text().
2004-03-15 23:53:37 +00:00
Kurt Zeilenga
647df2b9cb
Start of client-side LDAP tranactions (non-working)
...
and lots of cleanup (hence the commit)
(ldapmodify will need much more work for transactions)
2004-03-14 23:32:00 +00:00
Kurt Zeilenga
af9e1583a7
Add prototypes for grouping functions
...
Add ldap_find_control()
2004-03-14 00:57:44 +00:00
Kurt Zeilenga
0787c28078
macros for grouping of related operations
...
macros for transaction groupings
2004-03-14 00:07:23 +00:00
Howard Chu
9a8ded9ff1
Fix for password policy draft 7
2004-03-13 10:03:58 +00:00
Howard Chu
3810fa18d8
Added PasswordPolicy control
2004-03-12 21:22:32 +00:00
Pierangelo Masarati
daa29805ad
define error codes for lutil_passwd* funcs
2004-03-12 20:07:41 +00:00
Luke Howard
d249714033
s/SERVER_SEARCH_FLAG/SEARCH_FLAG
2004-03-09 14:12:34 +00:00
Luke Howard
ad7bfa1c23
Document search flags
2004-03-09 14:08:54 +00:00
Luke Howard
d37ac06099
Add defines for LDAP_CONTROL_X_TREE_DELETE and LDAP_CONTROL_X_SEARCH_OPTIONS
2004-03-09 14:03:24 +00:00
Luke Howard
c81161ed86
Fix typo (thanks Pierangelo!)
2004-03-08 09:24:26 +00:00
Luke Howard
d70a8f5ea5
Add #define for incremental values control (draft-kashi-incremental-00.txt)
2004-03-08 07:43:30 +00:00
Howard Chu
c558bd49bc
ITS#2992 Windows fixes from Alexey Melnikov
2004-03-05 12:24:06 +00:00
Howard Chu
1198d4c6d3
Pass result berval to lutil_passwd_hash instead of returning it
2004-03-02 21:59:44 +00:00
Kurt Zeilenga
0c70dda2ed
rebuild
2004-02-26 17:09:18 +00:00
Howard Chu
9f3b0d60f9
Fix EBCDIC conversion for syslog()
2004-02-03 03:58:38 +00:00
Kurt Zeilenga
bc0161025d
rebuild
2004-01-17 19:59:01 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
93c9cbf3b8
Misc updates
2003-12-30 01:45:34 +00:00
Kurt Zeilenga
2775c8d4a8
Update no-op control to return LDAP_NO_OPERATION instead of LDAP_SUCCESS.
...
(back-sql needs to be updated)
2003-12-29 23:31:39 +00:00
Kurt Zeilenga
3c00b4448a
Notice and acknowledgement
2003-12-29 18:45:33 +00:00
Pierangelo Masarati
8b797f70e2
allow user-defined return codes from rewriteRules
2003-12-29 16:14:47 +00:00
Pierangelo Masarati
e9314574aa
allow memory ownership specification when using (session- wide) variables
2003-12-27 18:48:06 +00:00
Kurt Zeilenga
5481755c0e
Move ldapi to /var/run
2003-12-19 02:28:06 +00:00
Kurt Zeilenga
fdbd8705ae
Move pid/args files into $(RUNDIR)/run
...
Move ldapi into $(RUNDIR)/run/openldap
2003-12-19 02:18:29 +00:00
Kurt Zeilenga
fa20839617
Add comment
2003-12-19 02:00:10 +00:00
Kurt Zeilenga
6c7e753c0d
Remove cruft
2003-12-19 01:40:06 +00:00
Kurt Zeilenga
c7a390ee43
Switch to #if instead of #ifdef LDAP_DEPRECATED
2003-12-18 00:44:51 +00:00
Kurt Zeilenga
806ec7470b
Minor adjust
2003-12-17 21:29:19 +00:00
Kurt Zeilenga
46053f84a6
Clean up LDAP Sync result codes
2003-12-17 21:09:28 +00:00
Kurt Zeilenga
271fff13de
Sync with HEAD
2003-12-17 17:55:27 +00:00
Kurt Zeilenga
a736f237f8
Deprecate +objectClass in favor of @objectClass per IETF discussions
2003-12-16 05:55:52 +00:00
Kurt Zeilenga
52c0adeb19
minor tweak and rebuild
2003-12-16 01:58:15 +00:00
Kurt Zeilenga
d9ad3bcc50
Rework last commit
2003-12-15 23:32:52 +00:00
Kurt Zeilenga
ba783f89bf
Rev the API version number
2003-12-15 23:27:28 +00:00
Kurt Zeilenga
9920e9fbf6
Add support for -DOPENLDAP_FD_SETSIZE=N for use on Linux.
...
Works on BSD as well (equiv. to -DFD_SETSIZE=N).
2003-12-14 06:46:30 +00:00
Kurt Zeilenga
4d29df5bd1
Add LDAP_DEPRECATED macro
...
Need to remove use of deprecated functions.
2003-12-14 02:47:42 +00:00
Howard Chu
39eb55b5f4
ITS#2869 fix decode length checks again
2003-12-11 13:24:06 +00:00
Kurt Zeilenga
169c9f60e4
More error code tweaks
2003-12-11 07:43:49 +00:00
Kurt Zeilenga
552a51ca50
Tweak the codes
2003-12-11 07:28:01 +00:00
Kurt Zeilenga
430b67aa60
Change API error codes to negative numbers so as not to clash
...
with newly assigned protocol result codes.
2003-12-11 05:26:32 +00:00
Kurt Zeilenga
96cb99aa54
s/unsigned long/ac_uint4/
2003-12-08 18:08:29 +00:00
Kurt Zeilenga
459d6f41e2
As ud(1) is in the Attic, TERMCAP no longer needed
2003-12-06 21:41:14 +00:00
Kurt Zeilenga
c425a7ce1d
Move back-tcl to the Attic
2003-12-06 21:37:44 +00:00
Howard Chu
64e337eacf
Overlay build environment
2003-12-06 10:59:27 +00:00
Howard Chu
3152932e96
Moved ldbm into back-ldbm. No more libldbm.
2003-12-04 22:38:54 +00:00
Kurt Zeilenga
51358be911
Misc cleanup
2003-12-03 01:07:06 +00:00
Pierangelo Masarati
43f7494a5d
remove /* in comments
2003-11-29 17:52:05 +00:00
Kurt Zeilenga
159de0f135
Updated notices and acknowledgements
2003-11-26 07:16:36 +00:00
Kurt Zeilenga
2c21fdcecb
move AVL routines into -llutil
...
update misc notices
2003-11-26 04:17:25 +00:00
Kurt Zeilenga
a6bc746900
Fix notices
2003-11-26 04:16:36 +00:00
Kurt Zeilenga
e3a4c4ec9c
Notice/Acknowledge updates
2003-11-26 02:58:56 +00:00
Kurt Zeilenga
327880b984
Notice updates
2003-11-25 23:17:08 +00:00
Kurt Zeilenga
fa3ae9e0e6
Align to IBM's OPL notice
2003-11-20 05:10:49 +00:00
Kurt Zeilenga
bc45f4992e
Update to basic notice
2003-11-20 04:58:17 +00:00
Pierangelo Masarati
a3deda8026
fix a number of mem leaks; add destroy code; HEADS-UP: API change in rewrite_info_delete()
2003-11-14 18:39:18 +00:00
Jong Hyuk Choi
64dd6a0760
fix for the cascading replication (reenabling test019)
2003-11-13 00:11:44 +00:00
Jong Hyuk Choi
f3586499d0
update ldapsync/syncrepl code according to the new version of
...
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Kurt Zeilenga
0ee298df97
Should include <ac/string.h> not <string.h>
2003-11-04 00:45:41 +00:00
Howard Chu
45c42630db
Add "defer" arg to ldap_pvt_runqueue_resched to suspend scheduling of
...
a task in the queue without removing it.
2003-10-25 21:13:08 +00:00
Hallvard Furuseth
a4f93a6908
Really rename ldap_int_get_controls() to ldap_pvt_get_controls().
2003-10-14 11:27:32 +00:00
Kurt Zeilenga
85990be2f4
Minor tweak to last commit
2003-10-13 18:35:08 +00:00
Kurt Zeilenga
a2f36ae2d3
Rework of berbuf allocation:
...
Moved BerElementBuffer to lber_pvt.h
Defined union by macro so it can be easily reused.
Updated client/tools/common.c.
2003-10-13 18:09:15 +00:00