Commit Graph

6183 Commits

Author SHA1 Message Date
Pierangelo Masarati
8d14165274 fix ITS#3464 2005-01-08 10:59:32 +00:00
Pierangelo Masarati
83fc428a44 make sure the attribute exists 2005-01-08 09:59:53 +00:00
Pierangelo Masarati
9d5d9cc2ec fix mix memory issues and cleanup 2005-01-08 09:59:16 +00:00
Pierangelo Masarati
e5eaef6248 fix previous commit 2005-01-08 09:51:29 +00:00
Pierangelo Masarati
5422345e55 major namespace cleanup & minor fixes 2005-01-08 09:20:54 +00:00
Pierangelo Masarati
4d8267595f retry on ldap_result() with a timeout 2005-01-08 09:19:51 +00:00
Pierangelo Masarati
4b4bdc6bf6 ...but rather here: GLUE entries would remain such until the server was restarted 2005-01-08 09:13:16 +00:00
Pierangelo Masarati
8cfda61cb4 cosmetic changes (the problem was not there) 2005-01-08 09:12:35 +00:00
Pierangelo Masarati
a4a9d9df72 beware of URIs that are not parsed or rebuilt successfully 2005-01-08 09:11:53 +00:00
Kurt Zeilenga
1c5d78d8dd Add "disclose" and "manage" ACL levels (but no meat).
Disclose permission intended to be used for "disclose on error"
(as in our present "none"), none being "don't disclose on error".

