Kurt Zeilenga
4c7739e6e5
ITS#408: add missing LDAP_END_DECL
1999-12-22 00:42:05 +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
354d0d5b50
Modify password code such that backend end routine calls into
...
frontend to complete parsing of extended op reqdata.
Modify password extended operation to allow optional id (DN)
entry to change (not tested). Also, provide room to allow
server side password generation (not implemented). Added optional old
password field to support proxying (not implemented).
Need to implement replog() support.
1999-12-09 21:30:32 +00:00
Kurt Zeilenga
942d37afc5
Set ber_errno here and there.
1999-12-06 06:33:26 +00:00
Mark Valence
402c511534
Removed some unused vars.
1999-12-06 04:11:50 +00:00
Kurt Zeilenga
482b1d7152
Remove lint.
1999-12-03 06:26:41 +00:00
Howard Chu
eaaea51b53
Fixes for NT dynamic linking.
1999-11-27 23:40:08 +00:00
Kurt Zeilenga
8b99e6cdbd
Remove LBER_{TAG,INT,LEN}_{NTOH,HTON} macros. Rewrite code to
...
manual push bytes about. Allows ber_*_t to be any 32-bit or
larger type. Reworked AC_{HTON,NTOH}{L,S} macros to care only
about 32-bit (netlong) and 16-bit (netshort) reordering as
needed for BSD socket interface.
1999-11-26 23:32:18 +00:00
Kurt Zeilenga
c59d1a34db
Use 'long' for LBER_INT_T.
1999-11-25 17:45:21 +00:00
Kurt Zeilenga
62a06eda3e
Don't use 'int' for LBER_*_T types as we only have hton{s,l}.
...
Select appropriopriate hton{s,l} function to use in lber-int.h.
1999-11-25 17:10:45 +00:00
Kurt Zeilenga
5f3ec33b0c
Backout premature commit.
1999-11-08 19:36:30 +00:00
Kurt Zeilenga
f4856214fb
*** empty log message ***
1999-11-08 15:38:59 +00:00
Kurt Zeilenga
14f107e9ed
Changes to support NT single debug
1999-11-01 22:17:06 +00:00
Kurt Zeilenga
b7af076fee
Use centralized output directories.
...
Update single debug/release not to use service manager nor event manager.
Likely breaks MINGW32 port.
1999-11-01 21:25:22 +00:00
Howard Chu
e99eab787f
Use new macros from configure.in to accomodate NT/Mingw32 environment.
...
See README 1.27 log
1999-10-28 07:31:59 +00:00
Howard Chu
5438e045af
Fixed use of LDAP_F macro
...
See README 1.27 log
1999-10-28 07:29:25 +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
10e886a601
Hack to free seqorset when ber_free(ber, 1) is called.
1999-10-21 17:52:33 +00:00
Kurt Zeilenga
d306bb1114
Remove lint caused by recent header changes.
1999-10-20 00:19:47 +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
Ben Collins
53da7b6cda
* build/top.mk: removed references to TMPROOT and added DESTDIR support
...
* all others: Added DESTDIR support
1999-09-22 21:51:30 +00:00
Kurt Zeilenga
e642a1b9cd
Add OpenLDAP RCSid
1999-09-08 22:52:19 +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
9bf50242c3
Plug ber leakage:
...
result was leaking ber's in some error cases. ber_flush now called
with no freeing so that caller of send_ldap_ber() can free its own ber.
c->c_currentber was also being leaked if connection was destory
current when a PDU input was outstanding.
Fixed ber_flush to free ber upon write only to file.
1999-08-27 05:45:53 +00:00
Kurt Zeilenga
b8a3a153bb
Axe <varargs.h> support. Assume STDC C translator is available
...
to build OpenLDAP.
1999-08-24 00:27:53 +00:00
Kurt Zeilenga
9e82379b6e
More CSRI malloc debugging support and destroy sockbuf fix.
...
Test008 now runs without leak.
1999-08-19 18:48: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
Kurt Zeilenga
df8f7cbb9b
s/exit(1)/exit(EXIT_FAILURE)/
...
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +00:00
Hallvard Furuseth
a9871d7402
Fix bitmasks '0xhh << n' to '(masked type)0xhh << n'
1999-08-02 01:55:48 +00:00
Hallvard Furuseth
2d4f915de9
Remove unsigned long: Change to ber_len_t or ber_tag_t.
...
Remove sizeof(long).
Change ber_getnint to return ber_len_t instead of ber_tag_t.
1999-08-02 01:50:08 +00:00
Hallvard Furuseth
6ae8c7e5cf
Fix ber_put_int_or_enum to do its bit fiddling with unsigned values
1999-08-02 01:38:00 +00:00
Hallvard Furuseth
e7738c2df7
s/LDAP_CONST/const/ in ldap_pvt_asser() prototype
1999-08-01 21:41:46 +00:00
Hallvard Furuseth
8a97fb0201
Cast ber_read() arg to char*
1999-08-01 20:27:03 +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
Julio Sánchez Fernández
eeec88a8c4
Add a couple of control flags to sockbufs and macros to test them.
1999-07-13 19:38:01 +00:00
Hallvard Furuseth
96e8fafb51
constify use of invalue in <ber/ldap>_set_option()
1999-07-13 05:17:50 +00:00
Hallvard Furuseth
2026aa84fa
Add bmu_funcp to bmu_align_u
1999-07-13 03:54:42 +00:00
Hallvard Furuseth
e2bfb420d7
Fix use and decl of ber_pvt_assert. Fix ac/stdio.h -> stdio.h.
1999-07-13 03:50:39 +00:00
Kurt Zeilenga
048547a652
modify ber_put_berval to put NULL ostring when bv == NULL or bv->bv_len == 0.
1999-06-28 20:12:30 +00:00
Kurt Zeilenga
5f28509311
detect write() and use HAVE_WRITE instead of
...
!defined( DOS ) && !defined( MACOS )
Add detection for read & recv/send for later use.
1999-06-28 04:11:41 +00:00
Kurt Zeilenga
dcf9209ae3
*** empty log message ***
1999-06-28 04:05:53 +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
f34c94e5d5
Disable LDAP_MEMORY_DEBUG on NT (should not have been enabled by default).
...
Fix LDAP_MEMORY_DEBUG realloc size bug, thanks Alex.
1999-06-10 00:56:00 +00:00
Kurt Zeilenga
c6cf2815cb
Add missing ';' after BER_MEM_VALID macro calls.
1999-06-08 01:41:38 +00:00
Kurt Zeilenga
82def24b31
don't test BER_MEM_VALID forever.
1999-06-08 01:37:47 +00:00