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
Howard Chu
f82e2cbf39
Make entry_encode/decode independent of slapd structure sizes
2005-05-06 21:24:49 +00:00
Howard Chu
b33098b962
Propagate SLAPD_ABANDON results to to allow cleanup callbacks to run
2005-04-28 18:49:24 +00:00
Howard Chu
b92387bb1c
ITS#3671 add REP_ENTRY_MUSTRELEASE flag, release the entry before
...
attempting to write the response on the network. (This should probably
be the default behavior anyway, since network hangs of this sort can
cause problems for any backend that has entry locks.)
2005-04-24 22:21:57 +00:00
Kurt Zeilenga
af866c3b44
Added a conformant sortedResults support which is unable to sort anything.
2005-04-01 02:40:29 +00:00
Kurt Zeilenga
3b3c521083
slapi glue fix
2005-03-15 02:47:27 +00:00
Howard Chu
902494b432
Cleanup prev commit
2005-03-14 19:46:14 +00:00
Howard Chu
b508cca217
ITS#3596 partial fix - fix sc_cleanup processing
2005-03-14 00:39:49 +00:00
Pierangelo Masarati
b3c00deb3d
counter cleanup
2005-01-30 22:07:32 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Jong Hyuk Choi
62febe5dff
fix slap_sl_free() calls in pre / post read controls
2004-11-10 21:38:41 +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
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Pierangelo Masarati
d026e2c9f7
preformat "conn=%lu op=%lu"
2004-09-26 23:00:00 +00:00
Pierangelo Masarati
761f287943
multiple precision with BIGNUM/gmp/ulong
2004-09-26 22:58:47 +00:00
Pierangelo Masarati
a637926bf2
use GMP for multiple precision in counters
2004-09-11 16:15:53 +00:00
Kurt Zeilenga
094bc99b83
Initial entryDN implementation.
...
Need to implement filter support (for entryDN and subschemaSubentry).
Fixed hasSubordinate assert() bug in entry filters
2004-09-07 05:00:33 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Pierangelo Masarati
05b81e623d
cleanup attr flags; provide a helper
2004-08-06 17:29:59 +00:00
Pierangelo Masarati
9dcdeef319
don't recompute userattrs
2004-07-30 17:34:47 +00:00
Pierangelo Masarati
9f6f5491fe
slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay
2004-07-25 23:16:40 +00:00
Pierangelo Masarati
b94d5e17e2
rework op/rs structures to deal with opeartional attributes
2004-07-18 21:44:29 +00:00
Pierangelo Masarati
dc5f95cd3e
uninitialized var
2004-07-14 08:18:26 +00:00