Pierangelo Masarati
cb3248f173
cleanup
2006-09-01 10:01:36 +00:00
Howard Chu
78172aa0cf
Entry/Attribute struct caching, to minimize malloc fragmentation
...
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Pierangelo Masarati
f5c308bdb6
more thread monitoring reworking; connection_pool_max may change via back-config
2006-08-18 10:26:03 +00:00
Pierangelo Masarati
a05a8972b2
fix previous commit
2006-08-17 16:32:11 +00:00
Pierangelo Masarati
9327af55ca
add tasklist monitoring; review runqueue monitoring
2006-08-17 16:10:47 +00:00
Kurt Zeilenga
d9720d50dd
Some LDAP_DEVEL cleanup
2006-08-15 19:36:54 +00:00
Pierangelo Masarati
b1faecd35c
process callbacks first; they are supposed to remove modifications they successfully handled, so that regular modify function can complain if any unhandled modification remains
2006-08-05 15:51:13 +00:00
Pierangelo Masarati
373ded8d24
add URI list resorting feature (ITS#4524)
2006-05-06 16:15:25 +00:00
Kurt Zeilenga
eb9a3c1876
unifdef -DSLAP_ACL_HONOR_DISCLOSE
...
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Kurt Zeilenga
cc2ad31bba
remove more LDBM cruft
2006-04-11 18:56:11 +00:00
Hallvard Furuseth
da0c0360e4
Warnings: Unused vars. funcptr=0, not =NULL. if(b=...) -> if((b=...) != NULL).
2006-04-02 19:54:24 +00:00
Hallvard Furuseth
909f5e6ae9
Cast %ld format arg to long
2006-04-02 16:38:46 +00:00
Pierangelo Masarati
7cba7d0b39
don't use uninitialized mutexes
2006-03-31 23:07:48 +00:00
Howard Chu
0af1940f3f
plug leaks
2006-03-31 12:20:04 +00:00
Howard Chu
8cbd5ecc13
Cleanup
2006-03-31 10:45:23 +00:00
Pierangelo Masarati
9019ea74ee
fix leak
2006-03-19 23:26:12 +00:00
Kurt Zeilenga
8c8ea049cb
Macro cleanup
2006-02-16 05:01:29 +00:00
Pierangelo Masarati
44abcdfa2f
fix previous commit
2006-01-21 16:08:01 +00:00
Howard Chu
797cffb9b3
Add monitor_entry_stub() for creating entries. Fix conn peer/local mismatch.
2006-01-12 08:40:09 +00:00
Pierangelo Masarati
21be582df7
use a placeholder to mark that there is no process in the runqueue (ITS#4318)
2006-01-09 15:45:59 +00:00
Pierangelo Masarati
12b6e804a5
fix search of specific connection (ITS#4300)
2006-01-05 21:25:06 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
0fa9578f48
handle when URIs are null
2005-12-26 16:55:50 +00:00
Kurt Zeilenga
d24a5f6f0f
Update description
2005-11-27 02:10:01 +00:00
Howard Chu
21f91438b6
Drop monitor_back_db_config()
2005-11-26 23:35:45 +00:00
Pierangelo Masarati
ea83f6a669
check sizelimit in frontend (ITS#4213)
2005-11-25 00:28:33 +00:00
Pierangelo Masarati
01bea97a26
don't leak temporary URLs
2005-11-20 01:58:19 +00:00
Pierangelo Masarati
7fa4b159bf
fix dangling resources issue in slapd-ldap; completely rework slapo-chain to fix the resource leak/concurrency issue; add support for multiple well-known URIs to set credentials for, and deal with unknown URIs anonymously; similar reworking and cleanup for slapd-meta
2005-11-19 15:00:50 +00:00
Pierangelo Masarati
55c52c5c72
better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier)
2005-11-18 00:00:39 +00:00
Pierangelo Masarati
1762f730fc
partially revert commit
2005-11-16 00:49:54 +00:00
Pierangelo Masarati
6495247869
initialize back-monitor only if configured (so resources get released at shutdown)
2005-11-14 19:28:28 +00:00
Pierangelo Masarati
a6453f28f8
silence warnings
2005-11-06 23:27:09 +00:00
Pierangelo Masarati
2f63454973
don't leak on exit
2005-11-03 15:08:23 +00:00
Pierangelo Masarati
bd5706d8e5
complete fix of slapd-monitor log modify (ITS#4091)
2005-10-15 17:37:18 +00:00
Pierangelo Masarati
57df4bf9c2
fix log level modification via slapd-monitor (ITS#4091)
2005-10-15 15:43:53 +00:00
Pierangelo Masarati
b90a496187
fix previous commit (modifyTimestamp didn't get appended to the list); add opattrs to back-monitor mods
2005-10-14 10:02:50 +00:00
Kurt Zeilenga
6db7e605ee
Align Operation buffers using LBER_ALIGNED_BUFFER
2005-10-12 23:17:28 +00:00
Pierangelo Masarati
3093f97767
fix messages in previous commit
2005-09-08 14:32:09 +00:00
Pierangelo Masarati
5f20374de1
reject registrations when back-monitor is not configured
2005-09-08 14:23:35 +00:00
Pierangelo Masarati
9baa6f4c99
don't let back-monitor appear __after__ a database that hides it; currently, only <suffix ""> :-( ; make error messages more descriptive
2005-08-30 10:38:11 +00:00
Pierangelo Masarati
9f1703d0d3
more (in)sanity stuff
2005-08-08 22:49:54 +00:00
Hallvard Furuseth
7843e7fbb2
Destroy monitor_info.mi_cache_mutex
2005-08-08 21:29:13 +00:00
Pierangelo Masarati
c984c229d6
plug more one-time leaks; rearrange subsystems setup
2005-08-08 20:45:10 +00:00
Pierangelo Masarati
b286c9264b
plug another one-time leak
2005-08-08 20:01:04 +00:00
Pierangelo Masarati
47d39181d6
cleanup
2005-08-06 21:03:26 +00:00
Luke Howard
12d006d17d
Add o_no_schema_check to operation structure
...
entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check
2005-08-01 15:26:13 +00:00
Pierangelo Masarati
a91ebfac79
plug leaks
2005-07-25 20:47:39 +00:00
Pierangelo Masarati
4655f12858
same for overlays; fix typo ("Overlays" instead of "Overlay" in parent entry)
2005-07-23 15:55:29 +00:00
Pierangelo Masarati
5aadfdfedb
add back-config suppor to back-monitor; advertize what backends provide back-config support; HEADS-UP: changed monitor OIDs (reflected in OID repository)
2005-07-23 15:29:16 +00:00
Pierangelo Masarati
3df83d7089
destroy cache on exit
2005-07-20 14:59:56 +00:00
Pierangelo Masarati
77ad940c10
more on deadlock/dangling pointers
2005-07-20 00:50:35 +00:00
Pierangelo Masarati
5748d3ff72
connection_client leave c_peer_* fields NULL
2005-07-20 00:49:33 +00:00
Pierangelo Masarati
0f18805d65
Memory cleanup
2005-07-19 14:39:43 +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
ea5952342c
fix some unclean unlock issues; fix potential leaks
2005-07-17 22:19:20 +00:00
Pierangelo Masarati
27eeb15fda
fix generated connection entries
2005-07-17 22:18:45 +00:00
Pierangelo Masarati
ea85bcadfc
remove #defines moved to frontend
2005-06-05 22:58:18 +00:00
Pierangelo Masarati
f505aec4bc
publish updateref...
2005-05-21 14:54:11 +00:00
Kurt Zeilenga
feeeabcd68
manageDIT framework and obsolete objectclasses/DIT-content-rule override
2005-05-13 19:07:31 +00:00
Kurt Zeilenga
ccbf18b7d0
Don't split description across multiple values.
2005-05-09 19:07:42 +00:00
Pierangelo Masarati
dde3f1ad3f
cleanup ident string
2005-05-06 17:11:40 +00:00
Pierangelo Masarati
2c8829b8ca
add "monitorIsShadow" (ITS#3696); more to come (see discussion)
2005-05-04 09:27:22 +00:00
Pierangelo Masarati
8045a0882e
anticipate monitor schema definition
2005-04-29 20:29:59 +00:00
Pierangelo Masarati
50f3fe14db
perform internal operations as rootdn, if any
2005-04-29 01:42:24 +00:00
Pierangelo Masarati
cb291bb940
refactor ABI for arbitrary attribute/entry/callback registration; propagate pointers to Operation and SlapReply structures to entry create/update/modify callbacks; cleanup
2005-04-27 21:30:35 +00:00
Pierangelo Masarati
fee10862c3
fix attributeType DESC; #ifdef the legacy monitoredInfo
2005-04-27 18:33:22 +00:00
Pierangelo Masarati
27adc4b1a3
explode connection monitored info into dedicated attributes
2005-04-27 17:51:54 +00:00
Pierangelo Masarati
145221472e
cleanup entity registration
2005-04-27 02:43:38 +00:00
Howard Chu
f01bb8d9ab
Tweak runqueue reporting
2005-04-23 16:58:38 +00:00
Howard Chu
cd1bdf99e2
Add task names to runqueue entries. Display running tasks under
...
cn=Runqueue,cn=Threads,cn=Monitor
2005-04-23 00:28:43 +00:00
Pierangelo Masarati
17dbf7a49f
fix previous commit
2005-04-21 22:57:49 +00:00
Pierangelo Masarati
5fe42e8853
either pass normalized values to attr_merge*() or call attr_merge_normalize*() (fixes ITS#3659)
2005-04-21 21:05:38 +00:00
Pierangelo Masarati
09e4da6bef
check parameters
2005-04-09 00:11:31 +00:00
Pierangelo Masarati
b109d018eb
honor disclose
2005-04-08 23:33:03 +00:00
Pierangelo Masarati
64ae69f6df
honor disclose and search access of searchBase; fix potential lock issue; honor abandon
2005-04-08 23:20:37 +00:00
Howard Chu
0076b40c32
Convert backendInfo/backendDB to STAILQs
2005-03-24 05:13:31 +00:00
Howard Chu
119cbcaba4
Schema unparsing support
2005-03-21 08:31:48 +00:00
Howard Chu
fba9235d0f
Add HARDCODE schema flags
2005-03-21 00:22:54 +00:00
Howard Chu
e509e81ecd
Fix slapi plugin info
2005-03-01 20:05:20 +00:00
Pierangelo Masarati
fbb2b75ace
matched values is "global"
2005-01-30 22:04:02 +00:00
Pierangelo Masarati
42b7753803
should we touch timestamps when internally updating?
2005-01-18 09:48:53 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Pierangelo Masarati
10ce37aa31
fix schema (1.3.6.1.4.1.4203.666.3.13 for 'monitoredObject' was already assigned to 'lastmod')
2004-12-08 19:21:37 +00:00
Pierangelo Masarati
fefa59059d
minor cleanup
2004-12-08 19:11:27 +00:00
Pierangelo Masarati
5769f419db
cleanup previous commit (still temporary, need to define dedicated attributeTypes)
2004-12-02 12:32:36 +00:00
Howard Chu
5f99f7c991
More migration of syncrepl from frontend to syncprov overlay
...
define OPERATION_BUFFER_SIZE for dummy Operations
2004-11-27 00:57:37 +00:00
Howard Chu
90cc409325
Split Operation into Opheader and op
2004-11-25 22:59:00 +00:00
Pierangelo Masarati
6ff5fce743
FIXME: needs work/cleanup
2004-11-17 19:42:19 +00:00
Pierangelo Masarati
b29bf83e7e
remove back-*/external.h
2004-11-15 19:45:49 +00:00
Pierangelo Masarati
fcf89c9a3d
add directory in labeledURI for back-bdb/hdb; put overlays in database entry's children
2004-11-15 15:46:56 +00:00
Pierangelo Masarati
2d5ec082dd
cleanup
2004-11-15 14:17:08 +00:00
Pierangelo Masarati
5a91da6624
don't list multiple occurrences of the same overlay
2004-11-15 14:13:54 +00:00
Pierangelo Masarati
9c550e7235
first step towards removing back-*/external.h
2004-11-13 18:52:44 +00:00
Pierangelo Masarati
db4f223c66
improve overlay helpers
2004-11-13 17:20:24 +00:00
Pierangelo Masarati
f036fff9e5
further cleanup
2004-11-13 14:57:39 +00:00
Pierangelo Masarati
34478b3ca6
more on monitor customization
2004-11-12 12:54:42 +00:00
Pierangelo Masarati
f41f1aaac0
initialize var
2004-11-12 12:52:42 +00:00
Pierangelo Masarati
166f9afa34
check validity of naming context
2004-11-12 12:51:53 +00:00
Pierangelo Masarati
79f744f30b
rework static backend initialization
2004-11-11 00:39:19 +00:00
Pierangelo Masarati
70884b8860
allow to register entries and entry callbacks; radical namespace cleanup
2004-11-08 18:52:27 +00:00