Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Howard Chu
10c94f4e58
Cleanup lbo_valid / meminuse / memfuncs
2005-11-12 18:26:17 +00:00
Howard Chu
0f9ad702c3
ITS#4046 fix recvfrom len
2005-09-28 08:36:24 +00:00
Hallvard Furuseth
5c5a834db8
Handle LBER_SB_OPT_[GS]ET_FD arg as ber_socket_t like elsewhere, not as int.
2005-08-01 03:48:53 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
93b72e36e8
cleanup
2004-06-30 22:28:15 +00:00
Kurt Zeilenga
62da0b6738
AC_STRERROR_R
2004-04-25 00:19:06 +00:00
Kurt Zeilenga
b3fdf881c3
ITS#3072: remove extraneous assignment
2004-04-08 20:20:36 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
327880b984
Notice updates
2003-11-25 23:17:08 +00:00
Kurt Zeilenga
db097047af
code cleanup
2003-07-08 03:46:20 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Howard Chu
536019beb4
For ITS#1983, in ber_pvt_sb_do_write, partial writes are not failures
2002-08-29 09:46:19 +00:00
Howard Chu
91aff0b3e2
Revert previous commit. Fix needs more design.
2002-08-01 07:09:11 +00:00
Howard Chu
478283ea47
ITS#910, ITS#1983 retry partial writes in ber_pvt_sb_do_write
...
blind fix, needs testing
2002-08-01 03:03:52 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Howard Chu
ac39aa5032
Tweak previous commit
2001-12-31 12:57:17 +00:00
Howard Chu
d8e70bd5f4
in sb_debug_read/write save errno before logging a failure.
...
ber_log_printf can cause errors of its own and obscure the original.
2001-12-31 12:50:09 +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
Howard Chu
2f6b7e3d43
Check debug level before invoking debug routine, slight optimization
2001-09-21 17:53:16 +00:00
Kurt Zeilenga
978e417699
Make some additional UTF8 public
...
Remove lint
2001-07-21 23:13:04 +00:00
Kurt Zeilenga
61d874af10
reimplementation of sb_max_incoming
2001-05-04 21:15:09 +00:00
Kurt Zeilenga
383391b460
detect and use fcntl (for BSD/OS)
...
detect inet_ntop (for MacOSX)
2001-05-03 05:53:34 +00:00
Kurt Zeilenga
fafbe5878b
Clean up
2000-11-29 03:30:59 +00:00
Kurt Zeilenga
7beb6e4f89
minor cleanup
2000-10-18 00:24:58 +00:00
Kurt Zeilenga
92625471e1
Fix typo
2000-10-14 02:13:11 +00:00
Kurt Zeilenga
1dc469e064
Remove max buffer constraint!
...
and general cleanup
2000-10-11 02:43:14 +00:00
Kurt Zeilenga
25a9f7427d
Remove CLDAP cruft
2000-08-18 04:25:00 +00:00
Kurt Zeilenga
5b856458a2
s/SAFEMEMCPY/AC_MEMCPY/
...
Use AC_FMEMCPY where appropriate (-llber)
2000-07-28 01:07:07 +00:00
Kurt Zeilenga
a50f391bb3
Working SASL security layers!
2000-07-28 00:04:07 +00:00
Kurt Zeilenga
4f4f59f333
Rework <ac/errno.h> to provide a STRERROR. Prefers errlist over
...
strerror() as strerror() may not be thread safe. Likely should
be used by SLAPD.
2000-07-06 01:24:52 +00:00
Kurt Zeilenga
a56c161bdb
Misc code cleanup.
2000-06-10 22:39:30 +00:00
Kurt Zeilenga
61be4bd0c8
remove pointer v. int lint from ber_sockbuf_ctrl.
2000-06-08 01:08:01 +00:00
Mark Valence
bb1d03a5e8
Clean up some NT lint.
2000-06-04 04:35:13 +00:00
Kurt Zeilenga
b78eec4a25
Remove lint
2000-06-01 22:00:12 +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
29d9fa20a2
Y2k copyright update
2000-05-13 02:36:07 +00:00
Kurt Zeilenga
b1639dadd6
Remove lint
...
Add copyrights
1999-12-13 04:53:59 +00:00
Howard Chu
74d93ac2f8
Fix Winsock-related warning and/or bugs.
...
See README 1.27 log
1999-10-28 07:17:08 +00:00
Kurt Zeilenga
403f4479bc
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
...
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
1999-09-08 19:06:24 +00:00
Hallvard Furuseth
879d3dbc5e
Cleanup: Complete renaming lber_*() to ber_*(). Fix some sockbuf SASL code rot.
1999-09-06 04:33:41 +00:00
Hallvard Furuseth
c09a2c63e7
Cleanup:
...
Fix printf formats, remove unused variables, add missing prototypes in slapd,
add static/const, add some return types or change to void return type.
1999-09-02 08:05:17 +00:00
Kurt Zeilenga
7275861039
Provide set_nonblock code which acts upon ber_socket_t and use this
...
as in sockbuf_set_nonblock code. Allows -llber and -lldap to share
a common implementation.
1999-08-04 18:29:59 +00:00
Hallvard Furuseth
5ab862aee7
Pass socklen_t* instead of int* to getsockopt, accept, getpeername, recvfrom
1999-07-16 18:43:10 +00:00
Julio Sánchez Fernández
509fdc1e6d
Deal with sb_trans_needs_read and sb_trans_needs_write
1999-07-13 19:40:10 +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
e8a45b52b3
assert read/write to not in use sockbufs. This may cause problems
...
with slapd... slapd should be fixed.
1999-06-15 02:31:15 +00:00
Kurt Zeilenga
9fef42d3f8
Enable browsing info in MSVC debugging configurations.
...
Toy with dllimport/dllexport stuff (think I'll leave the real dll work to
somebody else).
Added ldap_strdup() wrapper of ber_strdup().
1999-06-03 18:24:22 +00:00
Kurt Zeilenga
21c70857f1
s/<stdlib.h>/<ac/stdlib.h>/
1999-06-03 00:37:44 +00:00
Kurt Zeilenga
2f969f8552
First cut at ber_set_option(NULL,LBER_OPT_MEMORY_FN, myrealloc) where
...
myrealloc is pointer to a realloc() wrapper.
Must be first library call or else.
1999-05-29 05:16:31 +00:00