Commit graph

11087 commits

Author SHA1 Message Date
Hallvard Furuseth
1ebe7a6eaf more ITS#6324: fix fprintf(%u, long) format 2009-10-23 12:20:31 +00:00
Hallvard Furuseth
dc26fb37eb Fix previous commit: backslash-space-newline -> backslash-newline 2009-10-21 20:15:15 +00:00
Howard Chu
f8a77ecfa2 ITS#6342 include <ac/unistd.h> 2009-10-21 03:09:28 +00:00
Ralf Haferkamp
96ce821037 ITS#6341 removal of last entry from cache caused corruption in the lru list 2009-10-20 14:41:09 +00:00
Hallvard Furuseth
68b914d72b ITS#6338: Fix \0-termination of dnParent(x, x) for one-level DN x. 2009-10-19 23:51:08 +00:00
Pierangelo Masarati
49b1729ad7 don't dereference pointer in case of error 2009-10-19 23:41:11 +00:00
Pierangelo Masarati
15c29b52fb plug one-time leak 2009-10-19 23:39:59 +00:00
Pierangelo Masarati
6a1ac5f987 quick hack for ITS#6337: malloc'ed callback for bind 2009-10-19 23:00:15 +00:00
Rein Tollevik
739f8d0753 ITS#6335 Don't reuse a modtarget someone is about to remove 2009-10-16 17:27:18 +00:00
Howard Chu
eefe62b597 Implement policy checks on compare op 2009-10-15 07:11:39 +00:00
Pierangelo Masarati
716eaf0e8b update entryCSN (and operational attrs in general) when changing memberOf (ITS#6329) 2009-10-14 20:35:42 +00:00
Pierangelo Masarati
5118f06b13 plug leak/logical error (ITS#6326) 2009-10-07 22:46:35 +00:00
Pierangelo Masarati
8bdf89ac6a make sure members are not used uninitialized 2009-10-07 22:44:14 +00:00
Pierangelo Masarati
bd1f6deed7 more about ITS#6324 2009-10-07 20:01:19 +00:00
Pierangelo Masarati
16d3ad01c0 don't "overflow" debug levels (ITS#6324) 2009-10-06 22:03:15 +00:00
Hallvard Furuseth
e6fc72d3c6 ITS#6303: fix broken variant of the struct hack 2009-09-29 22:45:34 +00:00
Howard Chu
66570ad5f1 ITS#6258 add '-n' option to slaptest 2009-09-29 07:33:01 +00:00
Howard Chu
e0cad0e988 ITS#6308 lock leak: must release entry using same op that acquired it 2009-09-29 06:21:32 +00:00
Howard Chu
2e601e8291 ITS#6288 don't deref sort control if it wasn't set 2009-09-29 03:10:03 +00:00
Howard Chu
1a9a438c23 ITS#6140 delete obsolete schema 2009-09-29 02:34:28 +00:00
Howard Chu
2d2fca51d2 ITS#6242 need managedsait to replace glue entries with their real values 2009-09-27 22:42:04 +00:00
Pierangelo Masarati
1815ad4cb6 register authz cookie (ITS#6296) 2009-09-17 21:16:04 +00:00
Rein Tollevik
296826b1f0 ITS#6297 Allow hex in serverID directive 2009-09-17 15:06:22 +00:00
Pierangelo Masarati
4b4db7b529 keep compatibility with slapd's gmtime_mutex (ITS#6262) 2009-09-08 23:21:21 +00:00
Rein Tollevik
b3ef15321b ITS#6287 Rewritten the ACL state cache 2009-09-08 21:06:15 +00:00
Pierangelo Masarati
393612b8e1 by now, make sure no timeout is used (ITS#6282) 2009-09-08 07:56:43 +00:00
Pierangelo Masarati
07b7491249 fix LDIF comment when modifying (ITS#6286) 2009-09-08 04:40:24 +00:00
Pierangelo Masarati
7608e06a53 warn if entryUUID,entryCSN are missing and the database is shadow (ITS#6281) 2009-09-08 04:11:05 +00:00
Howard Chu
fffb1fab4e Include "lutil.h" - fixes warnings in RE24 2009-09-01 00:35:22 +00:00
Howard Chu
b0fdc08e06 ITS#6276 wake up blocked writers if we're pausing 2009-08-28 23:00:46 +00:00
Pierangelo Masarati
e45c20cf92 fix uninitialized var (ITS#6266; actually, the problem was a bit more severe...) 2009-08-24 01:22:55 +00:00
Pierangelo Masarati
20359f2020 fix previous commit (ITS#6267) 2009-08-24 00:41:12 +00:00
Pierangelo Masarati
72c1b2f821 add pedantic checks 2009-08-21 17:08:48 +00:00
Pierangelo Masarati
53fca03374 remove unneded code 2009-08-21 17:08:04 +00:00
Pierangelo Masarati
10a61120ca tell what database initialization failed based on the suffix 2009-08-21 17:07:12 +00:00
Pierangelo Masarati
9f2360e2a9 fix uninitialized and off-by-one (thanks to valgrind) 2009-08-21 16:01:33 +00:00
Howard Chu
27c39c56c4 ITS#6152 add tests for cache refresh and Bind caching 2009-08-21 13:25:38 +00:00
Howard Chu
6d50de8526 ITS#6152 pwdModify support 2009-08-20 09:47:34 +00:00
Howard Chu
17d31e523f Fix prev commit 2009-08-20 09:46:40 +00:00
Howard Chu
2d28fe4d4c ITS#6265 must set orm_no_opattrs 2009-08-20 00:32:28 +00:00
Howard Chu
acd888b9de child DB should have ordering prefix 2009-08-19 23:46:37 +00:00
Pierangelo Masarati
9f13a2ae02 more cleanup of attr renaming 2009-08-19 23:13:13 +00:00
Pierangelo Masarati
afec8d12ad more cache monitoring (ITS#5178) 2009-08-19 23:09:52 +00:00
Pierangelo Masarati
a688867cae more about previous commit 2009-08-19 22:41:06 +00:00
Hallvard Furuseth
4b6f2de8ab Silence warning (bv_len >= 0 is always true) 2009-08-19 18:59:33 +00:00
Hallvard Furuseth
c0e0a64799 Silence warning (missing braces ininitializer) 2009-08-19 18:58:28 +00:00
Hallvard Furuseth
b6f79805be Fix Debug() format (%x -> %lx) since rev 1.385 2009-08-19 18:57:04 +00:00
Pierangelo Masarati
69878f43c8 refactor connection handling 2009-08-19 16:45:15 +00:00
Pierangelo Masarati
bdec7702d7 better logging of privileged connections (more to come; might be unstable for a bit) 2009-08-19 15:00:59 +00:00
Pierangelo Masarati
148cc2f2fc silence warnings 2009-08-19 13:20:11 +00:00
Pierangelo Masarati
b928fa97d8 silence warning 2009-08-19 13:02:54 +00:00
Pierangelo Masarati
8da69a9249 silence warnings 2009-08-19 12:55:15 +00:00
Howard Chu
0caea881a5 Only free the req_dn / ndn we created. Someone may have rewritten it... 2009-08-19 11:27:49 +00:00
Hallvard Furuseth
eea6678234 More ITS#6234: // comment from rev 1.384 -> /**/ 2009-08-19 09:54:03 +00:00
Howard Chu
7427622625 s/new/anew/ avoid C++ keyword 2009-08-19 09:25:25 +00:00
Howard Chu
924fdaaf84 Bind caching works 2009-08-19 08:14:07 +00:00
Howard Chu
99341bb367 Look for our callback to pop, don't just do it blindly 2009-08-19 08:05:18 +00:00
Howard Chu
3de89b4201 Bind caching, work in progress 2009-08-19 03:00:33 +00:00
Pierangelo Masarati
f3cdcadf89 wrap gmtime for reentrancy (ITS#6262) 2009-08-18 23:48:15 +00:00
Howard Chu
52cd360680 Fix prev commit, attr_find args 2009-08-18 20:35:02 +00:00
Howard Chu
f0a0e9fa32 Revert prev commit, use ldap_pvt_ funcs 2009-08-18 08:53:41 +00:00
Pierangelo Masarati
87321c3fae update cachedQueryURL only when requested 2009-08-18 08:38:42 +00:00
Howard Chu
7442e58dc2 For ITS#6152 add slapd_str2scope(), slapd_scope2bv() 2009-08-18 02:47:28 +00:00
Pierangelo Masarati
ef7569fdc0 expose cachedQueryURL in overlay's monitor entry (partial fulfilment of ITS#5178; needs new register_overlay() code in back-monitor) 2009-08-17 23:23:21 +00:00
Pierangelo Masarati
d4f88422fd allow to register overlay-specific stuff 2009-08-17 23:08:40 +00:00
Pierangelo Masarati
5c62c82e00 more about ITS#6243 2009-08-17 23:05:48 +00:00
Pierangelo Masarati
7c15998121 silence warning 2009-08-17 23:02:50 +00:00
Pierangelo Masarati
b7a9a4a65f add support for TCP buffer configuration (ITS#6234) 2009-08-17 22:53:15 +00:00
Pierangelo Masarati
613b00065a use UINT where appropriate (silence warnings) 2009-08-17 22:48:34 +00:00
Howard Chu
c670264951 For refresh_purge, only delete entry if ours is the last queryid on it.
Otherwise just remove our queryid.
2009-08-17 22:24:26 +00:00
Howard Chu
8cd909db3f Plug leaks in prev commit 2009-08-17 14:38:28 +00:00
Howard Chu
cd0681c4e1 ITS#6152 restart consistency checker when going back online
reset refcnt when refreshing a query
2009-08-17 13:24:33 +00:00
Howard Chu
deb1fb6eb6 Fix refresh_merge, using mods from wrong entry 2009-08-17 13:11:05 +00:00
Howard Chu
73c46fa598 Cleanup prev commit 2009-08-17 12:51:44 +00:00
Howard Chu
a5cfab44d7 ITS#6152 preliminary refresh support, untested 2009-08-17 12:02:48 +00:00
Howard Chu
0132ea425d ITS#6152 add syncrepl_diff_entry() 2009-08-17 11:58:47 +00:00
Howard Chu
a975c61451 More for #6220, don't timeout idle connections when writetimeout is
set and idletimeout is not.
2009-08-17 11:28:25 +00:00
Howard Chu
31084affa6 ITS#6251 framework for TTR. refresh not yet implemented. 2009-08-17 03:03:50 +00:00
Howard Chu
7ad21d7dfd Fix typo in prev commit 2009-08-17 02:22:28 +00:00
Howard Chu
88c6cfa814 Deprecate previous config keywords. Add ttr parsing (no functionality yet) 2009-08-16 23:26:34 +00:00
Howard Chu
f918243a2f ITS#6256 from Jonathan Clarke 2009-08-15 14:05:47 +00:00
Pierangelo Masarati
dc12e58d38 allow to look-ahead entry DN without decoding the whole entry 2009-08-14 15:33:09 +00:00
Pierangelo Masarati
8ecfb077bf harmonize API: source to dest right to left 2009-08-14 14:18:04 +00:00
Pierangelo Masarati
bb3e14ddba honor requested attrs (ITS#6254), including operational 2009-08-14 01:18:23 +00:00
Pierangelo Masarati
f283f7ad47 improve previous commit; make sure returned entries match filter (ITS#6255); defer sizelimit exceeded detection 2009-08-14 00:49:48 +00:00
Pierangelo Masarati
b6cf5ca896 make sure filter is applied to final entry (ITS#6255) 2009-08-14 00:14:35 +00:00
Pierangelo Masarati
bea861dda5 honor sizelimit when filter needs to be split between local and remote (ITS#6253) 2009-08-14 00:03:10 +00:00
Pierangelo Masarati
60627ddf93 eliminate code duplication 2009-08-13 21:24:32 +00:00
Pierangelo Masarati
2d1d2f3008 remove misleading comment 2009-08-13 21:00:04 +00:00
Pierangelo Masarati
9f80d80dbd expose subordinate databases; add a link to the superior DN 2009-08-13 20:58:20 +00:00
Pierangelo Masarati
efabe1d279 honor per-target tls/chase referrals/rebind as user (ITS#6190) 2009-08-13 19:30:37 +00:00
Pierangelo Masarati
9ebc168a8a log in case of failure (FIXME: should those logs be at ANY level?) 2009-08-04 23:45:42 +00:00
Pierangelo Masarati
1f33edc08e use back-config if supported 2009-08-04 23:27:52 +00:00
Howard Chu
9bd09d7b0e Fully parse undefined substring filters so they can be logged 2009-08-04 22:41:59 +00:00
Pierangelo Masarati
3e2ac1f6c0 improve previous commit 2009-08-04 14:26:40 +00:00
Pierangelo Masarati
38fa7e0621 be liberal in accepting CL (ITS#6241) 2009-08-04 14:14:17 +00:00
Howard Chu
50688c960c In slap_mods_check, always compare ordering index first 2009-08-04 02:42:20 +00:00
Pierangelo Masarati
f2e1b78391 silence warnings; misc cleanup; test refresh as non-allowed user 2009-08-03 22:49:30 +00:00
Pierangelo Masarati
20371c3eae note about OpenSSL being more liberal than OpenLDAP when there is garbage past the end of a certificateList 2009-08-03 14:07:49 +00:00
Pierangelo Masarati
e153f41e90 add entry_dup_to(); use it to address ITS#6172 (thanks to Michael Karcher) 2009-08-03 13:18:05 +00:00
Pierangelo Masarati
5139241ade blind fix to ITS#6163 2009-08-03 13:08:22 +00:00
Pierangelo Masarati
a1ed732822 count query answerability; allow configuration of private database 2009-08-02 22:00:01 +00:00
Howard Chu
dd88fdbcc3 ITS#6152 add olcProxyCacheOffline for manually toggling cache expiration,
assume some external process will tell us when network is on/offline
2009-08-02 01:20:03 +00:00
Howard Chu
076c1d23cf Fix attributeCertificateValidate 2009-08-01 01:11:15 +00:00
Howard Chu
e8d95fa072 Fix certificateListValidate parsing of CRL extensions 2009-08-01 00:39:41 +00:00
Hallvard Furuseth
ef0163c198 Fix last commit: C90 rejects declaration after code 2009-07-30 15:34:42 +00:00
Howard Chu
8a0284cf04 ITS#5946 always allow mirrormode to be set to FALSE 2009-07-29 09:21:50 +00:00
Howard Chu
bf69b8e065 ITS#5942 consolidate server URL match to config_check_my_url().
In syncrepl, assume consumer pointing to same server but different
searchbase is OK otherwise ignore config.
2009-07-29 09:04:39 +00:00
Howard Chu
850e4ae0d3 Use distribution hints in searches 2009-07-29 00:58:46 +00:00
Howard Chu
016c518652 ITS#6230 fix typos 2009-07-27 18:54:56 +00:00
Howard Chu
82e95f8091 Change AttributeName.an_oc_exclude to an_oc_flags, avoid multiple
futile searches for OC matches.
2009-07-26 00:14:15 +00:00
Howard Chu
25a06ddd43 ITS#6228 fix typo 2009-07-25 23:37:24 +00:00
Howard Chu
474991afdf ITS#6222 dncachesize defaults to 0 == unlimited 2009-07-25 07:13:50 +00:00
Howard Chu
46feff08ca ITS#6222 need to support unsigned long args too 2009-07-25 06:47:00 +00:00
Howard Chu
addb1320a4 More cleanup 2009-07-25 00:09:56 +00:00
Howard Chu
48ffbcce3c Minor cleanup 2009-07-25 00:06:46 +00:00
Pierangelo Masarati
e9f1452624 test whether the current entry matches the current uri filter (ITS#6077); also, don't leak DN when adding a base fails 2009-07-24 22:00:53 +00:00
Howard Chu
e08e89d6a7 ITS#6214 use the main thread's context so cleanup can occur 2009-07-22 04:39:57 +00:00
Howard Chu
553f0f2ffd ITS#6220 don't check write timeouts when global_writetimeout isn't set 2009-07-21 02:04:46 +00:00
Pierangelo Masarati
40f785f62a check the value of the olcSubordinate attribute 2009-07-16 15:41:05 +00:00
Pierangelo Masarati
7a553ddae8 subordinate needs a suffix (ITS#6216) 2009-07-16 15:28:22 +00:00
Howard Chu
d45c01c008 External vars need to be wrapped for Windows 2009-07-14 00:52:45 +00:00
Howard Chu
5f211a7dcc Fix handling for empty results 2009-07-13 15:22:46 +00:00
Howard Chu
eab5b9570a Fix result when no VLV match 2009-07-13 15:15:27 +00:00
Howard Chu
783dc77df7 Minor cleanup 2009-07-13 15:00:19 +00:00
Howard Chu
aa316f10fe Add sssvlv config 2009-07-13 14:20:31 +00:00
Howard Chu
2ca1c1d916 Add sssvlv to build system 2009-07-13 13:35:30 +00:00
Howard Chu
789dad4d00 ITS#6203 fix startup 2009-07-13 13:24:12 +00:00
Howard Chu
c401792c20 Fix prev commit 2009-07-13 13:14:07 +00:00
Howard Chu
2e4da3f9ee More VLV stuff 2009-07-13 12:40:35 +00:00
Howard Chu
d0bbd6d510 vlv implemented, untested 2009-07-13 10:59:09 +00:00
Howard Chu
dbc0fdba58 csnOrderingMatch should have a normalizer 2009-07-13 09:39:39 +00:00
Howard Chu
f11b45063d Undef SLAP_CONTROL_X_SORTEDRESULTS, use sssvlv overlay now.
Will unifdef all relevant code later...
2009-07-13 08:43:06 +00:00
Howard Chu
5fbd344280 Server Side Sorting (also with PagedResults). VLV still in progress. 2009-07-13 08:39:22 +00:00
Howard Chu
dc86747a4d Fix typo in 1.250 fake sorted results control 2009-07-13 02:42:38 +00:00
Howard Chu
cc6dc57746 ITS#6195 must normalize cookies before comparing them 2009-07-08 00:55:27 +00:00
Hallvard Furuseth
d3e7717473 ITS#6101, did not always (re)set rs->sr_sasldata before send_ldap_sasl() 2009-07-07 22:31:35 +00:00
Howard Chu
72e319bd02 ITS#5892 return -1 from ldif_read_record on error 2009-07-07 22:30:55 +00:00
Hallvard Furuseth
5b98495d5c ITS#6101, reset rs->sr_rspdata in send_ldap_disconnect() 2009-07-07 22:30:28 +00:00
Howard Chu
4939a382c1 ITS#5892 make sure ldif error messages are displayed 2009-07-07 21:51:27 +00:00
Hallvard Furuseth
b74b7c232d ITS#6101: Move sru_search first in union SlapReply.sr_un, for initialization. 2009-07-07 21:11:39 +00:00
Hallvard Furuseth
461a2135fb Silence warning. Also avoids pointless umask(0) when umask already is 0. 2009-07-06 23:19:52 +00:00
Howard Chu
e6173ac9c2 ITS#5836 more for 1.432, writetimeout wasn't taking effect if
idletimeout wasn't also set. Also, timeout check would keep getting
pushed back if multiple writers were waiting.
2009-07-06 21:02:28 +00:00
Ralf Haferkamp
d430fa0346 error out when adding multiple olcIndex values for the same attribute (ITS#6196) 2009-07-03 14:29:40 +00:00
Howard Chu
c29b1a53b2 More for 1.124 - forwarded updates need Relax control since state attrs
are no-user-mod.
2009-07-01 07:39:22 +00:00
Howard Chu
1ca5fe851f ITS#5836, #6089 fix c_writers counting 2009-07-01 03:01:08 +00:00
Howard Chu
8a0b05bfeb ITS#6084 handle pwdAccountLockedTime values set into the future (i.e.,
lame way of setting an expiration date.)
2009-06-30 12:12:53 +00:00
Howard Chu
98ebf1950e Fix prev commit 2009-06-30 11:54:45 +00:00
Howard Chu
b50f9c7aa9 ITS#6082 return checker module's error message to client 2009-06-30 11:51:13 +00:00
Howard Chu
68246fb76d Fix check_password with {cleartext} passwords 2009-06-30 11:24:11 +00:00
Howard Chu
1f07d843f1 ITS#6168 actually use pwdLockout setting 2009-06-30 11:04:16 +00:00
Howard Chu
972176a1e0 Add ppolicy_forward_updates: if configured, ppolicy state changes due to
Binds are performed using the frontend, to allow them to trigger the
updateref on a consumer, which can then be forwarded by the chain overlay.
Setting is ignored if server is not a consumer.
2009-06-30 10:41:51 +00:00
Hallvard Furuseth
0f5378c8f7 Fix Debug format in last commit 2009-06-28 21:23:59 +00:00
Howard Chu
c62ebb9da2 ITS#6189 delay resetting the SLAP_C_BINDING state until the Bind handler
has fully returned to the connection manager. This may result in
"deferring operation: binding" messages being logged again (ITS#3850) but
it should not cause any hangs.
2009-06-28 03:37:20 +00:00
Howard Chu
d3aae2dc42 ITS#5658 hppa fixes 2009-06-23 23:12:15 +00:00
Rein Tollevik
9d4ea6378b ITS#6179 Don't require dn.regex in <who> to use expand style in <by>. 2009-06-23 21:17:57 +00:00
Howard Chu
53f8b761f1 More for ITS#6177 2009-06-19 07:11:01 +00:00
Howard Chu
68e252c9a9 ITS#6177 proposed fix, please test 2009-06-19 02:06:58 +00:00
Howard Chu
59a29c9801 ITS#6176 silently raise dncache to cachesize if smaller 2009-06-18 00:16:30 +00:00
Howard Chu
861441fcf7 ITS#6076 fix collectinfo ordering 2009-06-17 01:17:42 +00:00
Howard Chu
2ae35da6bb ITS#6075, cleanup, add missing equality match 2009-06-17 00:42:59 +00:00
Howard Chu
fc0418db8f Better fix for prev commit 2009-06-16 05:26:29 +00:00
Howard Chu
d852de5ce4 Partially revert 1.32; pcache must allow other callbacks to see its results 2009-06-16 04:33:59 +00:00
Hallvard Furuseth
22260f8445 ITS#6154: don't assume in slap_callback.sc_cleanup that sc_response was called.
Also remove unused bd = NULL assignment from last commit.
2009-06-12 23:12:37 +00:00
Howard Chu
22f6e45f2a txn may fail to give us a scan op 2009-06-12 11:57:56 +00:00
Hallvard Furuseth
3bbaa8103b Cleanup: Remove SLAP_CB_FREEME, an unused internal result code 2009-06-11 22:57:04 +00:00
Pierangelo Masarati
c39815ee28 don't deadlock when a TLS uri is not responding (ITS#6167) 2009-06-11 06:51:01 +00:00
Howard Chu
23783a9164 Add ldap_pvt_thread_pool_retract() to cancel pending threads 2009-06-11 04:46:04 +00:00
Hallvard Furuseth
df85e3173d ITS#6169: do not access freed memory in dds_expire() 2009-06-11 03:10:11 +00:00
Howard Chu
0d497278e9 ITS#6156 get full entry from remote side, only use attr list on final send 2009-06-08 20:39:22 +00:00
Howard Chu
b13789f3e9 ITS#6162 accept non-decimal loglevels 2009-06-08 20:03:43 +00:00
Hallvard Furuseth
41fa4f03b6 More ITS#6104: mutex-protected check of o_cancel value from other thread 2009-06-05 23:26:09 +00:00
Howard Chu
f2a9d8b9ab Plug leak in prev commit 2009-06-05 01:25:35 +00:00
Howard Chu
81b4184975 Fix prev commit 2009-06-05 00:01:11 +00:00
Hallvard Furuseth
8bdfd2edbb ITS#6103: rev 1.331 followup for LDAP_CONNECTIONLESS 2009-06-04 22:06:37 +00:00
Hallvard Furuseth
96f4c723a9 For ITS#6157: Catch most invalid cancels/abandons, and honor them before waits 2009-06-04 21:16:38 +00:00
Howard Chu
57d714176a ITS#6056 refint_repair can be called multiple times for the same
queued item, must not free queue itself
2009-06-04 18:05:19 +00:00
Quanah Gibson-Mount
2be7cb3b16 Fix missing cvs id tag 2009-06-03 00:31:14 +00:00
Pierangelo Masarati
5a1b108860 allow to delete olcLimits values (ITS#6159) 2009-06-02 23:17:58 +00:00
Hallvard Furuseth
136a56bd6b Fix last commit (add a comment) 2009-06-01 22:27:12 +00:00
Hallvard Furuseth
fa40617c83 More ITS#6133: Search/Extended referrals, entry_<get/release> results,
entry_release memory leak, OpExtra keys to detect recursion, cleanup.
Also rewrite to table/macro-driven operations, and shorten RB_* names.
2009-06-01 22:19:15 +00:00
Hallvard Furuseth
ad09b13196 Drop Unbind too for ITS#6133. Some cleanup. Add/fix comments. 2009-05-30 22:57:43 +00:00
Howard Chu
8edeaefe72 ITS#6056 partially revert ITS#5886, close sequencing was broken 2009-05-28 17:46:25 +00:00
Pierangelo Masarati
57e68fa5b3 add slapschema tool (ITS#6150) 2009-05-28 13:40:57 +00:00
Howard Chu
2a624e1e4d ITS#6147 fix typos 2009-05-27 12:53:04 +00:00
Howard Chu
374331c2b1 ITS#6147 add sasl-auxprop config, default to "slapd" 2009-05-27 12:41:09 +00:00
Howard Chu
0720ede283 ITS#6135 reinit TLS context after changes 2009-05-27 11:35:12 +00:00
Howard Chu
1df1f6cfc5 ITS#6139 password-hash has no max # args 2009-05-25 12:58:40 +00:00
Hallvard Furuseth
4b3a815ad1 ITS#6137: Fail Cancel(pending operation) instead of discarding the operation. 2009-05-22 18:10:39 +00:00
Hallvard Furuseth
acba4f7755 For ITS#6104: Protect initial o_abandon/o_cancel with op->o_conn->c_mutex. 2009-05-21 23:22:46 +00:00
Hallvard Furuseth
23a726395f ITS#6133: Handlers for Abandon, Cancel, connection init/destroy
should not exist.  Catch coredump.  Fix error/result code handling.
2009-05-21 00:09:30 +00:00
Hallvard Furuseth
18905416c9 To be safe (see ITS#5328), set hasSubordinates before be_has_subordinates() 2009-05-20 21:42:13 +00:00
Hallvard Furuseth
7f28d0a13d ITS#5328: Make relay_back_has_subordinates() return failure on failure 2009-05-20 21:34:40 +00:00
Hallvard Furuseth
aa9399db03 ITS#6132: Fix slapi_entry_has_children() 2009-05-20 21:23:48 +00:00
Howard Chu
69caa925ea set Conf->what for authz-regexp 2009-05-20 12:44:25 +00:00
Howard Chu
acba6fde99 Avoid printf(NULL) on Solaris 2009-05-20 12:42:34 +00:00
Howard Chu
273bd403f4 Avoid multiple attempts to free the same syncinfo 2009-05-18 07:58:27 +00:00
Howard Chu
01b0ca7603 ITS#6109 fix readonly restriction 2009-05-17 22:23:33 +00:00
Howard Chu
aa9e241581 ITS#6111 connection_state_closing() -> connection_valid() 2009-05-14 04:03:23 +00:00
Howard Chu
29be892cc1 Revert 1.274 2009-05-11 22:26:12 +00:00
Howard Chu
7ab16ae6c2 ITS#6103 send response on abandon 2009-05-11 04:30:36 +00:00
Howard Chu
9fd983a99d ITS#6103 send response even if abandoned 2009-05-11 04:29:21 +00:00
Howard Chu
9767c87531 Partially revert prev commit, leave rs->sr_err == SLAPD_ABANDON 2009-05-11 04:23:51 +00:00
Howard Chu
2889cc9b1d ITS#6103 send cancelled response back to client 2009-05-11 04:16:57 +00:00
Pierangelo Masarati
2cf9473c46 misc cleanup 2009-05-08 16:31:50 +00:00
Pierangelo Masarati
8d55fbf5c6 (blindly) allow to build with BACKSQL_ARBITRARY_KEY defined (ITS#6100). Please note that this disables paged results support 2009-05-08 16:23:57 +00:00
Howard Chu
6bd1861101 Fix c_leaves count 2009-05-08 06:37:05 +00:00
Howard Chu
1a8e3f9e3e More for prev commit 2009-05-08 04:48:03 +00:00
Howard Chu
167f2d22ed ITS#6098 issuerUID and subjectUID are primitive, not constructed 2009-05-08 01:52:12 +00:00
Pierangelo Masarati
79024465dc check dn normalization result 2009-05-07 15:27:01 +00:00
Howard Chu
7f9a60ae7a More for prev commit: delete bdb_cache_info(), must use cache_find_id().
Fixed cache.c_cursize counting.
2009-05-06 13:57:01 +00:00
Howard Chu
64dc274655 ITS#6095 experimental fix: avoid purging other cases of in-use EntryInfos,
avoid using purged EntryInfos that have not yet been fully unlinked.
2009-05-06 08:33:26 +00:00
Howard Chu
f60107ff75 fix typo 2009-05-06 07:55:42 +00:00
Howard Chu
650ced22c8 More for ITS#5326 - don't free ora_e->e_name if same as o_req_dn 2009-05-05 21:54:01 +00:00
Pierangelo Masarati
b8022be3e6 fix one-time leaks; make sure free'd stuff is NULL 2009-05-04 11:37:58 +00:00
Pierangelo Masarati
5c2b116798 add in-scope helper 2009-05-04 10:57:50 +00:00
Howard Chu
a7fe6266d8 Don't do alock recovery in readonly mode since we didn't do BDB recovery 2009-05-03 00:49:35 +00:00
Howard Chu
87e2ad347b Fix typo in prev commit 2009-05-03 00:47:25 +00:00
Howard Chu
10baa9a60a ITS#6088 entryinfo cleanup 2009-05-03 00:30:20 +00:00
Howard Chu
6e27fa5076 ITS#6074 freeing already-freed EntryInfos... 2009-05-01 04:36:39 +00:00
Howard Chu
c7142fdec5 Don't underflow malloc'd memory in hdb_fix_dn() 2009-05-01 04:26:44 +00:00
Pierangelo Masarati
5efa186908 fix one-time leak 2009-04-30 11:36:12 +00:00
Pierangelo Masarati
fd609f3299 force entry release as appropriate (ITS#6081) 2009-04-29 13:03:50 +00:00
Pierangelo Masarati
477e602afd make logs symmetric 2009-04-29 11:36:49 +00:00
Pierangelo Masarati
aa494bd8c0 only free entries dup'ed by rwm_entry_get_rw() (ITS#6058) 2009-04-20 14:54:18 +00:00
Pierangelo Masarati
5207531d9b always pass a DN to the underlying database (ITS#6070) 2009-04-20 09:54:31 +00:00
Howard Chu
f11fcf47d2 Add missing extended/intermediate handlers for fake connections 2009-04-20 09:07:48 +00:00
Howard Chu
615082b0d0 Add ATDESC config arg type for AttributeDescriptions 2009-04-20 00:31:33 +00:00
Howard Chu
d70afbe6d1 Add global_host_bv, why do we still have bare char *s lying around... 2009-04-19 23:25:41 +00:00
Hallvard Furuseth
2365945268 ITS#6064: "//" comment from rev 1.445 -> "/**/" comment 2009-04-16 17:48:50 +00:00
Pierangelo Masarati
8ed197799c fix ITS#6057 2009-04-15 10:46:11 +00:00
Howard Chu
cfb12f536b ITS#6056 pagedresults stacked control is not overlay-friendly, add
slap_add_ctrls() function
2009-04-15 10:34:24 +00:00
Howard Chu
417b0b7013 ITS#6039 Winsock fixes 2009-04-11 04:03:09 +00:00
Howard Chu
6fc4af8a18 ITS#6054 quit using global malloc 2009-04-11 03:42:15 +00:00
Howard Chu
b0e50c6a7d ITS#6054 assert/exit on failed allocs 2009-04-11 03:40:12 +00:00
Howard Chu
a9a50a6a3e ITS#6021 minor cleanup 2009-04-05 04:17:06 +00:00
Rein Tollevik
2a4bce0633 More for ITS#6045: clear o_callback as well. 2009-04-04 20:25:38 +00:00
Rein Tollevik
4901d77f94 Fixed previous again, using o_bd->bd_self is safer. 2009-04-04 20:09:43 +00:00
Rein Tollevik
aef88182ab Fixed previous edit: Use op->o_bd, not a copy of ss->s_op->o_bd 2009-04-04 17:58:58 +00:00
Rein Tollevik
ab0d7543df ITS#6045: Use copy of db when testing filter in matchops. 2009-04-03 17:55:47 +00:00
Howard Chu
bf3920360d ITS#6016 check for static backends and overlays 2009-04-02 23:41:41 +00:00
Howard Chu
94ab6a31b2 ITS#6038 revert prev commits, ITS rejected 2009-03-27 11:07:42 +00:00
Rein Tollevik
c8cf2fc47a ITS#6038: Write slapadd progress meter to stdout. 2009-03-26 22:50:54 +00:00
Hallvard Furuseth
3e57c96acd ITS#6037: don't loop forever on EINTR in wait4child() 2009-03-26 22:12:12 +00:00
Hallvard Furuseth
1e470657b2 ITS#6037: save/restore errno in signal handlers 2009-03-26 22:11:06 +00:00
Howard Chu
9309eb4b34 ITS#6036 zero out freed val 2009-03-26 16:58:44 +00:00
Pierangelo Masarati
c9f514d1d1 slapcat does not mention -s in usage 2009-03-26 00:54:11 +00:00
Howard Chu
bddc9b337c ITS#6030 reject redundant moduleload attempts 2009-03-23 16:06:00 +00:00
Howard Chu
fdda1ea70f ITS#6030 don't reload already loaded modules 2009-03-23 11:38:24 +00:00
Howard Chu
ae3fb6acfa Fix 1.461, forgot to release mutex when persistent conn exists 2009-03-22 02:53:49 +00:00
Hallvard Furuseth
fb8a419e58 More ITS#5968: Edit AVA_Sort() comment to describe new behavior. 2009-03-20 17:11:28 +00:00
Howard Chu
528193ec23 Fix prev commit 2009-03-19 21:13:11 +00:00
Howard Chu
d44a75ff40 More for prev commit 2009-03-19 19:09:34 +00:00
Howard Chu
30d80e30ee More for #6011, rearrange teardown steps 2009-03-19 18:50:44 +00:00
Howard Chu
1d16ee5622 One more tweak for #5860 2009-03-19 06:06:37 +00:00
Howard Chu
65c24bdb1f More for #5860 - if the cache blew past the maxsize, bring it all the way
back down to size.
2009-03-18 18:18:40 +00:00
Howard Chu
0121f8c01d More for ITS#5860 2009-03-18 11:21:53 +00:00
Howard Chu
7f2f9c4b30 Cleanup prev commit 2009-03-18 09:44:20 +00:00
Howard Chu
cc950c70d1 More for ITS#5860, always check cache sizes 2009-03-18 08:52:38 +00:00
Howard Chu
ba75a865d7 ITS#6012 don't abort NULL txns (blind fix) 2009-03-17 18:09:40 +00:00
Pierangelo Masarati
6627f34356 use, then free (ITS#6027) 2009-03-17 15:52:41 +00:00
Howard Chu
59c7d24d7f ITS#6011 more for refcount'd cookieState 2009-03-17 04:54:09 +00:00
Howard Chu
50cd5bab30 ITS#6011 better fix for connection queue 2009-03-17 03:24:51 +00:00
Howard Chu
614faa3911 ITS#6011 use refcount for shared cookieState 2009-03-17 03:07:40 +00:00
Howard Chu
c6da723a91 cleanup prev commit 2009-03-17 01:00:55 +00:00
Howard Chu
47f31dcd8e More for ITS#6011 2009-03-17 00:56:23 +00:00
Howard Chu
1661146831 More debugging 2009-03-16 21:43:33 +00:00
Rein Tollevik
f30269f5d2 ITS#6024 Don't send cookies without csn. 2009-03-15 23:05:08 +00:00
Howard Chu
14d4ca86e1 Fix prev 2 commits: make sure op is Modify before testing modlist,
don't checkpoint when adding the context entry to a DB
2009-03-14 09:03:30 +00:00
Howard Chu
1e651713e2 ITS#5988 allow entries without CSN to be replicated 2009-03-14 07:22:19 +00:00
Howard Chu
9764499136 ITS#5973 re-enable patch 2009-03-14 07:21:06 +00:00
Howard Chu
4908009ed3 Don't write out abandoned results 2009-03-14 06:47:43 +00:00
Howard Chu
6a56c7014c More for prev commit 2009-03-14 01:14:59 +00:00
Howard Chu
5bd8725aac ITS#5988 avoid redundant slap_graduate_commit_csn calls 2009-03-14 01:04:55 +00:00
Howard Chu
fb35e344ed Fix prev commit 2009-03-13 23:25:00 +00:00
Howard Chu
2f14098a9b ITS#5988 don't respond if consumer's state is newer than ours 2009-03-13 23:09:14 +00:00
Howard Chu
43b23ce31c ITS#5999 better modtarget tracking 2009-03-13 22:59:20 +00:00
Howard Chu
6044e46ec7 Avoid shutdown problems 2009-03-13 08:33:34 +00:00
Howard Chu
0af440befe Cleanup prev commit 2009-03-13 07:50:45 +00:00
Howard Chu
eb3e92481b More for #6020 2009-03-13 06:44:49 +00:00
Howard Chu
bbe1285696 For #6020 log remote sid in syncprov_sendresp 2009-03-13 03:44:51 +00:00
Howard Chu
4775157666 More for prev commit 2009-03-13 01:07:45 +00:00
Howard Chu
553d6a9963 ITS#5973 hide this for now, it's broken 2009-03-13 00:28:09 +00:00
Howard Chu
d03e5ad14e More for prev commit 2009-03-13 00:26:24 +00:00
Howard Chu
011d1ca8bc Fix prev commit 2009-03-13 00:15:28 +00:00
Howard Chu
83870c03d2 ITS#6020 better tracking of where changes came from 2009-03-13 00:14:19 +00:00
Howard Chu
2c1de1866e Revert 1.447 ITS#5793, slap_queue_csn is mandatory 2009-03-12 13:50:51 +00:00
Howard Chu
f347798d48 ITS#6011 don't hang around during a shutdown... 2009-03-11 07:04:27 +00:00
Howard Chu
1336616065 Delete obsolete context entry stuff 2009-03-10 03:51:14 +00:00
Howard Chu
f2cc7e8a0a ITS#5836, add writetimeout keyword for timing out hung writers 2009-03-10 00:42:10 +00:00
Howard Chu
496937eb79 ITS#6005 use ber_memcalloc/free 2009-03-09 01:22:48 +00:00
Howard Chu
5152ea19a3 ITS#6005 realloc should be ch_realloc 2009-03-09 00:48:44 +00:00
Howard Chu
df64b0573c More for prev commit - fill in other opattrs when creating stub 2009-03-07 02:46:10 +00:00
Howard Chu
b88e792a7f Revert ITS#3616 patch, obsoleted by ITS#4916 / ITS#6006 2009-03-07 02:28:01 +00:00
Howard Chu
89cfbe3b6e ITS#6006 dummy entry needs objectclass attr. (Previous fix to ITS#4961
was incomplete. This patch obsoletes the patch for ITS#3616.)
2009-03-07 02:23:20 +00:00
Howard Chu
6f8323590e More explicit for prev commit 2009-03-06 04:00:38 +00:00
Howard Chu
4fc4cb7995 ITS#6003, #5916 fix ldap_back_entry_get_rw, no deref here 2009-03-06 03:57:35 +00:00
Howard Chu
c5cf4fca22 ITS#6002 fix attrset unparse 2009-03-05 23:44:18 +00:00
Howard Chu
5947a1692d Once more, mutex_lock -> trylock... 2009-03-05 22:46:03 +00:00
Howard Chu
e3e7a22b5d Must use txns everywhere, otherwise it will deadlock 2009-03-05 21:59:05 +00:00
Rein Tollevik
447f3f746e ITS#6001 SID of queued CSN must match the one in the op 2009-03-05 20:43:53 +00:00
Howard Chu
ce356b27b1 Fix modrdn / delOldRDN leaving empty mods 2009-03-05 19:43:55 +00:00
Pierangelo Masarati
eb6d01e393 more about previous commit 2009-03-05 18:25:43 +00:00
Pierangelo Masarati
30066c813b fix previous commit 2009-03-05 18:06:27 +00:00
Howard Chu
7c183775d0 Check rc in prev commit 2009-03-05 17:53:01 +00:00
Howard Chu
75943bcd3f ITS#5985 Only play one queued response at a time per psearch thread 2009-03-05 11:21:07 +00:00
Pierangelo Masarati
f3014a235d better diagnostics 2009-03-05 10:59:34 +00:00
Howard Chu
86e048aa33 Delete bogus code from 1.435 2009-03-05 09:17:36 +00:00
Pierangelo Masarati
715b03d5ab make sure sequence progresses correctly (ITS#5986) 2009-03-03 00:07:17 +00:00
Howard Chu
6d1aa51604 ITS#5860 - more for entry cache counts 2009-03-02 18:35:28 +00:00
Howard Chu
7198869342 More for prev - keep eifree at a reasonable number 2009-03-02 08:33:33 +00:00
Howard Chu
8ba8500ff1 ITS#5860 - free 10*minfree DN cache entries instead of just 1 per pass 2009-03-02 08:27:20 +00:00
Howard Chu
288e99cb08 ITS#5860 - NO_CACHE entries were not being counted when they were
converted to regular cached entries (so the entry cache grew beyond
the configured size)
2009-03-02 08:26:30 +00:00
Howard Chu
225aa9f526 More for prev 2009-03-02 07:57:18 +00:00
Howard Chu
03aa595908 ITS#5457 cleanup. If we ever go back to refcounting the entry cache,
this will matter.
2009-03-02 07:54:01 +00:00
Howard Chu
8597332057 ITS#5979 don't create reqOld attr if there was no previous value 2009-02-28 04:43:40 +00:00
Howard Chu
1f5937f993 More for prev 2009-02-27 06:57:09 +00:00
Howard Chu
bfdb727446 Fix potential double-free of filter on abandon 2009-02-27 06:39:43 +00:00
Howard Chu
e6eff03373 ITS#5977 fix typo 2009-02-27 01:58:09 +00:00
Pierangelo Masarati
7fe91339df fix ITS#5959 fix 2009-02-27 01:45:20 +00:00
Howard Chu
7549abb063 Better fix for prev 2009-02-27 01:31:31 +00:00
Howard Chu
6345812f49 More for prev commit 2009-02-27 01:28:22 +00:00
Howard Chu
755e645da3 ITS#5977 strip duplicates out of sorted attrs 2009-02-27 01:22:23 +00:00
Howard Chu
62eeafa1d9 ITS#5977 strip duplicates out of sorted attrs 2009-02-27 01:11:33 +00:00
Howard Chu
8e5ebf4dfb Fix prev commit 2009-02-26 23:16:41 +00:00
Howard Chu
72fb4246d6 Avoid reference past end of array 2009-02-26 04:13:20 +00:00
Pierangelo Masarati
0d6e859846 fix ldap namespace (part of ITS#5974) 2009-02-24 21:09:41 +00:00
Rein Tollevik
47011649f7 ITS#5973 use the modify op to pass csn updates from syncrepl to syncprov 2009-02-24 20:11:22 +00:00
Rein Tollevik
0157ae4744 ITS#5972 Added newCookie sync info messages. 2009-02-24 20:01:08 +00:00
Rein Tollevik
5909aa56ff ITS#5969 update consumers csn when providers change. 2009-02-23 00:37:12 +00:00
Pierangelo Masarati
34b34f6b63 do not allow naming attribute repetitions in RDNs (ITS#5968) 2009-02-23 00:04:48 +00:00
Pierangelo Masarati
e1fbf8b125 fix objectClass inheritance deletion (ITS#5517, ITS#5963) 2009-02-22 23:32:00 +00:00
Pierangelo Masarati
f2a4158e0d don't allow to add distinguished values when other values of naming attributes are already present (ITS#5965) 2009-02-21 11:31:53 +00:00
Howard Chu
2024d5af85 ITS#5959 drop illegal values, only drop attr if it's left empty 2009-02-20 02:02:17 +00:00
Howard Chu
384f23f59d ITS#5959, cleanup 2009-02-20 02:01:07 +00:00
Howard Chu
1e4060891f ITS#5959 just drop illegal values, keep remainder if any. fix a_numvals. 2009-02-20 01:48:19 +00:00
Howard Chu
219c97e4a8 ITS#5724 use bd_self->be_ctrls 2009-02-20 00:57:44 +00:00
Howard Chu
ca07957697 Revert 1.91, breaks #5346. (ITS#5724) 2009-02-20 00:56:50 +00:00
Howard Chu
4d1f13b332 ITS#5960 fix rwm_bva_rewrite handling 2009-02-20 00:47:04 +00:00
Howard Chu
0693557161 ITS#5961 fix prev commit 2009-02-19 22:12:23 +00:00
Howard Chu
4e09f864a9 ITS#5959 drop attrs with illegal values 2009-02-19 02:05:28 +00:00
Howard Chu
52e0581b7f More for prev commit 2009-02-19 01:22:04 +00:00
Howard Chu
55d77a7a95 Fix spurious sizelimit exceeded err 2009-02-19 01:15:15 +00:00
Howard Chu
a692e8ad74 Fix prev commit 2009-02-19 00:41:39 +00:00
Howard Chu
58f33cbd1e ITS#5927, don't cache queries with malformed entries in results 2009-02-18 23:11:28 +00:00
Howard Chu
168fa346cc Cleanup prev commit 2009-02-18 00:17:59 +00:00
Howard Chu
6f4b2cc66e ITS#5956 only retry attaching to SHM once 2009-02-18 00:14:16 +00:00
Howard Chu
c50729c4fd ITS#5954 from jclarke@linagora.com: fix be_syncinfo order 2009-02-17 22:08:00 +00:00
Howard Chu
e841247c90 Fix corrupted CSN issue 2009-02-16 00:12:38 +00:00
Howard Chu
99e47ef47a (Temporarily) define CHECK_CSN for all LDAP_DEVEL builds 2009-02-15 23:21:28 +00:00
Howard Chu
55cc203b52 More CHECK_CSN tests 2009-02-15 23:17:45 +00:00
Howard Chu
450f352ec1 Fix compare op 2009-02-15 23:14:25 +00:00
Pierangelo Masarati
d36099aa62 cleanup (related to ITS#5760) 2009-02-15 22:16:21 +00:00
Pierangelo Masarati
8fa2f07531 do not let entryDN,subschemaSubentry slip into results when mapped out (ITS#5760) 2009-02-14 14:13:46 +00:00
Pierangelo Masarati
203eaa6204 consistently map operational attrs as well (ITS#5760) 2009-02-14 13:58:09 +00:00
Pierangelo Masarati
37e8e5a237 consistently map operational attrs as well (ITS#5760); silence warning 2009-02-14 11:11:24 +00:00
Pierangelo Masarati
8f96e64605 let special attrnames slip through (ITS#5760) 2009-02-14 10:39:45 +00:00
Pierangelo Masarati
f83b4345dd more about ITS#5940 2009-02-13 01:12:56 +00:00
Pierangelo Masarati
a83d10e4ac more about ITS#5940 2009-02-13 00:02:11 +00:00
Pierangelo Masarati
d1b415e6be rewrite info should always be set (ITS#5940) 2009-02-12 23:00:47 +00:00
Pierangelo Masarati
e06771c10a fix recursion detection (ITS#5943) 2009-02-12 22:29:13 +00:00
Howard Chu
2a3076e597 Fix typo in prev commit 2009-02-12 17:07:21 +00:00
Howard Chu
b37c553c71 Ignore hangups on removed sockets 2009-02-12 17:05:00 +00:00
Howard Chu
686ceac31f Add some asserts on CSN validity 2009-02-11 22:00:00 +00:00
Howard Chu
3bcb88e363 Silence warning in prev commit 2009-02-11 01:48:09 +00:00
Howard Chu
868ea3568c ITS#5939 plug descriptor leak 2009-02-10 20:07:24 +00:00
Howard Chu
cca8c1953e ITS#5935 fix prev commit 2009-02-10 15:13:31 +00:00
Pierangelo Masarati
a5924e3092 more on ITS#5931: handle intermediate responses and support syncrepl also in back-ldap 2009-02-10 14:27:28 +00:00
Pierangelo Masarati
5d78ca3c6a fix previous commit (and ITS#5931: now back-meta allows to proxy syncrepl) 2009-02-10 14:08:16 +00:00
Pierangelo Masarati
899398b937 partially addresses an issue with ITS#5931: intermediate responses seem to be handled, as well as entries with controls; syncrepl does not work yet 2009-02-10 13:58:09 +00:00
Howard Chu
6a838df274 ITS#5392 use lutil_debug for Statslog if HAVE_DEBUG && !HAVE_SYSLOG 2009-02-10 11:16:31 +00:00
Howard Chu
a86653c3d9 ITS#5613 compare listener URLs verbatim with serverID URLs 2009-02-10 11:09:50 +00:00
Howard Chu
ab123880df ITS#5925 fix prev commit 2009-02-10 04:32:15 +00:00
Howard Chu
0f263632a1 ITS#5935 better check for active syncrepl sessions, avoid double-free 2009-02-10 00:34:47 +00:00
Pierangelo Masarati
911b5fd42e do not assert when receiving intermediate response (partial fix to ITS#5931) 2009-02-09 14:55:56 +00:00
Howard Chu
2ee43073e9 ITS#5927 MicrosoftAD compatibility hack (YUCK) - treat '=' as '-'
if defined in an attributeoption
2009-02-09 05:38:30 +00:00
Pierangelo Masarati
bdb121c967 discard attribute values if attribute name cannot be parsed (ITS#5927) 2009-02-07 15:09:18 +00:00
Pierangelo Masarati
1bab6404f5 consistently allow explicit add/delete of superior objectClasses (ITS#5517) 2009-02-07 11:54:53 +00:00
Howard Chu
044b646445 Fix prev commit, no recursion allowed in glue_sub_attach 2009-02-05 22:59:02 +00:00
Howard Chu
84374348e5 #5925, set LINKED flag so it's possible to detect non-linked subs.
(But we don't check for this flag yet. Not sure what to really do
about improper configs after they've gotten this far...)
2009-02-05 21:54:11 +00:00
Howard Chu
1861632db1 ITS#5925, allow online glue_sub_attach to be deferred 2009-02-05 21:44:21 +00:00
Pierangelo Masarati
e96230ee97 more about ITS#5792 2009-02-05 21:11:05 +00:00
Howard Chu
f719c364c5 ITS#5922 - disable meter for non-default debug settings 2009-02-05 20:57:17 +00:00
Pierangelo Masarati
8227ed9f71 fix use of dangling pointers (ITS#5924) 2009-02-05 19:54:51 +00:00
Pierangelo Masarati
0374a8341a initialize ndn (ITS#5923) 2009-02-05 18:46:03 +00:00
Pierangelo Masarati
7cd382d931 build entry's pretty DN from parent's (ITS#5326) 2009-02-05 18:44:52 +00:00
Howard Chu
72145a7183 More for prev commit, note when closing DB 2009-02-05 10:39:47 +00:00
Howard Chu
d0515c4017 ITS#5922 with namespace changes 2009-02-05 09:38:07 +00:00
Pierangelo Masarati
260fd357df fix structuralObjectClass modification (glue, ITS#5921; w/ relax, ITS#5792) 2009-02-04 22:36:49 +00:00
Pierangelo Masarati
92576d2bc0 olcDatabase needs X-SORTED 'SIBLINGS' index 2009-02-04 20:06:28 +00:00
Howard Chu
a5ed986694 Remove redundant isGrouporMember calls 2009-02-03 02:14:53 +00:00
Howard Chu
cd0f8dec94 Fix prev commit for modify/delete 2009-02-03 01:58:57 +00:00
Howard Chu
2b08e96b53 ITS#5916 - externally callable functions are ldap_pvt, not ldap_int. 2009-02-02 21:14:34 +00:00
Pierangelo Masarati
0ded1f16d5 Allow alias dereferencing in search C API; use new API in proxy backends (ITS#5916) 2009-01-31 10:27:07 +00:00
Pierangelo Masarati
97bd3479c4 muck with flags only when needed (ITS#5898) 2009-01-30 01:29:32 +00:00
Howard Chu
5f809c45eb check mutex in connection_write() 2009-01-29 22:43:18 +00:00
Pierangelo Masarati
4572e7d721 proxy RFC4525 increment; bail out in case of unsupported extension (ITS#5912) 2009-01-29 20:30:19 +00:00
Howard Chu
e80731bc19 revert epoll edge-triggered listening, just use it to silence hangup events 2009-01-29 15:15:16 +00:00
Howard Chu
ca2aa02f09 More for prev commit: Delete obsolete functions 2009-01-28 03:33:52 +00:00
Howard Chu
461ffd51f6 Reverse lock order when detaching op 2009-01-28 02:03:07 +00:00