Commit Graph

2343 Commits

Author SHA1 Message Date
Howard Chu
2da2336ac6 Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy 2005-03-18 06:06:38 +00:00
Kurt Zeilenga
f33af81907 AIX getpeerid support 2005-03-16 02:22:46 +00:00
Kurt Zeilenga
f06ca8eb1f cleanup 2005-03-15 03:11:24 +00:00
Howard Chu
1b777e0ab3 Added ldap_pvt_thread_pool_pause/resume 2005-03-07 21:02:31 +00:00
Kurt Zeilenga
d3ec485651 ITS#3583: memcmp replacement compilation error fix 2005-03-05 01:23:29 +00:00
Howard Chu
89210b7100 Added ldap_pvt_sasl_secprops_unparse, slap_sasl_secprops_unparse 2005-03-01 11:42:31 +00:00
Howard Chu
aa74f02cb2 ITS#3552 fix bogus asserts 2005-02-18 02:35:23 +00:00
Luke Howard
fd0b7e75b1 ITS#3439 (NetBSD support for getpeereid()) 2005-02-03 09:36:25 +00:00
Kurt Zeilenga
542f3634aa Add ldap_start_tls() and ldap_install_tls() to provide async version
of ldap_start_tls_s().
2005-02-01 23:53:17 +00:00
Kurt Zeilenga
96854698cd ITS#3524 (partial): reinit FDSETs 2005-01-28 19:03:15 +00:00
Kurt Zeilenga
8b730300a2 Enable subordinate scope feature 2005-01-26 03:30:22 +00:00
Kurt Zeilenga
70b5d06849 Remove extra rcsid 2005-01-24 21:59:06 +00:00
Howard Chu
67583f45eb Added ldif_countlines() 2005-01-24 03:40:29 +00:00
Howard Chu
8fd686ada0 Restore avl_find code independent of avl_find2 2005-01-24 03:39:56 +00:00
Pierangelo Masarati
9effc2b8f0 cleanup of rewrite code and docs 2005-01-23 21:42:05 +00:00
Howard Chu
f734dc7bcd Fix ITS#3487, don't copy pointers to malloc'd global options 2005-01-21 01:47:25 +00:00
Howard Chu
3ae4b383d5 ITS#3495 make sure lutil_passwd_init gets called 2005-01-20 00:23:36 +00:00
Howard Chu
8db476e664 More tweaks to ldif_parse_line2 for str2entry 2005-01-19 12:07:06 +00:00
Howard Chu
bd8a9989f4 Added ldif_parse_line2 to parse in-place 2005-01-19 05:05:53 +00:00
Pierangelo Masarati
85c7997cb1 fix ITS#3467 (LDAPURLDesc => URL escaped string) 2005-01-10 23:50:11 +00:00
Pierangelo Masarati
9c40a1869b fix ITS#3474 2005-01-09 20:15:40 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Pierangelo Masarati
52b878dcc0 rework internal handling of strings to minimize temporary allocation; impacts rewrite() and rewrite_session() behavior in case of no rewriting 2005-01-01 16:10:25 +00:00
Kurt Zeilenga
83b1ce9831 inet_addr cleanup 2004-12-31 12:02:23 +00:00
Kurt Zeilenga
a2705b84c7 Update CancelOp's protocol values to those in RFC 3909 2004-12-30 23:04:41 +00:00
Pierangelo Masarati
83ba4ea944 long lasting typo (at least since 2.0) 2004-12-20 21:41:30 +00:00
Kurt Zeilenga
39b20e2e5d cleanup 2004-11-28 22:17:52 +00:00
Howard Chu
2590e26bc7 Initialize TLS connection callback 2004-11-23 05:09:10 +00:00
Howard Chu
ae592801aa Add callbacks for client TLS connection establishment:
LDAP_OPT_X_TLS_CONNECT_CB and LDAP_OPT_X_TLS_CONNECT_ARG
with int (LDAP_TLS_CONNECT_CB) (LDAP *ld, SSL *ssl, SSL_CTX *ctx, void *arg)
To be called whenever the client library allocates a new SSL* handle.
2004-11-23 03:48:09 +00:00
Howard Chu
9fd1c81713 Add avl_find2 returning the Avlnode, allowing its data to be reset directly
instead of recycling thru avl_find/avl_delete/avl_insert
2004-11-19 23:33:46 +00:00
Howard Chu
fad273c224 Avoid trashing client memory when socket is greater than FD_SETSIZE 2004-11-17 20:04:18 +00:00
Ralf Haferkamp
93cec8b694 - Added autoconf test for CRL capable OpenSSL Version
- #ifdef'd CRL checking code.
2004-11-03 12:02:38 +00:00
Kurt Zeilenga
96bfc8ec92 fair use 2004-10-30 20:19:30 +00:00
Ralf Haferkamp
5704a2ef6e CRL checking options for ldap.conf and slapd.conf 2004-10-28 18:50:38 +00:00
Kurt Zeilenga
2c90f72a06 Add comment regarding last commit 2004-10-20 21:51:27 +00:00
Kurt Zeilenga
30fdb0e0ca Fix LDAP Intermediate Response tag values.
with code to accept old values.
2004-10-20 21:47:40 +00:00
Howard Chu
1a198bea0f Fix typo in select call 2004-10-19 03:18:22 +00:00
Kurt Zeilenga
440e631319 ITS#3168: Add LDAP_OPT_SOCKBUF 2004-10-19 03:07:05 +00:00
Kurt Zeilenga
e983616d75 More NEW_LOGGING removal 2004-10-19 01:40:38 +00:00
Kurt Zeilenga
547ebf66c4 Move POLL_* macros to <ac/socket.h> 2004-10-18 22:08:37 +00:00
Kurt Zeilenga
1adf003977 Catch POLLERR and POLLHUP. 2004-10-18 21:56:07 +00:00
Kurt Zeilenga
8715d97409 Fix bug in last commit 2004-10-18 21:45:13 +00:00
Kurt Zeilenga
86c216d10c Rough but working poll(2) implementation for -lldap 2004-10-18 21:09:17 +00:00
Kurt Zeilenga
fb0571b5ad Poll code needs a bit more work. 2004-10-18 18:18:52 +00:00
Jong Hyuk Choi
331074b2d5 Patch for fast synchronous search result processing 2004-10-18 04:58:36 +00:00
Kurt Zeilenga
baa76b6f35 Revert last commit.
return 0 on timeout is actually correct.
2004-10-09 06:13:47 +00:00
Kurt Zeilenga
1b5c5da96d ITS#3359: fix crash on recursive rebind following referral 2004-10-09 03:16:29 +00:00
Howard Chu
ef76bcaf79 Add some more comments to time conversion 2004-09-28 12:36:34 +00:00
Howard Chu
76252251f5 Rename slap_tm to lutil_tm... 2004-09-28 12:22:22 +00:00
Howard Chu
1ca9556c1b Move time parsers from ppolicy.c to liblutil; preserve greater precision 2004-09-28 12:12:13 +00:00
Kurt Zeilenga
3c310cab6c rebuild 2004-09-26 23:42:16 +00:00
Kurt Zeilenga
5e41701ca2 s/strcmp/strcasecmp/ 2004-09-18 00:15:06 +00:00
Kurt Zeilenga
5368501f35 ITS#3334: DN in (cn:dn:=foo) should be case insensitive 2004-09-18 00:09:37 +00:00
Kurt Zeilenga
5f5d50aeb0 Add TLS cipher suite directive to ldap.conf(5) 2004-09-05 07:21:20 +00:00
Kurt Zeilenga
68af3bc287 More shtool stuff 2004-09-05 07:20:40 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Kurt Zeilenga
e0a9ea2f50 Move MSVC port to the Attic 2004-09-04 04:37:41 +00:00
Kurt Zeilenga
67e9b48b7d Cleanup 2004-09-03 00:24:07 +00:00
Kurt Zeilenga
1ccb936170 fix typo in last commit 2004-08-28 04:01:19 +00:00
Kurt Zeilenga
c9dd33b520 Add scheme check to find_connection 2004-08-28 03:55:02 +00:00
Kurt Zeilenga
8064bb6ef1 A better find_connection() port fix 2004-08-28 03:53:31 +00:00
Kurt Zeilenga
1d3eccca9e Partial ITS#3280 fix. ldap:// referrals only. 2004-08-28 03:25:59 +00:00
Kurt Zeilenga
fe6e3ba3ef Instead of removing AI_ADDRCONFIG, place behind #ifdef (of undefined
macro).  Add comment indicating configure test needed.
2004-08-27 18:59:34 +00:00
Luke Howard
842fe3091a ITS#3298 - ldap_sasl_int_bind() refers to incorrect Sockbuf when called
from within a rebind function.
2004-08-24 05:14:07 +00:00
Howard Chu
eb25111b9a Revert rev 1.92, AI_ADDRCONFIG is not a legal flag for getaddrinfo 2004-08-15 23:15:55 +00:00
Pierangelo Masarati
9c0ed9b6bd fix leak when the rewriteContext is disabled (ITS#3256) 2004-07-25 22:45:53 +00:00
Pierangelo Masarati
30fed3f1c9 cleanup error codes 2004-07-24 11:15:13 +00:00
Howard Chu
0b9cc398e2 ITS#3250 don't call select unnecessarily 2004-07-24 03:13:29 +00:00
Pierangelo Masarati
f0505795c0 cleanup... 2004-07-18 21:32:38 +00:00
Hallvard Furuseth
06d3b9a9e3 ldap_url_parse_ext(): Kill duplicate init + pointless free(NULL) of lud_filter. 2004-07-18 04:12:24 +00:00
Howard Chu
7b9559805e Hide WINAPI entry points from slapd/symdummy 2004-07-17 17:46:54 +00:00
Pierangelo Masarati
8e5d04d2a8 allow unescaped equals, according to draft-ietf-ldapbis-dn (ITS#3229) 2004-07-10 10:48:41 +00:00
Kurt Zeilenga
ecebe3d051 basic poll(2) implementation for connect(2) (needs work)
Need to deal with selectinfo...
2004-07-09 19:29:46 +00:00
Kurt Zeilenga
f0bd9b3a5b Mark areas needed poll(2) support with HAVE_POLL. 2004-07-09 17:50:22 +00:00
Howard Chu
24b7f5c42c Fix 't' tag option 2004-07-09 10:19:20 +00:00
Pierangelo Masarati
42a6406bfb fix URI parsing error code 2004-07-05 12:03:39 +00:00
Howard Chu
0305199518 Additional debug tracking... 2004-07-03 16:25:30 +00:00
Pierangelo Masarati
74773777c4 fix extended matching when rule is missing (ITS#3216) 2004-07-03 11:28:47 +00:00
Kurt Zeilenga
b6bd7296ac cleanup last commit, add commit 2004-06-30 22:36:47 +00:00
Kurt Zeilenga
03ec37823c Avoid high-level retry on low-level error as that implies a
re-sasl_encode() of the input.  sasl_encode() may be stateful.
2004-06-30 22:30:09 +00:00
Kurt Zeilenga
93b72e36e8 cleanup 2004-06-30 22:28:15 +00:00
Jong Hyuk Choi
3fb0648079 revert the ITS#3139 change for now 2004-06-30 17:51:06 +00:00
Pierangelo Masarati
dd5a27c1f6 log error string 2004-06-30 16:25:40 +00:00
Pierangelo Masarati
76bab2b6df typo in comment 2004-06-30 16:24:07 +00:00
Kurt Zeilenga
1ded030427 fix last commit 2004-06-29 17:48:19 +00:00
Kurt Zeilenga
a593343aa5 ITS#3212: sasl_encode/decode type conflict fix 2004-06-29 17:46:30 +00:00
Pierangelo Masarati
ad48d85ce5 fix ITS#3208 2004-06-28 20:55:04 +00:00
Kurt Zeilenga
3484ddff18 cleanup 2004-06-22 20:20:47 +00:00
Jong Hyuk Choi
a1308f8dfa syncrepl retry code fix for correct timing 2004-06-21 07:03:49 +00:00
Pierangelo Masarati
e8293039b5 add debug to rewrite tool 2004-06-20 22:40:32 +00:00
Pierangelo Masarati
175ce7960d improve parsing - first step 2004-06-18 08:36:30 +00:00
Jong Hyuk Choi
763f8c76ee syncrepl retry-on-error code 2004-06-18 05:04:03 +00:00
Kurt Zeilenga
c15a31b673 Apply same fix (as last commit) to SMD5 as well 2004-06-02 20:29:21 +00:00
Kurt Zeilenga
8b5c9a764c ITS#3169: fix safety checks to allow for varying salt lengths 2004-06-02 20:20:02 +00:00
Howard Chu
56155b25f1 Fix for greater than 4-digit CompositionExclusions 2004-06-02 02:17:04 +00:00
Howard Chu
23f3214f5e Fix ucnumber behavior 2004-05-31 06:25:25 +00:00
Howard Chu
4eef27fc19 Fix prev commit 2004-05-31 02:22:12 +00:00
Howard Chu
d75c35e9de Use hardcoded Unicode data 2004-05-31 01:58:13 +00:00
Howard Chu
688cadf099 Use hardcoded Unicode data tables 2004-05-31 01:54:27 +00:00
Howard Chu
cc4d5c10df ITS#3123 make sure ldap_int_sasl_mutex is init'd before it is used 2004-05-21 10:53:30 +00:00
Howard Chu
6c2bc1de5d Updated to 3.2.0 2004-05-20 03:08:58 +00:00
Howard Chu
d557ceda8f Add special cases for Unicode 3.2.0 2004-05-20 02:52:22 +00:00
Kurt Zeilenga
5deea2b617 ITS#3134: support DNSname style wildcards in common name
(This is not consistent with RFC 3280 or RFC 2830, but consistent
with current practices.)
Based upon patch submitted by Quanah Gibson-Mount <quanah@stanford.edu>.
2004-05-19 02:47:30 +00:00
Howard Chu
9da35acf44 Fix ITS#3139, empty output buffer when sb_sasl_write fails 2004-05-14 08:03:25 +00:00
Pierangelo Masarati
f195b20a1f always hexpair escape special chars (databases must be rebuilt) 2004-05-07 22:29:10 +00:00
Pierangelo Masarati
7969841074 allow LDAPv2 DN to be enclosed in <> 2004-05-07 22:28:52 +00:00
Howard Chu
e5d1b3134c Fix for ITS#1181 from Mark Adamson @ CMU.edu 2004-05-06 23:58:13 +00:00
Kurt Zeilenga
781c2d02a1 fix Compare bug in liblber/memory.c (ITS#3116) 2004-04-26 23:16:45 +00:00
Kurt Zeilenga
7cfc2d1f37 back out last change 2004-04-25 04:46:45 +00:00
Kurt Zeilenga
b0830a744f Fail if default context is already initialized 2004-04-25 04:37:19 +00:00
Kurt Zeilenga
ba749eb798 Updated string error handling 2004-04-25 01:09:40 +00:00
Kurt Zeilenga
62da0b6738 AC_STRERROR_R 2004-04-25 00:19:06 +00:00
Howard Chu
affe835984 NUL-terminate alloc'd berbuf (ITS#3086) 2004-04-15 10:25:14 +00:00
Howard Chu
e607e1daad ITS#2920 allow oid macro in ditcontentrule 2004-04-08 21:51:50 +00:00
Kurt Zeilenga
b3fdf881c3 ITS#3072: remove extraneous assignment 2004-04-08 20:20:36 +00:00
Howard Chu
efdeee929d Revert previous commit, didn't solve anything. Probably made things worse. 2004-04-08 12:40:49 +00:00
Kurt Zeilenga
6abba139bb Hide if SIZEOF_WCHAR_T < 4. 2004-04-08 08:54:49 +00:00
Howard Chu
715d087cd3 Fix attributions 2004-04-08 03:05:16 +00:00
Kurt Zeilenga
859e282780 ITS#3065: fix vector handling to ensure its free()able 2004-04-07 18:58:32 +00:00
Kurt Zeilenga
1634811465 Use BER_BVNULL 2004-04-07 01:11:32 +00:00
Howard Chu
62d050a0bd ITS#2982 ok, we should NULL out lc after all... 2004-03-25 12:15:52 +00:00
Howard Chu
d831315024 ITS#2982 be sure to use nextlc when calling try_read1msg 2004-03-25 09:54:23 +00:00
Howard Chu
cbabd269a5 ITS#2457 Added LUTIL_SLASHPATH macro and func for converting
forward-slash paths to Windows back-slash format.
2004-03-19 08:06:42 +00:00
Kurt Zeilenga
e323437c6a cleanup for release engineering 2004-03-18 01:06:39 +00:00
Howard Chu
cee3acea09 Fix prev commit 2004-03-17 09:59:03 +00:00
Howard Chu
650837742a Restore NT4 compatibility, avoid W2K-only API 2004-03-17 05:06:04 +00:00
Kurt Zeilenga
38025e96d5 New T_SRV fix 2004-03-17 04:45:56 +00:00
Pierangelo Masarati
c9fae6c942 fix file name 2004-03-16 18:02:38 +00:00
Howard Chu
ef691ae867 Renamed ppcontrol.c to ppolicy.c 2004-03-16 17:44:34 +00:00
Howard Chu
1dc6c053c1 Hide code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST 2004-03-16 01:48:21 +00:00
Howard Chu
de5a77c8a2 Rename ppcontrol.c to ppolicy.c 2004-03-16 01:39:04 +00:00
Howard Chu
2b86ace653 ldap_parse_passwordpolicy_control takes a single LDAPControl* arg now,
use ldap_find_control to find it. Added ldap_passwordpolicy_err2text().
2004-03-15 23:53:37 +00:00
Kurt Zeilenga
647df2b9cb Start of client-side LDAP tranactions (non-working)
and lots of cleanup (hence the commit)
(ldapmodify will need much more work for transactions)
2004-03-14 23:32:00 +00:00
Kurt Zeilenga
af9e1583a7 Add prototypes for grouping functions
Add ldap_find_control()
2004-03-14 00:57:44 +00:00
Howard Chu
27d0e14a12 Cleanup comments, copyright 2004-03-13 09:13:11 +00:00
Howard Chu
3810fa18d8 Added PasswordPolicy control 2004-03-12 21:22:32 +00:00
Pierangelo Masarati
daa29805ad define error codes for lutil_passwd* funcs 2004-03-12 20:07:41 +00:00
Pierangelo Masarati
1d1cd21814 allow '$' as action prefix instead of '%'; backward compatibility is preserved 2004-03-10 19:21:39 +00:00
Pierangelo Masarati
14f2ebe1d3 '=' must be escaped (and escapable by '\') according to RFC2253 and draft-ietf-ldapbis-dn-XX (ITS#3009; must have slipped thru some changes long time ago...) 2004-03-09 20:43:27 +00:00
Howard Chu
c558bd49bc ITS#2992 Windows fixes from Alexey Melnikov 2004-03-05 12:24:06 +00:00
Pierangelo Masarati
8aedfad3bb improve previous commit 2004-03-05 10:53:35 +00:00
Howard Chu
127cdb6432 ITS#2996 make sure T_SRV is defined for both places it is referenced 2004-03-05 10:35:21 +00:00
Pierangelo Masarati
df312502ac append trailing slash to AD canonical if DN is exactly a domain (ITS#3000) 2004-03-05 10:33:43 +00:00
Howard Chu
f3f78e8a1f ITS#2997 change MAXTHREADS to LDAP_MAXTHR 2004-03-04 15:35:29 +00:00
Howard Chu
6362951d6e ITS#2993 fix prev commit 2004-03-03 15:58:57 +00:00
Howard Chu
8bac3b4ff7 Pass result berval to lutil_passwd_hash instead of returning it. 2004-03-02 21:59:24 +00:00
Pierangelo Masarati
99c7f5318a really minor cleanup 2004-02-28 12:04:33 +00:00
Pierangelo Masarati
55ae6e4c91 intercept errors from maps 2004-02-28 12:04:06 +00:00
Howard Chu
9c6428b29e Deleted Kerberos and Netscape support 2004-02-26 03:10:53 +00:00
Howard Chu
6cedc94c63 ITS#2944, #2956 - revert maxbuf patch from ITS#2184
Still need to think about interoperability with other versions, vendors...
2004-02-24 16:25:39 +00:00
Howard Chu
75af144930 Fix mutex deadlock obtaining msgid 2004-02-13 02:47:53 +00:00
Howard Chu
f8d54b4e87 Fix prev EBCDIC commit 2004-02-04 22:53:17 +00:00
Howard Chu
9f3b0d60f9 Fix EBCDIC conversion for syslog() 2004-02-03 03:58:38 +00:00
Howard Chu
77dc2c479f ITS#2899 NS-MTA-MD5 password len is exactly 64 bytes. 2004-01-25 10:39:32 +00:00
Howard Chu
690f0111e9 ITS#2894 - search refs that are the immediate result of another search
ref are associated with the parent req instead of the original req, to
prevent infinite loops.
2004-01-25 10:30:10 +00:00
Howard Chu
02a6301f22 ITS#2926 from igor@ipass.net, slightly modified 2004-01-24 03:33:44 +00:00
Ralf Haferkamp
0b907a37c5 fixed format string 2004-01-19 16:56:15 +00:00
Kurt Zeilenga
1d933bf8ec Minor tweak to last commit 2004-01-17 19:11:20 +00:00
Howard Chu
54f38330ef define HFIXEDSZ if it's missing. Not all platforms have it. 2004-01-17 01:54:14 +00:00
Howard Chu
a6b1dfd1c8 Fix ldap_pvt_thread_self, GetCurrentThread() returns a constant, not a
unique value.
2004-01-15 09:59:11 +00:00
Kurt Zeilenga
c3674e92f9 Fix text == NULL bugs in last commit 2004-01-09 04:48:40 +00:00
Kurt Zeilenga
c8408d3c6a ITS#2906: report invalid userPassword schemes, clarify documentation 2004-01-09 04:11:57 +00:00
Pierangelo Masarati
fde8af364d remove (unnecessary) c++ style comments (ITS#2908) 2004-01-08 16:20:32 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
afb520a6e9 LDAP_SCOPE SUBORDINATE implementation 2003-12-30 01:34:05 +00:00
Kurt Zeilenga
2775c8d4a8 Update no-op control to return LDAP_NO_OPERATION instead of LDAP_SUCCESS.
(back-sql needs to be updated)
2003-12-29 23:31:39 +00:00
Kurt Zeilenga
fcad25da47 Misc code cleanup 2003-12-29 22:25:43 +00:00
Pierangelo Masarati
3994dc645a allow to set max passes per rule 2003-12-29 18:02:49 +00:00
Pierangelo Masarati
c860ba6a23 fix, clarify and document previous commit 2003-12-29 17:06:43 +00:00
Pierangelo Masarati
8b797f70e2 allow user-defined return codes from rewriteRules 2003-12-29 16:14:47 +00:00
Pierangelo Masarati
748e144a16 allow '%' escape; treat anything else as error 2003-12-29 15:10:59 +00:00
Pierangelo Masarati
e9314574aa allow memory ownership specification when using (session- wide) variables 2003-12-27 18:48:06 +00:00
Pierangelo Masarati
43f5b50319 fix memory ownership 2003-12-27 17:52:07 +00:00
Kurt Zeilenga
4590651cf9 Revert #if 0 2003-12-21 08:25:55 +00:00
Kurt Zeilenga
46053f84a6 Clean up LDAP Sync result codes 2003-12-17 21:09:28 +00:00
Kurt Zeilenga
271fff13de Sync with HEAD 2003-12-17 17:55:27 +00:00
Kurt Zeilenga
4d29df5bd1 Add LDAP_DEPRECATED macro
Need to remove use of deprecated functions.
2003-12-14 02:47:42 +00:00
Howard Chu
39eb55b5f4 ITS#2869 fix decode length checks again 2003-12-11 13:24:06 +00:00
Kurt Zeilenga
430b67aa60 Change API error codes to negative numbers so as not to clash
with newly assigned protocol result codes.
2003-12-11 05:26:32 +00:00
Kurt Zeilenga
14b170ce20 More blind s/unsigned long/ac_uint4/ changes 2003-12-09 21:57:34 +00:00
Kurt Zeilenga
96cb99aa54 s/unsigned long/ac_uint4/ 2003-12-08 18:08:29 +00:00
Kurt Zeilenga
fbba83b20f notices and acknowledgements 2003-12-08 17:41:40 +00:00
Howard Chu
7fedf13e02 ITS#2494 sort entries ahead of everything else 2003-12-07 11:15:22 +00:00
Kurt Zeilenga
4383fcd566 Fix liblunicode issues on systems where sizeof(long) > 4.
Code still lacks portability (alignment/padding, required ac_uint2/4 types)
Should resolve ITS#2632, ITS#2660, ITS#2784
2003-12-07 08:29:07 +00:00
Kurt Zeilenga
c5f83acf6e cleanup 2003-12-07 05:12:36 +00:00
Howard Chu
f01c60dd66 ITS#2538 plug leak 2003-12-07 04:48:50 +00:00
Luke Howard
98481ec449 Use gmtime_r() if HAVE_GMTIME_R is defined (need to add autoconf check) 2003-12-06 05:48:29 +00:00
Kurt Zeilenga
6264225bb9 zap libldbm 2003-12-04 23:42:05 +00:00
Howard Chu
3152932e96 Moved ldbm into back-ldbm. No more libldbm. 2003-12-04 22:38:54 +00:00
Howard Chu
dc19332bb9 Don't init SASL library until we actually want a SASL session 2003-12-03 01:59:33 +00:00
Kurt Zeilenga
a379dd4faf Misc cleanup 2003-11-30 01:07:47 +00:00
Hallvard Furuseth
51f1b8ccd7 Avoid /* inside comments. 2003-11-29 17:29:44 +00:00
Pierangelo Masarati
a0e158c7a3 clarify comments 2003-11-29 11:10:16 +00:00
Pierangelo Masarati
044d46aa29 naming cleanup && more leaks fixed 2003-11-29 11:09:52 +00:00
Kurt Zeilenga
f9ba11f543 Add acknowledgements 2003-11-27 00:33:55 +00:00
Kurt Zeilenga
85013a9d98 acknowledgements and notices 2003-11-26 22:51:15 +00:00
Kurt Zeilenga
74c7e200b3 From liblavl 2003-11-26 22:32:36 +00:00
Jong Hyuk Choi
5d411fd963 Another patch for the multi syncrepl thread support 2003-11-26 20:40:16 +00:00
Kurt Zeilenga
f7f171ed40 Add ACKNOWLEDGEMENT and fix initial copyright date 2003-11-26 07:53:40 +00:00
Kurt Zeilenga
159de0f135 Updated notices and acknowledgements 2003-11-26 07:16:36 +00:00
Kurt Zeilenga
6ca65d4912 Update notices and ackknowledgements 2003-11-26 05:42:11 +00:00
Kurt Zeilenga
2c21fdcecb move AVL routines into -llutil
update misc notices
2003-11-26 04:17:25 +00:00
Kurt Zeilenga
e3a4c4ec9c Notice/Acknowledge updates 2003-11-26 02:58:56 +00:00
Kurt Zeilenga
6c0f8a7cc3 Move LDIF routines liblutil 2003-11-25 23:19:47 +00:00
Kurt Zeilenga
327880b984 Notice updates 2003-11-25 23:17:08 +00:00
Pierangelo Masarati
88e8caf3e1 fix tricky signed/unsigned comparison (ITS#2835) 2003-11-22 16:06:38 +00:00
Kurt Zeilenga
aba062ee36 (re)Add BIND4 support for NetBSD 2003-11-21 18:56:52 +00:00
Kurt Zeilenga
72cfae7264 Update csn format. Format now more inconsistent from the inconsistent
LDUP specifications.  Once LDUP agrees on the format (let's hope they
choose GSER), this will need to be updated.
2003-11-18 22:10:12 +00:00
Pierangelo Masarati
f4e0075154 more memleaks fixed; some cleanup 2003-11-15 10:02:44 +00:00
Pierangelo Masarati
cddeab8513 more cleanup 2003-11-14 20:00:20 +00:00
Pierangelo Masarati
a3deda8026 fix a number of mem leaks; add destroy code; HEADS-UP: API change in rewrite_info_delete() 2003-11-14 18:39:18 +00:00
Howard Chu
fb493f5f3a ITS#2820 fix pthread_create for Draft 4 2003-11-13 02:41:01 +00:00
Jong Hyuk Choi
0a7a97d294 Copyright heading 2003-11-12 00:25:48 +00:00
Howard Chu
838c2d774e Fix GSSAPI connections to localhost 2003-11-10 20:58:29 +00:00
Hallvard Furuseth
e0999334d2 Ignore comments surrounded by empty lines in ldif_read_record().
Slapadd treated these as separate, incorrect, entries.
2003-10-31 19:13:20 +00:00
Stig Venaas
6c08d96597 use AI_ADDRCONFIG if possible to not lookup AAAA when no IPv6 addresses are configured 2003-10-29 14:49:35 +00:00
Howard Chu
45c42630db Add "defer" arg to ldap_pvt_runqueue_resched to suspend scheduling of
a task in the queue without removing it.
2003-10-25 21:13:08 +00:00
Howard Chu
c199d41b18 Unlock mutexes before deleting them 2003-10-22 21:40:52 +00:00
Howard Chu
66368d28f4 Make space for trailing NUL 2003-10-18 21:59:53 +00:00
Luke Howard
bb6f9f4c53 Back out previous commit - files apart from test.c 2003-10-18 16:01:16 +00:00
Luke Howard
32a9ad1be8 ITS#2777 - fix previous commit 2003-10-18 15:59:58 +00:00
Luke Howard
2ce26dc96e Possible fix for ITS#2777 - getline() conflict when _GNU_SOURCE is
defined. I simply renamed it to get_line(). (Probably this will
conflict with something else...)
2003-10-18 15:56:32 +00:00
Kurt Zeilenga
3a8b3d9c1a Fix SLAPD_NS_MTA_MD5 compile bug (ITS#2773) 2003-10-17 04:40:16 +00:00
Kurt Zeilenga
9184c3a18c Fix linking --with-cyrus-sasl and --without-tls 2003-10-17 04:27:32 +00:00
Howard Chu
11453007c2 ITS#2770 - delete bogus maxbuf checks on sasl_read 2003-10-16 18:56:02 +00:00
Kurt Zeilenga
3e6a44ee47 Don't use compat features unnecessarily. 2003-10-15 03:39:05 +00:00
Kurt Zeilenga
e8c4add1a3 Use macro instead of sizeof
-       p += sizeof(HEADER);
+       p += NS_HFIXEDSZ;
2003-10-15 03:30:15 +00:00
Kurt Zeilenga
6aff66cf67 Apply patch suggested in ITS#2737 to address underallocation bug.
This could should be reworked to avoid multiple reallocs (likely
by overallocating).
2003-10-12 23:31:00 +00:00
Jong Hyuk Choi
85ff0377d2 runqueue locking fix (ITS#2746) 2003-10-12 09:13:04 +00:00
Kurt Zeilenga
4f003dbdaf mv ldap_int_get_controls to ldap_pvt_get_controls 2003-10-12 08:14:28 +00:00
Howard Chu
ede6ea1f64 Fix typo in LTFINISH invcation 2003-10-01 02:26:41 +00:00
Hallvard Furuseth
bdac96f929 #include <ac/unistd.h>, to get geteuid() and getegid(). 2003-09-29 14:04:48 +00:00
Howard Chu
cc6cfd30cc Include <ac/socket.h> so Windows can pull in struct timeval def 2003-09-27 06:48:15 +00:00
Jong Hyuk Choi
8693f3361d didn't compile without cyrus-sasl 2003-09-25 01:00:34 +00:00
Howard Chu
38a406c8ab ITS#2717, use default SASL_MECH if none was provided.
Note that the mech stored in the void *defaults structure is useless
because we can't look inside the structure, and the mech list is needed
as input to the SASL library, before any callbacks are called. It seems
the mech doesn't belong in the *defaults struct, and/or it should be
visible and not opaque.
2003-09-22 23:50:33 +00:00
Howard Chu
8f3d3cf3c9 Revert rev 1.90 ITS#2484 patch; Cyrus 1.5 is no longer supported. 2003-09-20 00:33:42 +00:00
Howard Chu
1881ae872f ITS#2729 fix typos 2003-09-19 00:49:33 +00:00
Howard Chu
6f632af413 ITS#2484, set sasl_maxbuf to SASL_MAX_BUFF_SIZE if it was negotiated
as zero.
2003-09-14 05:19:45 +00:00
Howard Chu
10811b6f51 Clarify/standardize library version mismatch error messages 2003-09-12 00:54:21 +00:00
Jong Hyuk Choi
090ac0a772 unifdef LDAP_SYNC and LDAP_SYNCREPL 2003-08-27 22:16:04 +00:00
Kurt Zeilenga
990346d0c8 ITS#2566: apply patch provided by Norbert to fix lmhash problems
- chk_lanman did not free result from hash_lanman
- copied code to generate hash from hash_lanman to chk_lanman,
  this skips prepending "{LANMAN}"
- downcase stored password hash to ensure hex characters [a-f]
  have the same case
2003-08-09 19:18:28 +00:00
Kurt Zeilenga
863a076919 ITS#2662: NS_MTA-MD5 hash check fix 2003-08-09 18:47:16 +00:00
Kurt Zeilenga
da3caafa7a comment cleanup 2003-07-30 11:20:56 +00:00
Kurt Zeilenga
7c9a2f46b9 preliminary modify/increment client side code 2003-07-30 10:21:57 +00:00
Kurt Zeilenga
cc637cd53c Fix lock release bug
Fix logging messages (thanks Kent)
2003-07-28 20:25:44 +00:00
Kurt Zeilenga
db097047af code cleanup 2003-07-08 03:46:20 +00:00
Kurt Zeilenga
d5e55877dc Cleanup 2003-07-07 05:50:20 +00:00
Kurt Zeilenga
ca6820c42e Add Internet Society copyright notices 2003-07-07 05:14:03 +00:00
Kurt Zeilenga
973ffd6f98 Fix RFC reference 2003-07-07 05:01:31 +00:00
Hallvard Furuseth
ca2a43b7b2 Handle !HAVE_LONG_LONG 2003-06-28 19:55:30 +00:00