Jong Hyuk Choi
4f58efc4d1
- change in message to modlist conversion
2003-05-20 01:45:12 +00:00
Howard Chu
8e476bd5b7
Extended ber_mem functions, add context argument.
2003-04-09 13:26:22 +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
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
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
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