Pierangelo Masarati
39891e4e5b
make UTF8STringNormalize handle NUL
2002-02-13 21:25:57 +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
ac1332cdb8
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
...
liblber:ber_bvarray_{add,free}.
2002-01-14 01:43:17 +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
Kurt Zeilenga
c38027902a
Update copyright notices
2002-01-04 20:40:29 +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
327f253183
Add optional len to ber_str2bv
2001-12-26 13:45:22 +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
Howard Chu
0552b1c53f
NT updates from jon@symas.com.
2001-12-07 04:03:25 +00:00
Howard Chu
647b5f84ee
Resurrection/rewrite of CLDAP (RFC1798 Connectionless LDAP).
...
Compile with -DLDAP_CONNECTIONLESS to use this code.
For slapd, use "-h cldap://" to listen on UDP.
For ldapsearch, use "-H cldap://" to query on UDP.
Client-side support is very minimal:
no automatic timeout/retries
no basedn wildcard expansion on results
no support for specifying multiple servers at once.
2001-09-28 00:18:40 +00:00
Kurt Zeilenga
be9a50af25
Update copyright (including with or without modification clarification)
2001-05-29 03:29:53 +00:00
Kurt Zeilenga
61d874af10
reimplementation of sb_max_incoming
2001-05-04 21:15:09 +00:00
Kurt Zeilenga
788cf960ed
rm LBER_USE_INDEFINITE_LEN
2001-01-26 05:04:26 +00:00
Kurt Zeilenga
0d6ca74255
Doesn't require <stdio.h>
2000-10-13 20:40:45 +00:00
Gary Williams
f6f13d8ecb
remove stdarg.h and prototypes that require it
2000-10-13 14:09:32 +00:00
Gary Williams
d37f3e6ee2
first try at logging improvements
2000-10-12 20:01:12 +00:00
Kurt Zeilenga
7543094129
mark lber_init_w_nullc as deprecated
2000-10-11 02:45:00 +00:00
Kurt Zeilenga
25a9f7427d
Remove CLDAP cruft
2000-08-18 04:25:00 +00:00
Kurt Zeilenga
060ee8ee88
Add Steve Sonntag's (Novell) memory debugging extensions
2000-07-04 18:47:06 +00:00
Kurt Zeilenga
9ef1a740c2
Round one of LDAP_F() macro changes. In this round we rename
...
macros into our namespace and limit use to headers. A subsequent
round will add macros to separately handle forward declarations
of variables from declaration of function prototypes. The last
round will add additional macros for declaring actual variables and
functions.
2000-06-18 19:48:07 +00:00
Kurt Zeilenga
1ef14875db
Thought I fixed these errors previously... oh well.
2000-06-10 23:06:08 +00:00
Kurt Zeilenga
1d841d49d5
Fix LDAP_END_DECL bug, add LDAP_P() to rebind proc prototype, and
...
other minor changes.
2000-06-10 17:31:56 +00:00
Kurt Zeilenga
c1117666b1
remove old STR_TRANSLATION feature. The use of this feature
...
was only of limited use with LDAPv2 (worked okay if no non-T.61
values existed) but downright dangerous in the face of LDAPv3.
Any translation must be schema aware and the BER isn't.
2000-06-05 19:22:19 +00:00
Kurt Zeilenga
2e0912622b
ITS#537: lber io rewrite from Gambor Gombas.
...
Copyright 2000 Gábor Gombás. All rights reserved.
This is free software. You may redistribute and use it under the same
terms as OpenLDAP itself.
2000-06-01 20:59:21 +00:00
Kurt Zeilenga
e9d0b98a10
Update lber-encode/decode man pages
...
Add ber_get_enum() for symmetry
2000-05-13 23:08:25 +00:00
Kurt Zeilenga
0bb431d3b3
Y2k copyright update
2000-05-13 02:25:54 +00:00
Howard Chu
65d7521be1
Added LBER_OPT_LOG_PRINT_FILE to redirect the output of ber_error_print.
...
Used mainly on NT since stderr doesn't exist when slapd runs as a service.
2000-05-11 09:39:33 +00:00
Kurt Zeilenga
0dbaf87730
Another round of changes behind -DSLAPD_SCHEMA_NOT_COMPAT
...
plus these changes unhidden changes:
remove now meaning --enable-discreteaci configure option
fix ITS#451, slapd filters
Add ber_bvecadd() to support above
constify ldap_pvt_find_wildcard() and misc slapd routines
renamed some slap.h macros
likely broken something
2000-02-14 20:57:34 +00:00
Kurt Zeilenga
37d28e7d0d
Add ber_bvstr and ber_bvstrdup string to berval allocators.
1999-12-17 05:37:33 +00:00
Kurt Zeilenga
b1639dadd6
Remove lint
...
Add copyrights
1999-12-13 04:53:59 +00:00
Kurt Zeilenga
942d37afc5
Set ber_errno here and there.
1999-12-06 06:33:26 +00:00
Howard Chu
eaaea51b53
Fixes for NT dynamic linking.
1999-11-27 23:40:08 +00:00
Kurt Zeilenga
357101793b
Use lber types instead of uint32 for md5. sha1 still requires
...
an integer type of exactly 32 bits.
1999-11-17 02:04:06 +00:00
Kurt Zeilenga
f2bcd9c762
add comments here and there
1999-11-17 01:55:29 +00:00
Kurt Zeilenga
f4856214fb
*** empty log message ***
1999-11-08 15:38:59 +00:00
Howard Chu
0991e22550
Fixed the LDAP_F macro.
...
See README 1.27 log
1999-10-28 07:28:53 +00:00
Kurt Zeilenga
7ef67830af
Minor adjustments based upon initial read of draft-ietf-ldapext-ldap-c-api-04.txt.
1999-10-19 18:57:38 +00:00
Kurt Zeilenga
bd36de108f
Add OpenLDAP RCS Id
1999-08-31 01:17:01 +00:00
Hallvard Furuseth
d945144131
s/unsigned long/ber_len_t/ in typedef BERTranslateProc
1999-08-01 20:29:11 +00:00
Kurt Zeilenga
669b8f4047
ber_int_t, ber_tag_t, ber_socket_t, ber_len_t
...
added lber_types.h.nt, lber_types.h.in
removal of NULLxxx internal macros (in favor of NULL).
ch_free added to slapd,slurpd/ch_malloc.c
#define free ch_free (should be removed after s/free/ch_free/g) in proto-slap.h
ch_malloc and friends use ber_memalloc and friends
1999-06-18 23:53:05 +00:00
Kurt Zeilenga
3c09414075
Fix bad LBER_INVALID macro
1999-06-15 17:35:31 +00:00
Kurt Zeilenga
0c8f1d240a
lber.h: added #include <stddef.h> conditional on LBER_SIZE_T_DEFINED
...
ldap.h: added #include <lber.h>
ldap.h: added tags for extended operations
1999-06-03 22:54:51 +00:00
Kurt Zeilenga
1f52f6e43e
Add ber_strdup(), remove ldap_int_strdup(), add LDAP_STRDUP macro
...
and ripple change through -lldap.
1999-06-02 22:28:22 +00:00
Kurt Zeilenga
bed6465529
Make first argument of *_get_option const (experimental).
...
Make _MOD_SOFTADD 0x1000 to minimize chance of conflict with legit changes
to API spec.
Fix memory leak in ldap_mods_free() and minor memory allocator issues.
1999-06-02 21:38:48 +00:00