Manage permission is intended to be used to allow DSA IT management
(e.g., changing entryCSNs, structuralObjectClass, etc.).
2005-01-08 05:26:18 +00:00
Kurt Zeilenga
1ad97bf656 Cleanup 2005-01-08 05:25:58 +00:00
Kurt Zeilenga
5593d17582 s/RFC2459/RFC3280/ 2005-01-07 18:14:49 +00:00
Kurt Zeilenga
c72452dce0 Add X.520(4th)'s pseudonym 2005-01-07 18:11:05 +00:00
Pierangelo Masarati
f40527ef49 fix ACL value checking for bind (ITS#3446) 2005-01-07 13:57:16 +00:00
Pierangelo Masarati
6f2ffa30ed fix ACL value checking for bind (ITS#3446) 2005-01-07 13:50:38 +00:00
Pierangelo Masarati
60a1ae56e4 fix value match 2005-01-07 13:37:22 +00:00
Pierangelo Masarati
845cc3d6ee revert unintended commit 2005-01-05 16:25:12 +00:00
Pierangelo Masarati
f5936eb7fc minor naming cleanup; improvements to DN mapping layer; major docs update 2005-01-05 16:23:00 +00:00
Pierangelo Masarati
c1e4eeb23b fix max arg number for limits 2005-01-03 18:20:37 +00:00
Pierangelo Masarati
2ed3625a13 fix group limits when objectClass/attribute are provided 2005-01-03 18:09:03 +00:00
Pierangelo Masarati
edc9b936d0 mostly copyright cleanup; removal of unnecessary headers 2005-01-03 10:51:59 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Kurt Zeilenga
4b0a9be3b5 More cr statements 2005-01-01 20:43:42 +00:00
Kurt Zeilenga
477e1309d1 Update notice. 2005-01-01 20:38:40 +00:00
Pierangelo Masarati
642f7aed50 apply patches 1,2,3,5,8 (with changes) from ITS#3432) 2005-01-01 16:21:55 +00:00
Pierangelo Masarati
8ec78171d3 trim comment 2005-01-01 16:14:40 +00:00
Pierangelo Masarati
a8547f5945 fix comment 2005-01-01 16:14:11 +00:00
Pierangelo Masarati
9fbc616ac9 cleanup 2005-01-01 16:13:25 +00:00
Pierangelo Masarati
83dc46d1bf set LDAPURLDesc lud_scope to LDAP_SCOPE_DEFAULT if set to LDAP_SCOPE_BASE, so no trailing '??base' is added to referrals... 2005-01-01 16:12:09 +00:00
Pierangelo Masarati
250c096713 rework internal handling of strings to minimize temporary allocation; impacts rewrite() and rewrite_session() behavior in case of no rewriting; set LDAPURLDesc lud_scope to LDAP_SCOPE_DEFAULT if set to LDAP_SCOPE_BASE, so no trailing '??base' is added to referrals... 2005-01-01 16:11:38 +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
c9156d7995 cleanup 2004-12-31 12:02:35 +00:00
Kurt Zeilenga
3ea0f0cd0b Move test.schema to tests/data 2004-12-31 04:32:49 +00:00
Kurt Zeilenga
951159447b Cleanup 2004-12-30 19:15:52 +00:00
Pierangelo Masarati
f1427fd871 remap compare attribute; fix erroneous pointers; minor cleanup 2004-12-30 17:46:38 +00:00
Pierangelo Masarati
ba6ac023ad works now 2004-12-30 17:45:07 +00:00
Pierangelo Masarati
7b6d707d92 TODO: rewrite/remap the newRDN and related stuff both in back-meta and in rwm overlay 2004-12-30 15:06:58 +00:00
Pierangelo Masarati
bf2653ef8b use normalized new superior 2004-12-30 14:49:30 +00:00
Pierangelo Masarati
889b20e358 fix error return when there's no write access to naming attributes (ITS#3450) 2004-12-29 13:45:16 +00:00
Pierangelo Masarati
4b8e57e11f rework operations in a table-driven manner; better exception handling 2004-12-29 12:31:06 +00:00
Pierangelo Masarati
564d1a6aff fix previous commit (for compilers that require at least one statement after a label) 2004-12-28 22:48:43 +00:00
Kurt Zeilenga
4a618959bb PROTOS fix 2004-12-28 19:05:52 +00:00
Pierangelo Masarati
7a1537c640 list permissive in supported controls (ITS#3453) 2004-12-28 10:54:49 +00:00
Pierangelo Masarati
7198e9e4b9 fix typos leading to memory issues 2004-12-23 10:43:58 +00:00
Sang Seok Lim
263b8e72d5 Bug fix
support for multi-values attribute in Component Matching
2004-12-23 05:44:52 +00:00
Sang Seok Lim
65026f4300 Adjusting an initial buffer size for x509Certificate 2004-12-22 01:24:12 +00:00
Sang Seok Lim
e3ab329d4e Fixing bug in extensible filter indexing 2004-12-22 01:23:27 +00:00
Sang Seok Lim
79d9ef9c87 Buf size adjustment 2004-12-21 04:46:44 +00:00
Sang Seok Lim
94ed6b410d Cleanup unused fields of ComponentDesc 2004-12-21 04:46:21 +00:00
Jong Hyuk Choi
706e7f819a misc cleanup 2004-12-20 22:07:17 +00:00
Jong Hyuk Choi
35c19ef342 misc fix for the component indexing commit 2004-12-20 20:28:30 +00:00
Sang Seok Lim
ccd3acc98e return value mising 2004-12-20 04:48:16 +00:00
Sang Seok Lim
28a967584d Component Indexing support for BDB
- only for equality matching
- only components of ASN.1 types used in an X.509 certificate can be indexed
(composite types except for RDN and DN are not supported yet)
- how to use
index [attribute name].[component reference] eq
Ex)
index userCertificate eq
index userCertificate.toBeSigned.issuer.rdnSequence eq
index userCertificate.toBeSigned.serialNumber eq
index userCertificate.toBeSigned.version eq
2004-12-20 03:31:44 +00:00
Howard Chu
b3dfae907f Remove obsolete comment 2004-12-17 10:24:54 +00:00
Howard Chu
a2a1ffb05d Revert previous, unnecessary 2004-12-17 09:48:26 +00:00
Howard Chu
090270e965 Use of bzero is not portable 2004-12-16 19:52:38 +00:00
Jong Hyuk Choi
238f6333d2 ITS#3445 2004-12-16 15:59:35 +00:00
Howard Chu
8d4281d843 ITS#3443 fix shutdown test 2004-12-16 13:48:36 +00:00
Jong Hyuk Choi
5162c4477b adaptive caching code 2004-12-14 17:25:35 +00:00
Jong Hyuk Choi
273052b573 adaptive caching implementation 2004-12-14 17:22:22 +00:00
Jong Hyuk Choi
d6410c9207 zone invalidation/locking implementation 2004-12-14 03:51:09 +00:00
Sang Seok Lim
3492452a5b 1) <select> and <content> type component reference support
2) attribute aliasing support
- x509CertificateIssuer
- x509CertificateSerial
- x509CertificateIssuerAndIssuer
3) AuthorityKeyIdentifier support(one of certificate extension)
4) Misc. improvement
- integrate OID and its decoder mapping table
- normalize and validate the values of both component asserions and
  extracted components
