Commit Graph

303 Commits

Author SHA1 Message Date
Howard Chu
a1a63bead0 ITS#4188 check for pool pause every 64 entries. (probably should make
this number tunable.)
2007-10-08 01:15:49 +00:00
Howard Chu
f9bc1426ad Fix SORTED_RESULTS check 2007-08-29 23:57:55 +00:00
Pierangelo Masarati
af9233b9df use LDAP_RES_UNSOLICITED for the response message id 2007-08-26 15:06:52 +00:00
Howard Chu
a2405e0a7e Axe slurpd / replog support 2007-04-06 00:21:02 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
07f61475c7 read entry needs o_bd for ACLs 2006-10-14 00:59:22 +00:00
Howard Chu
d6d31af4f0 send_search_reference should propagate errors 2006-09-21 09:28:49 +00:00
Howard Chu
57c329a3af ITS#4606 errno is not per-thread on WIN32, always use WSAGet/SetLastError
(with notable exceptions: ignore tests for EINTR which winsock never sets)
2006-09-14 06:35:34 +00:00
Kurt Zeilenga
97fa3f1efd More LDAP_DEVEL cleanup
Rename ManageDIT to Relax
2006-08-22 00:45:16 +00:00
Hallvard Furuseth
61d71d95b9 Cast isspace() arg to unsigned char. (Update to previous change.) 2006-04-24 20:32:23 +00:00
Pierangelo Masarati
19c5f261e5 re-fix ITS#4495 working around atoi() limitations 2006-04-19 23:57:02 +00:00
Hallvard Furuseth
5181a522c1 Revert rev 1.276, which broke back-shell "RESULT\ncode: <value>\n" (ITS#4495) 2006-04-19 22:03:13 +00:00
Pierangelo Masarati
dfc8e7f6b8 better fix for ITS#4483 2006-04-09 22:29:42 +00:00
Kurt Zeilenga
8fb8b17c04 Code which doesn't hanlding allocation failure should use
ch_ routines, not SLAP_ macros
2006-04-06 21:44:05 +00:00
Pierangelo Masarati
44a75a03c0 allow overlays to inject an abandon without returning SLAPD_ABANDON 2006-04-01 18:59:26 +00:00
Pierangelo Masarati
17bb32af28 enable new response/cleanup playlist #ifdef LDAP_DEVEL 2006-01-07 11:40:39 +00:00
Pierangelo Masarati
4a481a83d3 improve previous commit; now passes all tests 2006-01-05 13:57:34 +00:00
Pierangelo Masarati
9586fed42f all in all, valgrind was right; this now works as intended 2006-01-05 11:05:40 +00:00
Pierangelo Masarati
44e3b0b481 experimental fix to callback looping 2006-01-04 21:13:57 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
aecf0f4164 typos in comments (very pedantic...) 2005-12-26 17:00:12 +00:00
Luke Howard
dcfd499eca Set ors_slimit in slap_read_controls so that slap_send_search_entry()
check passes
2005-12-24 07:40:12 +00:00
Howard Chu
5e3820fd7a ITS#4237 don't update sc_prev after a callback has been freed. 2005-12-01 00:48:38 +00:00
Kurt Zeilenga
c106f49029 Primitive handling of dontUseCopy (always error). 2005-11-26 07:09:59 +00:00
Pierangelo Masarati
b3c8a976ec use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings 2005-11-25 22:17:24 +00:00
Howard Chu
7a2f05016c Don't decrement op->ors_slimit, just compare with rs->sr_nentries. 2005-11-25 20:44:56 +00:00
Pierangelo Masarati
ea83f6a669 check sizelimit in frontend (ITS#4213) 2005-11-25 00:28:33 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Pierangelo Masarati
429a6f5353 fix wrong response tags (ITS4182; consequence of fixing ITS#4173) 2005-11-17 23:52:56 +00:00
Howard Chu
dbf69a6ff5 Fix prev commit 2005-11-01 15:44:51 +00:00
Howard Chu
fcd3058f83 Fix slap_callback processing, make sure it's safe for callbacks to
delete themselves at any time.
2005-10-30 09:50:48 +00:00
Pierangelo Masarati
919781ea45 fix referral logging @STATS2 2005-08-20 19:20:53 +00:00
Kurt Zeilenga
6f99b15ee0 Clarify second all user attrs comment 2005-08-20 07:00:16 +00:00
Kurt Zeilenga
5beeb04346 Clarify attribute comment 2005-08-20 06:58:22 +00:00
Hallvard Furuseth
9873eb7ab0 Add missing Statslog() statements (loglevel stats/stats2):
"ABANDON", "STARTTLS", "CANCEL", "WHOAMI", "PASSMOD", "EXT", "INTERM",
  "TLS established", SASL and Extended Response "RESULT".
In Statslog output "conn=xx fd=yy closed", append the reason in
  "()" unless client or server closed the connection after Unbind.
Still missing Statslog output from a number of failed requests.
2005-08-14 00:14:58 +00:00
Hallvard Furuseth
d50820cdd6 Read LDAPResult.resultCode & ModifyRequest.modification.operation
and send SortResult.sortResult as BER ENUMERATED, not BER INTEGER.

libldap: ldap_parse_extended_result, try_read1msg, build_result_ber,
ldap_parse_sasl_bind_result.  slapd: do_modify, send_ldap_controls.
2005-08-10 00:54:38 +00:00
Pierangelo Masarati
5ecdfd13b4 cleanup 2005-07-25 20:47:01 +00:00
Pierangelo Masarati
2b34c829d2 cleanup 2005-07-23 19:16:50 +00:00
Luke Howard
efa1ba86bf set o_callback to NULL for read entry callback, avoids crash in replog callback 2005-07-23 11:55:09 +00:00
Luke Howard
ffe20229dc Move most of SLAPI frontend into overlay 2005-07-21 16:35:20 +00:00
Luke Howard
0bf8a366a5 SLAPI cleanups 2005-07-21 08:39:37 +00:00
Luke Howard
8d600eca08 Enable SLAPI pre-entry plugins (we really need to move SLAPI into an
overlay...)
2005-07-21 04:01:54 +00:00
Luke Howard
7bd627d491 Reenable pre-result plugins, these were supported in OpenLDAP 2.2
Pre-entry and pre-referral plugins will be enabled after testing
2005-07-19 15:39:25 +00:00
Luke Howard
2d7a2144dc result.c 2005-07-19 15:35:00 +00:00
Luke Howard
6f5dde0734 Fix pointer error in readback control 2005-07-19 08:39:05 +00:00
Luke Howard
ed424c55ee Support for pre-entry, pre-result, pre-referral SLAPI plugins (not
enabled yet; behind #ifdef notdef)
2005-07-19 06:46:53 +00:00
Hallvard Furuseth
03c85cc68d send_ldap_controls() returns int, so fix return LBER_ERROR to -1. 2005-07-18 06:28:28 +00:00
Hallvard Furuseth
81ecb0b153 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-18 06:22:33 +00:00
Pierangelo Masarati
b30b82a65a do not return spurious result codes 2005-05-30 12:36:21 +00:00
Pierangelo Masarati
8ff019ad83 minor cleanup 2005-05-21 15:01:44 +00:00