Jong Hyuk Choi
6659cf3ea1
LDAP Sync protocol change : state mode (add+present) and log mode (add+delete)
2003-08-14 16:27:36 +00:00
Kurt Zeilenga
b54780f940
Add initial support for modify/increment. No over/under flow detection.
...
Currently discovered via a "feature", but should use a control.
Start of a control made, but needs to be better integrated (with
auto use in ldapmodify(1)).
2003-08-07 16:42:40 +00:00
Kurt Zeilenga
7c9a2f46b9
preliminary modify/increment client side code
2003-07-30 10:21:57 +00:00
Hallvard Furuseth
9290801052
Rename LDAP_OPT_ERROR_NUMBER to LDAP_OPT_RESULT_CODE, according to
...
draft-ietf-ldapext-ldap-c-api-05.txt, and keep the old name as an alias.
2003-07-22 18:19:37 +00:00
Luke Howard
8faebd0d55
Plugin extension API
...
Expose SSF to plugin
2003-07-03 17:38:57 +00:00
Kurt Zeilenga
9deac09c6a
ITS#2622: fix default database directory
2003-06-30 18:46:32 +00:00
Hallvard Furuseth
55093034c6
Add HAVE_LONG_LONG
2003-06-28 19:52:19 +00:00
Jong Hyuk Choi
262f8bf11f
LCUP primitive routines removed
2003-06-27 17:39:48 +00:00
Kurt Zeilenga
3461e10369
Add pre/post reback control defines
2003-06-10 18:30:11 +00:00
Kurt Zeilenga
4bf037cfaa
Add ldapAssertionFailed result code
2003-06-10 02:24:26 +00:00
Kurt Zeilenga
3ca2a91ae1
Assertion control with no backend support (yet)
2003-06-10 02:19:30 +00:00
Hallvard Furuseth
42de322f06
Make all debug output macros conditional on defined(LDAP_DEBUG).
2003-06-06 13:56:18 +00:00
Hallvard Furuseth
af0bd5ab68
No longer make LDAP_TEST imply LDAP_DEBUG.
2003-06-06 13:53:01 +00:00
Hallvard Furuseth
0f29f0af96
#define *_OPT_ON &ber_pvt_opt_on. The old (void*)1 definition could be == NULL.
2003-06-06 13:50:01 +00:00
Hallvard Furuseth
b7e6be414d
Rename setlocale,textdomain,bindtextdomain to ldap_pvt_<function> (ITS#2513)
2003-06-05 11:46:49 +00:00
Kurt Zeilenga
c8c692f15e
Enable sync
2003-05-31 21:03:06 +00:00
Kurt Zeilenga
12304f64e5
Merge partial and intermediate responses
2003-05-31 05:01:49 +00:00
Kurt Zeilenga
21927e2c4a
move lber_*_x memory prototypes to lber_pvt.h
2003-05-31 04:22:49 +00:00
Kurt Zeilenga
03233d2719
Move SYNC, SYNCREPL, and LDAP_CACHING out from behind LDAP_DEVEL
2003-05-31 02:55:23 +00:00
Kurt Zeilenga
e8144158f3
Add/Update various copyright notices
2003-05-25 03:31:21 +00:00
Kurt Zeilenga
4eea8c0a23
Add see also to:
...
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
which is believed to apply here.
2003-05-24 08:29:04 +00:00
Kurt Zeilenga
75fed6691a
zap --enable-phonetic
2003-05-23 05:27:30 +00:00
Jong Hyuk Choi
4192c4aaaa
select loop changes for persistent threads
2003-05-20 23:52:11 +00:00
Jong Hyuk Choi
4f58efc4d1
- change in message to modlist conversion
2003-05-20 01:45:12 +00:00
Pierangelo Masarati
0b5691f122
cleanup previous commit; update header
2003-05-15 01:18:45 +00:00
Jong Hyuk Choi
35d1bd68b9
runqueue restructuring
2003-05-07 23:52:08 +00:00
Jong Hyuk Choi
580ae073e1
runqueue update
2003-05-07 22:29:26 +00:00
Jong Hyuk Choi
45776bff04
a runqueue for periodic thread execution (for syncrepl)
2003-05-07 02:06:01 +00:00
Luke Howard
8c880563ba
Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
...
can create compound filters containing multiple filters. Have proposed API
to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI
is not entirely marked as such already).
2003-05-03 04:16:02 +00:00
Jong Hyuk Choi
e8cd5c2386
- LDAP_SYNCREPL defined in include/ldap.h
...
- add "updatedn" to the replication specification
- return referral to update to the slave server
2003-05-01 23:39:29 +00:00
Jong Hyuk Choi
c468defe24
cleanup
2003-04-30 22:41:37 +00:00
Howard Chu
4b73446ab5
ITS#2424 reset SASL on an existing connection
2003-04-30 15:38:32 +00:00
Howard Chu
7e2273b30e
Added errmsg arg to lutil_passwd_{check,hash} functions
2003-04-30 07:52:05 +00:00
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
Pierangelo Masarati
3a9347a5dc
add null berval initializer (should replace tons of { 0, NULL})
2002-08-29 10:42:13 +00:00
Kurt Zeilenga
341ba76238
regenerate for sasl version checks
2002-08-28 07:32:00 +00:00
Kurt Zeilenga
8de258d2e2
Patch: 'ldapmodify -y file' reads password from file (ITS#2031)
...
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
Adapted by Kurt Zeilenga for inclusion in OpenLDAP. My comments are
marked with enclosed with square brackets (e.g. [Kurt's comment] below.
================
If I run ldapmodify & co from a script, I don't want to use '-W password'
because the password shows up in the output of 'ps' for everyone,
and I can't pipe the password to 'ldapmodify -w' because -w uses
getpassphrase() which reads from the tty instead of stdin.
So I added '-y file' which reads the password from file. The programs
exit if the file cannot be read.
[Complete contents of file is used as password. Use:
echo -n "secret" > password
to create a file with "secret" as the password. The -n avoids
adding a newline (which would invalidate the password). Note
that echo is a builtin and hence its arguments are not visible
to 'ps'.]
I changed ldapmodify, ldapmodrdn, ldapdelete, ldapsearch, ldapcompare.
I did not bother to change ldappasswd and ldapwhoami, because they
prompt for many passwords. [I fixed up ldapwhoami.]
Rerun autoconf after applying this patch. [Done.]
Note: I do not know if Windows NT has fstat(), so I set HAVE_FSTAT to
undef in portable.nt. (fstat() is used to warn if the file is publicly
readable or writeable.) [I used fstat() to set the buffer size to
read.]
[Note: using the contents of a file extends the tools to support
passwords which could not normally be provided using getpassphrase()
or via the command line.]
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
[Kurt D. Zeilenga <kurt@openldap.org>, Aug 2002.]
2002-08-24 05:47:17 +00:00
Howard Chu
8c30114d84
Added thread-pool getkey/setkey functions
2002-08-24 05:39:43 +00:00
Pierangelo Masarati
4046c4226e
add upper/lower funcs that also compute the length of the string (not used yet)
2002-08-23 08:45:17 +00:00
Howard Chu
1aa551f545
include actual ucdata.h, not the symlink. liblutil/passwd.c needs this
...
header file, and we now build liblutil before liblunicode.
2002-08-22 11:44:27 +00:00
Kurt Zeilenga
f4e66b9420
paged results uses one OID for both request and response
2002-08-12 19:49:20 +00:00
Kurt Zeilenga
9c28c9b361
Zap LDAPv2-only stuff
2002-08-08 03:01:14 +00:00
Howard Chu
d4df52a659
Silence struct tm warnings
2002-07-27 02:10:02 +00:00
Howard Chu
5a5f9219bf
Moved slap_strcopy, slap_strncopy to lutil_strcopy, lutil_strncopy
...
Added lutil_gentime
2002-07-27 00:26:27 +00:00
Howard Chu
c4f91fc9a8
Revert previous commit, too much broken
2002-07-26 14:22:45 +00:00
Howard Chu
f8f4f383ea
Fix previous commit
2002-07-26 13:46:09 +00:00
Howard Chu
589b0fcdd6
stdio kludge for OS/390; stdlib.h must be included after stdio.h
2002-07-26 13:36:04 +00:00
Howard Chu
d889d5f1dc
Use both <string.h> and <strings.h> if BOTH_STRINGS_H is defined
2002-07-26 11:31:29 +00:00
Kurt Zeilenga
b34eea4562
add feature macros
2002-07-23 18:37:22 +00:00
Kurt Zeilenga
b23eab09aa
ucdata presently uses sized types. sized types use should be avoided
...
as they are not be available on all platforms.
2002-07-23 18:29:48 +00:00
Julius Enarusai
6107ba67d2
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
2002-07-11 20:33:24 +00:00
Kurt Zeilenga
5fcd6b41e3
Use #ifdef, not #if, to check SHUT_RDWR
2002-06-19 18:15:20 +00:00
Kurt Zeilenga
674c55f78f
remove --enable-kbind option (can be manually set)
2002-06-12 04:55:30 +00:00
Kurt Zeilenga
fe86a81e25
VLV clean
2002-06-09 06:12:24 +00:00
Howard Chu
0782b633b2
Delete defs for FINGER
2002-05-18 02:12:04 +00:00
Kurt Zeilenga
4e51bba217
Patch: Implement surrogate parent for back-shell (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.
================
A surrogate parent is supposed to keep back-shell children from
deadlocking due to resources locked by a threading parent.
Implementation note: The surrogate parent closes all unused file
descriptors, so it logs errors to stderr instead of via Debug() and
uses relloc() instead of ch_realloc().
Also close a file descriptor leak if fork() fails in fork.c.
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, May 2002.
2002-05-15 06:18:14 +00:00
Kurt Zeilenga
d8388e461d
remove cruft
2002-05-15 06:09:17 +00:00
Kurt Zeilenga
8c152396b9
Matched Values implementation (ITS#1776) based upon submission
...
form Mikhail Sahalaev <M.Sahalayev@pgr.salford.ac.uk>.
Further work needed:
add testxxx-matchedvalues
rework ldapsearch(1) portion of patch to generalize use of options
---
Copyright 2001, Mikhail Sahalaev, All rights reserved.
This software is not subject to any license of University Of
Salford.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice
is preserved.
2002-05-02 18:56:56 +00:00
Howard Chu
f5fd4dc355
Added ldap_ucs_to_utf8s to convert ASN.1 T61STRING, BMPSTRING, and
...
UNIVERSALSTRING to UTF-8 format.
2002-04-30 13:57:24 +00:00
Howard Chu
de3e81cebb
Changed ldap_pvt_tls_get_my_dn and ldap_pvt_tls_get_peer_dn to store result
...
in dn parameter and return a result code.
2002-04-30 13:50:56 +00:00
Howard Chu
17ae956518
Added ldap_X509dn2bv()
...
deleted ldap_pvt_tls_get_peer()
changed ldap_pvt_tls_get_peer_dn() to use ldap_X509dn2bv()
added ldap_pvt_tls_get_my_dn()
2002-04-18 12:29:30 +00:00
Pierangelo Masarati
4b9fa66188
use BVC() macro (changed in BER_BVC) to initialize constant bervals
2002-04-08 18:37:37 +00:00
Pierangelo Masarati
4a8ab5dbf2
Mostly based on patches provided by Hallvard B. Furuseth
...
ITS#1677 - cast away const warnings
ITS#1678 - unsigned char args to ctype funcs
ITS#1682 - don't redefine ldap_debug
ITS#1683 - uninitialized vars
ITS#1703 - ldo_debug initialization
ITS#1705 - unsigned testing
ITS#1706 - socklen_t args
ITS#1719 - back-tcl update (other cleanups/fixes/improvements; yet untested)
ITS#1724 - integerNormalize/integerFilter/integerIndexer bugs
ITS#1725 - libdes not required
Implement back-null (/dev/null style backend)
Cleanup some misc warnings ("%lu" format, unused/uninitialized vars,
ambiguous operator precedence)
Kurt, please regenerate configure
2002-04-08 09:43:22 +00:00
Howard Chu
5c70106657
ITS#1708 ldap_pvt_tls_sb_ctx() et al
2002-04-05 06:48:03 +00:00
Kurt Zeilenga
7250ffb1cc
move ldap_int_put_filter to ldap_pvt_put_filter
2002-03-30 00:41:26 +00:00
Kurt Zeilenga
fcf9f451a5
Copyright 2001, Adrian Thurston, All rights reserved.
...
This software is not subject to any license of
Xandros Corporation.
This is free software; you can redistribute and use it under the same
terms as OpenLDAP itself.
-------------------------------------------------------------------
This patch adds an option to ldap_get_option which can be called after
ldap_start_tls in order to obtain the pointer to the SSL object used
2002-03-11 03:39:08 +00:00
Kurt Zeilenga
6d5afc773a
assign 'published' OID to subentry control
2002-03-01 19:06:57 +00:00
Stig Venaas
c476878fde
Using new UTF8bv* all over, getting rid of UTF8normalize() and
...
UTF8normcmp().
2002-02-27 16:11:24 +00:00
Stig Venaas
94983da942
Added code for approximate matching in UTF8bvnormalize() and changed to use
...
this in approxMatch etc in schema_init.c
2002-02-26 18:38:40 +00:00
Stig Venaas
d6c3ccadc4
Optimizing UTF8bvnormcmp() by adding flags that tells which arguments are
...
in NFC. By default no arguments are assumed to be NFC.
2002-02-25 13:20:09 +00:00
Stig Venaas
9e8f3053cb
Added UTF8bvnormcmp(), should replace UTF8normcmp()
2002-02-20 15:51:10 +00:00
Kurt Zeilenga
3c70228fd2
Assigned 'published' OID for whoami? op
2002-02-18 18:22:07 +00:00
Pierangelo Masarati
2aec424646
use memchr in ber_bvchr
2002-02-14 21:10:13 +00:00
Pierangelo Masarati
215448ac83
substrings match works with NULs in UTF8 strings
2002-02-14 18:55:38 +00:00
Pierangelo Masarati
ef607e65d7
first round at replacing UTF8normalize with UTF8bvnormalize
2002-02-14 16:01:48 +00:00
Howard Chu
933f6a5fdd
For ITS#1601, add ber_init2() using given buffer in-place instead of
...
allocating a copy.
2002-02-14 13:32:40 +00:00
Pierangelo Masarati
39891e4e5b
make UTF8STringNormalize handle NUL
2002-02-13 21:25:57 +00:00
Pierangelo Masarati
a117c5eee7
use ldap_bv2[r]dn and turn ldap_str2[r]dn into wrappers
2002-02-13 11:46:33 +00:00
Pierangelo Masarati
959edd88c0
prepare for ldap_bv2dn()
2002-02-13 10:05:22 +00:00
Kurt Zeilenga
a9cf0f5c08
Add uuid_to_str() detection.
2002-02-11 20:17:08 +00:00
Kurt Zeilenga
d23c559646
Don't use 'shtool mkln' as ln(1) replacement.
...
Allow both <sasl/sasl.h> and <sasl.h>
2002-02-11 08:28:51 +00:00
Kurt Zeilenga
e9a7313de9
Minor astestic changes
2002-02-11 00:28:17 +00:00
Kurt Zeilenga
ce07fb958e
Update libtool usage
...
s/-L.../libraries -lldap/.../libraries/libldap/libldap.la/
2002-02-10 22:42:51 +00:00
Kurt Zeilenga
3a5b94cdbd
Update to libtool 1.4.2
2002-02-10 03:03:47 +00:00
Kurt Zeilenga
9eb6617951
Add a default db directory for all backends
2002-02-02 06:18:11 +00:00
Kurt Zeilenga
1116bf4f45
Misc WinNT build updates
2002-01-30 04:06:31 +00:00
Kurt Zeilenga
15902ae7e1
Add comment to -lV3 test that this is not needed in
...
newer versions of HP-UX. However, as the test causes
no problems on any system, it's left in place (as someone
might actually be using an older version of HP-UX).
2002-01-30 01:21:08 +00:00
Kurt Zeilenga
14662be692
Add whoami extended operation.
...
Add no-op control (needs backend implementation)
Updated modify password extended option API
Kludged control infrastructure to support frontend only controls
2002-01-28 20:25:30 +00:00
Kurt Zeilenga
1e7ca2e850
Add BDB compatibility check. Require Berkeley DB 3.3 or greater.
2002-01-23 19:08:07 +00:00
Kurt Zeilenga
6169ef5873
Really Fix typos
2002-01-21 02:23:20 +00:00
Kurt Zeilenga
6232d90320
Correct cthread typos
2002-01-21 02:07:27 +00:00
Kurt Zeilenga
1b6811d759
Reverse ber_strccmp assertion order to avoid ""[1] problems
2002-01-16 19:31:25 +00:00
Pierangelo Masarati
52b05a5b06
more ber_*cmp optimizations
2002-01-16 19:18:41 +00:00
Kurt Zeilenga
b48c355934
Fix up last commit
2002-01-16 19:03:31 +00:00
Kurt Zeilenga
7f0289a390
Move most of the new ber_*cmp routines to lber_pvt.h to keep them private,
...
rework them slightly to avoid computations which might result in underflow.
Rename them for consistency with other berval routines.
Remove some utf8 lint.
2002-01-16 18:16:15 +00:00
Pierangelo Masarati
af54eed042
added ber_[mem|case]cmp() macros for fast berval comparison; extensively used in acl and in dn_match macro at present
2002-01-16 11:36:47 +00:00
Howard Chu
2d51ad52b3
Added LDAP_UTF8_CHARLEN2() to validate shortest possible encoding
...
of UTF8 string. (Returns charlen if valid, 0 if not.)
2002-01-15 08:07:46 +00:00
Howard Chu
ac1332cdb8
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
...
liblber:ber_bvarray_{add,free}.
2002-01-14 01:43:17 +00:00
Pierangelo Masarati
011b4763c5
cleanup
2002-01-12 16:11:40 +00:00
Kurt Zeilenga
2958cb4dd0
A subentries control framework
2002-01-09 00:05:49 +00:00
Kurt Zeilenga
f80b4ad53e
Minor const'ification cleanup
2002-01-08 20:24:56 +00:00
Howard Chu
c8f7f1a198
Added doalloc flag to ber_get_stringbv
2002-01-06 05:36:27 +00:00
Kurt Zeilenga
f1afebe727
struct * are not to be const'ified
2002-01-05 18:54:04 +00:00
Pierangelo Masarati
d0261ee534
leftover ber_bvdup eliminated; rewritten ber_bvdup in terms of ber_dupbv; eliminated wrapper macro; other ber_* improvements
2002-01-05 17:49:59 +00:00
Howard Chu
996eb58011
Fix ASCII detection; can't use "< 0x80" on a signed char.
2002-01-05 10:33:38 +00:00
Kurt Zeilenga
c38027902a
Update copyright notices
2002-01-04 20:40:29 +00:00
Kurt Zeilenga
6d9bc36d01
autoconf
2002-01-04 20:37:25 +00:00
Kurt Zeilenga
1d4e2342d2
Add LBER DN format flag (no code yet).
...
Return API result codes, not protocol result codes.
2002-01-03 20:06:29 +00:00
Kurt Zeilenga
3dac129527
misc cleanup
2002-01-03 00:32:19 +00:00
Howard Chu
95c5d0c6e9
Replaced by ldap_queue.h
2002-01-03 00:14:37 +00:00
Howard Chu
3478cb24e6
Moved queue-compat.h to ldap_queue.h, added LDAP_ prefix to all macros
2002-01-02 23:53:57 +00:00
Howard Chu
2711d717bd
Fix some externs
2002-01-02 23:53:23 +00:00
Kurt Zeilenga
763c0de59b
Rework filter code
...
Misc cleanup / lint removal
2002-01-02 17:06:56 +00:00
Howard Chu
61128d0020
Added LDAP_UTF8_ISSPACE (tho no one uses it)
2002-01-02 08:49:17 +00:00
Howard Chu
445a4766ea
Added ber_get_stringbv
2001-12-31 14:43:54 +00:00
Howard Chu
fbc54d47d3
Added ber_free_buf()
2001-12-31 06:01:59 +00:00
Howard Chu
776ce133e9
More str2rdn tweaks
2001-12-30 09:42:58 +00:00
Howard Chu
a191392e2e
Changed LDAP_AVA struct berval * to struct berval.
2001-12-29 10:35:24 +00:00
Howard Chu
729fe56698
Made LDAP_UTF8_CHARLEN/ldap_utf8_charlen table-driven.
2001-12-29 02:57:32 +00:00
Pierangelo Masarati
2f3f7c6765
ldap_str2rdn() can parse without allocating a LDAPRDN* (not very clean, though); used by dn_rdnlen
2001-12-28 12:50:48 +00:00
Howard Chu
4d7e904404
Added ldap_dn2bv and ldap_rdn2bv
2001-12-28 10:03:39 +00:00
Howard Chu
06b350c04c
Moved WSAStartup/WSACleanup to libldap/init.c. Cleanup occurs in the
...
internal atexit handler.
2001-12-28 06:12:17 +00:00
Kurt Zeilenga
52a354f753
Mark more stuff as deprecated and remove some unused deprecated
...
routines.
2001-12-27 23:01:17 +00:00
Kurt Zeilenga
cddf7e0e00
More struct berval DN changes
...
decrease dependency on dn_validate/dn_normalize
2001-12-27 07:13:13 +00:00
Kurt Zeilenga
a553a03586
More struct berval DNs changes
2001-12-26 23:43:28 +00:00
Kurt Zeilenga
7195dad7c2
Zap configinfo and cleanup unused defaults
2001-12-26 19:10:13 +00:00
Howard Chu
327f253183
Add optional len to ber_str2bv
2001-12-26 13:45:22 +00:00
Howard Chu
a1460e74ce
Added ldap_xxx2bv schema functions
2001-12-26 12:31:44 +00:00
Howard Chu
733056970e
Changed ber_bvdup to ber_dupbv with destination provided
2001-12-26 11:15:28 +00:00
Howard Chu
fb3af1ccbd
Merged ber_bvstr and ber_bvstrdup into ber_str2bv.
2001-12-26 10:06:19 +00:00
Kurt Zeilenga
25b5aaf262
Delete ldap_build_filter(), it's broke.
...
Clean up headers.
2001-12-24 03:49:54 +00:00
Kurt Zeilenga
9d56c59d1b
Minor cleanup, rename ldapava_free_*() routines and
...
don't expose symbols of ava helper routines
2001-12-23 22:46:37 +00:00
Kurt Zeilenga
ab521f1e28
Minor cleanup
2001-12-23 20:20:15 +00:00
Kurt Zeilenga
b3b17ca4e7
Remove srchpref and disptmpl stuff.
2001-12-19 21:46:34 +00:00
Kurt Zeilenga
608de2fd65
Don't const pointers to structures.
2001-12-19 21:20:46 +00:00
Kurt Zeilenga
10e2893d2a
Minor adjustments... no rlookups by default, rm maxpathlen
2001-12-19 01:55:51 +00:00
Howard Chu
8efc35ed53
from jon@symas.com - sync with portable.h.in 1.191
2001-12-19 00:38:42 +00:00
Kurt Zeilenga
6808cd668c
Add mkstemp() detection
2001-12-18 23:44:06 +00:00
Kurt Zeilenga
ca975216b8
Regenerate configure and fix AC header inclusion
2001-12-18 02:25:21 +00:00
Howard Chu
276ed0bbae
Move Windows sleep macro from acconfig.h to ac/unistd.h
2001-12-18 02:03:23 +00:00
Kurt Zeilenga
557fd1b3c7
Regenerate at hyc's request
2001-12-18 01:09:00 +00:00
Howard Chu
c37fa6d165
from jon@symas.com - misc MSVC cleanup
2001-12-17 22:40:10 +00:00
Howard Chu
8119f8e922
from jon@symas.com - fix unterminated comment
2001-12-17 22:38:15 +00:00
Pierangelo Masarati
95f1740aa6
improvements to monitor backend: added a log entry that lists the current log level and can be modified via protocol at runtime, to change the log level; minor improvements; fixed a problem in dealing with dn normalization
2001-12-10 09:50:06 +00:00
Kurt Zeilenga
5b485c699c
use offsetof directly
2001-12-09 19:27:05 +00:00
Kurt Zeilenga
abd9be4def
Remove lint and misc MSVC updates
2001-12-09 02:34:45 +00:00
Kurt Zeilenga
343e2df772
autoconf for hyc
2001-12-07 04:40:07 +00:00
Howard Chu
0552b1c53f
NT updates from jon@symas.com.
2001-12-07 04:03:25 +00:00
Howard Chu
82eca519ae
More from Jon Leichter @ Symas - platform-independent TMPDIR usage
2001-12-07 02:22:07 +00:00
Kurt Zeilenga
52379166ef
Add copyright notice, remove _KERNEL stuff.
2001-12-06 16:11:04 +00:00
Kurt Zeilenga
35220ca0ad
Add BSD Queue (and list) management
2001-12-06 15:55:34 +00:00