5) Misc. bug fix
2004-12-13 16:26:58 +00:00
Pierangelo Masarati
c90c9f3689 don't try to send results on abandon (ITS#3434) 2004-12-12 23:23:00 +00:00
Howard Chu
4ea68d5e8d Fix playlog uninit'd fields 2004-12-12 07:00:58 +00:00
Howard Chu
edde8c99d8 Fix ITS#3425, use less restrictive search filter when getting info about
an old entry that must be deleted.
2004-12-12 06:09:02 +00:00
Pierangelo Masarati
5a920206dd more cleanup 2004-12-11 18:36:31 +00:00
Pierangelo Masarati
6fdb803bde cleanup 2004-12-11 18:04:38 +00:00
Pierangelo Masarati
2f5e17d056 improve usability of global ovrlays for write operations; may need to anticipate SLAPI accordingly. More work needed for add (overlays need to understand they're global and call slap_mods2entry() explicitly) 2004-12-11 17:48:15 +00:00
Pierangelo Masarati
57c4f45977 work out an issue with chk_referrals and back-relay/rwm; this looks like the best compromise; minor cleanup 2004-12-11 17:37:21 +00:00
Pierangelo Masarati
ed0949c7e7 work out an issue with chk_referrals and back-relay/rwm; this looks like the best compromise 2004-12-11 17:36:25 +00:00
Jong Hyuk Choi
7e310a62d8 data struct for zone allocator 2004-12-11 17:16:58 +00:00
Pierangelo Masarati
fa4918ec1e (temporary?) fix to ITS#3434 2004-12-11 16:28:45 +00:00
Pierangelo Masarati
bd166fbcb8 rework fix for NULL be_pcl_mutexp 2004-12-11 15:44:30 +00:00
Pierangelo Masarati
b498a9222a better fix to ITS#3433 2004-12-11 15:41:50 +00:00
Pierangelo Masarati
0fe40e4ebd temporarily work around ITS#3433; need to understand why it happens and how to fix it correctly 2004-12-11 14:06:21 +00:00
Pierangelo Masarati
fe30850765 required by global overlay write funcs... 2004-12-11 12:53:47 +00:00
Howard Chu
73bab2b619 Moved cookie validation into slap_parse_sync_cookie so consumer uses it too 2004-12-10 03:18:33 +00:00
Howard Chu
ccdbb52266 Don't reject invalid cookies, just ignore them. partially revert prev. 2004-12-10 02:51:34 +00:00
Howard Chu
9a6e040373 Fix, don't record psearch until after it has been validated 2004-12-10 01:50:16 +00:00
Howard Chu
480394acef Fix abandon, only drop our cloned ops, not real frontend ops 2004-12-10 01:35:34 +00:00
Pierangelo Masarati
d3210693d2 minor cleanup 2004-12-09 23:11:08 +00:00
Jong Hyuk Choi
10f8eae366 updated zone tree structure; added debug info 2004-12-09 22:32:19 +00:00
Howard Chu
19abba6cc2 Fix abandon processing 2004-12-09 22:21:26 +00:00
Howard Chu
948fa42499 Fix prev commit 2004-12-09 21:49:24 +00:00
Howard Chu
423c53d267 Add fe_op_abandon, call it in connection_abandon() 2004-12-09 21:17:29 +00:00
Howard Chu
dced3cca04 Fix typo in prev commit 2004-12-09 21:16:16 +00:00
Howard Chu
dc7ec5c6db Fix delete/refresh switch 2004-12-09 20:30:48 +00:00
Howard Chu
41aaaf0b8d Persist mode fixes 2004-12-09 19:52:30 +00:00
Jong Hyuk Choi
c88afd1e17 include zn_malloc.c 2004-12-09 17:35:05 +00:00
Jong Hyuk Choi
670e418064 minor cleanup 2004-12-09 16:43:36 +00:00
Jong Hyuk Choi
10115c2f18 zone-based memory allocator for adaptive caching 2004-12-09 16:38:25 +00:00
Howard Chu
cf137fc9ef Fix 1.48 change 2004-12-09 09:20:11 +00:00
Howard Chu
c83a74f4f3 Add better validation of received cookie csn 2004-12-09 08:49:54 +00:00
Howard Chu
4b736945be A better approach for detach_op 2004-12-09 08:28:12 +00:00
Howard Chu
bbe93b5141 ITS#3426, copy group ACL cache to saved Op 2004-12-09 08:14:57 +00:00
Howard Chu
72490da301 Fix ITS#3424 2004-12-08 20:55:35 +00:00
Pierangelo Masarati
989cba9de5 cleanup; add entryCSN 2004-12-08 19:40:46 +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
ccc54a2994 - consistently honor multiple referrals
- return those that failed as referrals
- fix handling of some operational attributes
- fix URI rebuilding (use default scope)
- make copies of o_req_dn/o_req_ndn in case other overlays muck with them
2004-12-08 19:14:57 +00:00
Pierangelo Masarati
fefa59059d minor cleanup 2004-12-08 19:11:27 +00:00