Commit Graph

982 Commits

Author SHA1 Message Date
Hallvard Furuseth
6d59c23c55 Make string parameter to ldap_charray_add() and ldap_charray_inlist() const. 2003-04-29 16:34:37 +00:00
Kurt Zeilenga
a609f87eb6 remove lint 2003-04-24 23:15:59 +00:00
Kurt Zeilenga
d6f82a74c1 Rebuild configure scripts with --enable-hdb support
Add HDB to test suite
2003-04-23 16:50:56 +00:00
Jong Hyuk Choi
203c2aad41 move ldap_get_message_ber() from ldap.h to ldap_pvt.h 2003-04-22 23:02:11 +00:00
Jong Hyuk Choi
fd3cf2b5ed get_ldapmsg_ber() -> ldap_get_message_ber() 2003-04-22 22:09:25 +00:00
Jong Hyuk Choi
759110255f get_ldapmsg_ber() added. 2003-04-22 21:38:59 +00:00
Kurt Zeilenga
ca52123a60 Fix builds when getaddrinfo is not detected but getnameinfo is.
This does not happen normally.
2003-04-21 18:28:08 +00:00
Howard Chu
a6a6946a67 New ldap_pvt_thread_pool_context() 2003-04-12 04:01:40 +00:00
Howard Chu
d46ab4c065 Move ldap_dnfree_x etc. decls from ldap.h to ldap_pvt.h 2003-04-11 10:26:25 +00:00
Howard Chu
808cb504ce More memory context tweaks 2003-04-11 03:57:10 +00:00
Howard Chu
1874658ae3 More memory context tweaks 2003-04-11 01:02:08 +00:00
Howard Chu
8e476bd5b7 Extended ber_mem functions, add context argument. 2003-04-09 13:26:22 +00:00
Kurt Zeilenga
14d8a58076 Re-add <ac/localize.h> 2003-04-07 22:44:15 +00:00
Kurt Zeilenga
acdbf29e93 Backout autoconf 2.57 changes. Too much work for now. 2003-04-07 22:23:24 +00:00
Howard Chu
2ee7488d0b ITS#2423 - make the lib that allocates SASL prompt results responsible
for freeing them.
2003-04-06 00:47:55 +00:00
Kurt Zeilenga
4809e4da1e Basic infrastructure for i18n/l10n 2003-04-05 20:49:16 +00:00
Howard Chu
e847fd46b7 Revert ol_version stuff. 2003-03-31 05:48:52 +00:00
Howard Chu
c23c3a2ff5 Revert ol_version stuff, just use mkversion 2003-03-29 06:27:37 +00:00
Howard Chu
5a1eb936bc Add rules to patch current package name & version number into portable.h 2003-03-28 20:37:51 +00:00
Howard Chu
8f15857589 Use OPENLDAP_PACKAGE instead of _OLV_PKG 2003-03-19 01:39:05 +00:00
Howard Chu
5db9c2c269 Use ol_version.h 2003-03-19 01:31:42 +00:00
Howard Chu
8d6ae6a236 Rename version.h to ol_version.h 2003-03-18 22:53:15 +00:00
Howard Chu
c086b9aec9 New version.h to replace mkversion 2003-03-18 22:50:07 +00:00
Howard Chu
62f7394f8c Fix up lutil_passwd stuff to avoid struct berval definition 2003-03-12 23:07:09 +00:00
Howard Chu
bbad1de8e1 Added lutil_passwd_init, _destroy, _add for dynamically adding passwd
schemes. Declarations in lutil.h require lutil.h never be included before
lber.h, always after.
2003-03-11 05:58:53 +00:00
Kurt Zeilenga
1b4180faa8 rebuild 2003-03-06 00:38:42 +00:00
Howard Chu
873e498829 Silence warning in prev commit 2003-03-05 01:37:56 +00:00
Howard Chu
e87f588f00 Added ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when
all you want is the hostname.
2003-03-05 01:34:31 +00:00
Howard Chu
ac04ec0ca4 Add NI_MAXHOST if not defined; normally in <netdb.h> on IPv6 systems 2003-03-05 01:33:36 +00:00
Pierangelo Masarati
fb3ca13aef declare ldap_[parse_]passwd 2003-03-03 21:31:00 +00:00
Howard Chu
13b96bc479 Cleanup NT service support declarations 2003-03-03 11:42:12 +00:00
Howard Chu
b2eddc32b2 Delete unused EDITOR, SENDMAIL substitutions 2003-03-03 10:17:38 +00:00
Kurt Zeilenga
fe4f355328 Add acc_rights detection (needs testing) 2003-03-02 21:46:40 +00:00
Kurt Zeilenga
206b071e7f Add check of <sys/uio.h> and include as needed for struct iovec. 2003-03-02 21:21:36 +00:00
Kurt Zeilenga
ec00c53c90 Rename initializers 2003-03-02 03:14:59 +00:00
Pierangelo Masarati
46a841870f add 'next[/prev]' initializer 2003-03-01 12:28:07 +00:00
Luke Howard
468583fca3 Add slapi_dup_control(). 2003-02-27 12:58:39 +00:00
Kurt Zeilenga
737f4b0d34 Misc LCUP cleanup 2003-02-09 08:43:20 +00:00
Kurt Zeilenga
4b3396f5fd unifdef -DLDAP_NOCACHE 2003-02-09 07:42:18 +00:00
Kurt Zeilenga
282f6bc32d Cancel exop updates 2003-02-09 05:54:45 +00:00
Kurt Zeilenga
c04e9ac993 rename "permit modify" control to "permissive modify"
rename "no referrals" controls to "domain scope"
misc cleanup
2003-02-09 05:39:21 +00:00
Kurt Zeilenga
48d47954a6 Rework #ifdef'ing of expermental controls to ease release engineering
using LDAP_DEVEL (to indicate experimental) to enable experimental features
(true for HEAD unless LDAP_REL_ENG is defined)
2003-02-08 21:53:05 +00:00
Kurt Zeilenga
a045432882 Assign OIDs for LDAP Sync 2003-02-07 21:39:31 +00:00
Kurt Zeilenga
cb0a009dca Shouldn't need <lber.h> 2003-02-07 19:08:13 +00:00
Jong Hyuk Choi
85b1783d5c LDAP Sync Operation (draft-zeilenga-ldup-sync) as a groundwork for an LDAP replication design 2003-02-05 07:37:02 +00:00
Jong Hyuk Choi
e1bf8cc437 Intermediate Response 2003-02-03 17:28:19 +00:00
Luke Howard
1be73d766c Added slapi_filter_dup() API from Sun ONE DS 5.x 2003-01-30 13:04:36 +00:00
Luke Howard
6f40a3fc6a Added slapi_filter_apply() API from Sun ONE DS 5.x 2003-01-30 12:24:32 +00:00
Pierangelo Masarati
4663b3ffa3 hide actual value/valueset 2003-01-30 09:54:56 +00:00
Jong Hyuk Choi
4f64bd9402 LDAP cancel misc patch 2003-01-27 17:08:51 +00:00
Pierangelo Masarati
d1cc80694f reworking of slapi headers 2003-01-27 14:44:39 +00:00
Luke Howard
f989cfddb9 more Sun ONE DS 5.x harmonisation 2003-01-26 01:10:19 +00:00
Luke Howard
df0c378c1f Filter structure typo fix 2003-01-25 13:38:32 +00:00
Luke Howard
446b496353 New filter SLAPI 2003-01-25 13:36:28 +00:00
Jong Hyuk Choi
0c43007e55 LDAP cancel operation 2003-01-25 00:36:50 +00:00
Luke Howard
eb554ca792 sync with slapd/slapi/slapi_utils.h 2003-01-24 09:56:18 +00:00
Luke Howard
45289b09a7 Matching rule constants for future support 2003-01-24 09:00:18 +00:00
Luke Howard
b4b68e2295 sync with slapd/slapi/slapi.h 2003-01-24 08:52:14 +00:00
Luke Howard
9490776d7b Added ldap_pvt_thread_self() and ldap_pvt_thread_pool_context() API. 2003-01-24 06:49:13 +00:00
Luke Howard
7f189a15f7 Sync with slapd/slapi/slapi_utils.h 2003-01-24 05:56:47 +00:00
Luke Howard
2bb23eb2a0 Added PermitModify/NoReferrals controls 2003-01-23 11:36:12 +00:00
Luke Howard
7e24eb578f Sync with slapd/slapi 2003-01-22 15:48:22 +00:00
Luke Howard
7298f9e55e Align with new SLAPI extensions in servers/slapd/slapi 2003-01-22 13:36:11 +00:00
Luke Howard
15276f6194 Harmonised slapi_ch_free() with Sun ONE API 2003-01-20 23:29:08 +00:00
Pierangelo Masarati
8d0711b08f slapi-plugin.h goes in include 2003-01-18 11:19:27 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Howard Chu
6a37f1ae80 Added ber_flatten2 - uses passed in struct berval, allocates copy or
directly re-uses existing ber buf.
2002-12-18 19:15:27 +00:00
Howard Chu
9ee8efb025 Bumped stack size up from 2M to 4M, 2M is too small on Solaris 2002-12-11 04:35:05 +00:00
Kurt Zeilenga
3520850df7 rebuild 2002-12-09 16:46:47 +00:00
Pierangelo Masarati
d19706634c fix previous commit 2002-12-07 19:00:34 +00:00
Pierangelo Masarati
1b70e16448 SLAPI - Netscape plugin API for slapd - based on patch contributed by Steve Omrani <somrani@us.ibm.com> as ITS#2073 2002-12-07 17:19:29 +00:00
Kurt Zeilenga
eb41333e4c Use getpeereid(3) where available else use *_PEERCRED replacment function 2002-12-04 06:17:32 +00:00
Kurt Zeilenga
73b4170a6c Rework libldap to not attempt to set LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 2002-12-04 04:51:55 +00:00
Kurt Zeilenga
da76c1951e First-cut proxy authorization support. 2002-12-03 06:11:32 +00:00
Kurt Zeilenga
235973571a proxy authz control (client only)
Misc control cleanups (client only)
2002-11-28 02:26:55 +00:00
Pierangelo Masarati
c354bb23bf Support for RFC 2696:
LDAP Control Extension for Simple Paged Results Manipulation

