Pierangelo Masarati
0b5691f122
cleanup previous commit; update header
2003-05-15 01:18:45 +00:00
Pierangelo Masarati
c7ce39c788
add local generalized time generator
2003-05-15 01:03:38 +00:00
Jong Hyuk Choi
8340afd736
remove ch_malloc/ch_free
2003-05-14 21:30:25 +00:00
Howard Chu
8e8fbe0908
Fix ldap_get_attribute_ber to get values in-place.
...
Revert previous memleak fix in ldapsearch.c
2003-05-14 13:16:56 +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
Kurt Zeilenga
2ed0725491
Fix typo in last commit
2003-05-06 15:00:58 +00:00
Kurt Zeilenga
ecb17fc30e
ITS#2486: plug leak
2003-05-05 17:35:59 +00:00
Kurt Zeilenga
5d2b493ff3
Blind fix for NGROUPS Tru64 5.1 bug (ITS#2485)
2003-05-05 17:29:26 +00:00
Hallvard Furuseth
5ee9264465
Fix assignment of <char/int>* to unsigned <char/int>* and vice versa.
2003-05-02 13:29:28 +00:00
Howard Chu
a54549f1d5
Use pthread_equal to compare thread IDs
2003-05-02 12:23:31 +00:00
Howard Chu
0e8b176d1f
Fix prev commit
2003-05-01 09:50:40 +00:00
Howard Chu
46e2b97757
ITS#2424 use two SASL contexts per session to conform to RFC 2222
2003-05-01 04:11:57 +00:00
Howard Chu
4b73446ab5
ITS#2424 reset SASL on an existing connection
2003-04-30 15:38:32 +00:00
Howard Chu
1d2951bb5a
For ITS#2424, move all SASL session management to ldap_int_sasl_bind.
2003-04-30 14:13:58 +00:00
Howard Chu
20c8128d27
ITS#2475 delete bogus SASL2 call
2003-04-30 08:08:08 +00:00
Howard Chu
7e2273b30e
Added errmsg arg to lutil_passwd_{check,hash} functions
2003-04-30 07:52:05 +00:00
Howard Chu
23b63aac39
Free ber mem arrays in reverse order. (better for sl_free)
2003-04-29 21:09:02 +00:00
Hallvard Furuseth
778a38f49c
Reduce warnings: Add missing 0 or NULL initializers for struct members.
2003-04-29 16:36:19 +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
Hallvard Furuseth
b0b82abb3a
#include "ldap_pvt.h", to get ldap_charray_free() and ldap_charray_add().
2003-04-29 14:46:54 +00:00
Hallvard Furuseth
5b591b2a22
#include <lber.h>, to get ber_memalloc_x() and ber_memrealloc_x().
2003-04-29 14:45:33 +00:00
Hallvard Furuseth
c898a56263
Cast away const.
2003-04-29 14:43:54 +00:00
Howard Chu
deea8db4cd
EBCDIC fix - ber_pvt_strcopy is now lutil_strcopy
2003-04-25 12:32:15 +00:00
Luke Howard
375224128e
More careful checking of AVA flags
2003-04-24 11:10:31 +00:00
Luke Howard
ad40330a86
Fix Active Directory canonical name breakage
2003-04-24 11:09:22 +00:00
Howard Chu
a413bab19a
Clean up prev commit
2003-04-24 04:20:17 +00:00
Howard Chu
b6111d793e
Fix multi-byte tag parsing
2003-04-24 03:59:45 +00:00
Howard Chu
bcf7ab26e4
ITS#2465 fix? ber_get_next must read at least sizeof(tag)+sizeof(len)
...
which should be at most 8 bytes. However if we read more than the minimum
message length, we have a problem because we steal bytes from any following
message, and there is no buffer mechanism to push back excess data.
The shortest legitimate message is Unbind at 7 bytes, but there shouldn't
be anything following it. Abandon at 8 bytes is next, so always requesting
at least 8 bytes should be safe. Always requesting 9 was a problem.
Please double-check these assumptions...
2003-04-24 02:10:18 +00:00
Howard Chu
d14ff18d7f
ITS#2458 fix array decoding
2003-04-24 01:37:01 +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
d7a326be26
Don't do (unsafe) DNS reverse lookups.
...
HEADS UP: May break some Kerberos deployments.
2003-04-22 01:17:23 +00:00
Kurt Zeilenga
3f6a9a7e57
More ldap_connect_to_host() tweaks.
2003-04-21 18:45:46 +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
Kurt Zeilenga
978c94a223
ITS#2459 (partial) fix. Eliminate address parameter all together.
...
Need to look closely at the memcpy. (It likely can be eliminated
as well.)
2003-04-21 17:06:37 +00:00
Howard Chu
b4dfd0c08c
Add ldap_pvt_thread_pool_context() stub for NO_THREADS builds
2003-04-16 00:18:56 +00:00
Howard Chu
30b3d741d5
Fix prev commit - hash bytes of ldap_pvt_thread_t to find proper slot
2003-04-13 05:48:48 +00:00
Howard Chu
a6a6946a67
New ldap_pvt_thread_pool_context()
2003-04-12 04:01:40 +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
42e7845d81
More malloc context tweaks
2003-04-10 06:14:16 +00:00
Howard Chu
ca12bb75c7
Extended API for ber_mem functions, add context argument.
...
Must always use ber_mem funcs, even if CSRIMALLOC is present.
2003-04-09 13:25:11 +00:00
Howard Chu
e240135305
ITS#2434 ber accessors
2003-04-09 09:41:02 +00:00
Kurt Zeilenga
02c992a132
mark more translatable strings
2003-04-06 06:47:31 +00:00
Kurt Zeilenga
e41ca42de1
mark a few translatable strings
2003-04-06 06:19:13 +00:00
Kurt Zeilenga
cfd9449374
Mark a few error strings
2003-04-06 06:10:56 +00:00
Kurt Zeilenga
5820854fae
Don't cache strings, locale could change
2003-04-06 05:48:05 +00:00
Kurt Zeilenga
e62850324d
mark the rest of translatable strings
2003-04-06 03:50:05 +00:00