contributed by Lynn Moss <lynnmoss@us.ibm.com> (ITS#2189)

applied with changes.
2002-11-21 02:16:53 +00:00
Jong Hyuk Choi
8ee8248328 LDAP_TAILQ fix 2002-11-13 05:50:07 +00:00
Kurt Zeilenga
3289dffd31 Rebuild 2002-11-11 03:21:14 +00:00
Kurt Zeilenga
20df7df206 Misc configure cleanup 2002-10-29 04:55:15 +00:00
Jong Hyuk Choi
8074294f1d LCUP persistent search code drop 2002-10-25 17:51:30 +00:00
Kurt Zeilenga
63e7c9e796 first cut at ditStructureRule and nameForm routines 2002-10-13 01:36:58 +00:00
Kurt Zeilenga
40b685b70d Patch: Delete the buggy surrogate parent code (ITS#1815)
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
2002-10-10 20:28:36 +00:00
Kurt Zeilenga
cf318d2340 Add ditContentRule routines 2002-10-09 02:56:46 +00:00
Kurt Zeilenga
3a17376dfd s/256/LBER_ELEMENT_SIZEOF/
set LBER_ELEMENT_SIZEOF to 256
maybe this should be set to N*sizeof(size_t) or something
2002-10-07 21:01:47 +00:00
Kurt Zeilenga
491e75548c ITS #2121 submitted by Dave Steck <dsteck@novell.com> with minor changes.
Patch to allow referrals to be read on synchronous non-search operations.
Treat referrals the same way as MatchDN or ErrorString values.
Store them in the ld structure and provide an option for ldap_get_option
to retrieve them
2002-10-02 19:14:02 +00:00
Kurt Zeilenga
5a69fa6df6 remove unused log level 2002-09-19 00:58:51 +00:00
Howard Chu
c72ee9ae1b Decrease default thread stack size from 16MB to 2MB 2002-09-10 03:34:49 +00:00
Howard Chu
1dbbccc3fe Eliminate overallocation in LUTIL_BASE64_ENCODE_LEN 2002-09-10 03:13:37 +00:00
Howard Chu
7017f22468 Fix ITS#2055, avoid roundoff errors in LUTIL_BASE64_DECODE_LEN 2002-09-10 02:55:05 +00:00
Howard Chu
890d4b9449 Moved stdio replacements from liblutil lutil_* to liblber ber_pvt_*. 2002-09-10 00:47:32 +00:00
Howard Chu
afce29547d Regenerated with Pthread version update 2002-09-07 14:24:22 +00:00
Howard Chu
ee30206bc2 Merged ldap_get_values_ber into ldap_get_attribute_ber. 2002-09-06 04:57:21 +00:00
Kurt Zeilenga
37d9880495 Some LCUP clean up 2002-09-06 00:29:20 +00:00
Howard Chu
6a903bc1e5 Added new ldap_get_{dn,attribute,values}_ber functions for linearly
processing a search entry. Avoids O(n^2) ldap_get_values() behavior.
2002-09-05 11:33:32 +00:00
Kurt Zeilenga
f64021ed2f Use registered 666 numbers for LCUP controls 2002-09-04 02:46:24 +00:00
Kurt Zeilenga
a83cc88edd Move ldap_control_dup() to ldap_pvt.h 2002-09-04 02:14:12 +00:00
Jong Hyuk Choi
4b48c05a8e LDAP Client Update Protocol - non-persistent update (TODO: response control ...) 2002-09-04 02:00:42 +00:00
Pierangelo Masarati
aea52e5bc9 define macros for appropriate sizing of lutil buffers 2002-08-31 10:48:02 +00:00
Kurt Zeilenga
6bd59cc58f Fix #ifdefs (DUPENT should be behind the 0) 2002-08-30 06:17:25 +00:00
Kurt Zeilenga
352b672716 Assign NOOP its published OID. I-D to follow. 2002-08-30 05:32:51 +00:00