Luke Howard
6ae5ce5b66
Cleaner version of previous patch (keep operational attr code in backend.c)
2005-07-22 03:44:04 +00:00
Howard Chu
ddf6c7b298
Plug more memleaks
2005-07-21 23:26:40 +00:00
Luke Howard
857543c1f8
add prototype for overlay_op_walk()
2005-07-21 13:35:59 +00:00
Pierangelo Masarati
a27a32ccc4
fix arbitrary precision number display when no big number library is available
2005-07-19 21:56:15 +00:00
Pierangelo Masarati
499906f464
use appropriate format when no arbitrary precision library is available
2005-07-19 19:31:24 +00:00
Luke Howard
2007c4b8b9
Add slap_parse_ctrl() API for parsing already decoded controls; needed
...
for SLAPI internal operations to use controls
2005-07-19 08:38:46 +00:00
Hallvard Furuseth
62b653fa85
Declare component matching functions
2005-07-11 19:06:10 +00:00
Hallvard Furuseth
a1e27aae40
Format fix: Make style_strings[] global for debug output in dynacl_aci_parse()
2005-07-04 06:25:02 +00:00
Howard Chu
f84fc983fd
ITS#3774 delete backend/overlay structures after a failed add
2005-06-13 22:49:01 +00:00
Howard Chu
cd15432de6
More accesslog updates
2005-06-10 11:41:57 +00:00
Howard Chu
21b8be393a
Add slap_timestamp(), use mutex in slap_get_csn()
2005-06-07 04:12:14 +00:00
Pierangelo Masarati
00c6709896
expose macro(s) to produce string representations of arbitrary precision counters
2005-05-28 14:30:43 +00:00
Pierangelo Masarati
672c39024e
further fixing of back-ldap config; added enum_to_verb call to ease mapping enumerations to strings...
2005-05-23 14:14:34 +00:00
Kurt Zeilenga
18c3f9e093
Add manage obsolete attributes capability.
2005-05-13 23:51:43 +00:00
Kurt Zeilenga
feeeabcd68
manageDIT framework and obsolete objectclasses/DIT-content-rule override
2005-05-13 19:07:31 +00:00
Kurt Zeilenga
002f7ca062
finish global_schemacheck removal
2005-05-13 17:35:36 +00:00
Kurt Zeilenga
c83f7539ae
Mostly remove global_schemacheck. More cleanup needed in
...
bconfig.c and back-sql.
2005-05-11 22:24:18 +00:00
Howard Chu
f82e2cbf39
Make entry_encode/decode independent of slapd structure sizes
2005-05-06 21:24:49 +00:00
Pierangelo Masarati
f0122ce3fc
move discover function to frontend
2005-05-05 00:22:43 +00:00
Howard Chu
8f78d064ee
Isolate syncrepl stuff in syncrepl.c
2005-04-22 14:38:35 +00:00
Howard Chu
3f542e1868
Fixes for ordered deletes
2005-04-19 18:37:39 +00:00
Howard Chu
b5ef8ea6f4
More modify support. ACL editing works.
2005-04-19 16:39:48 +00:00
Howard Chu
d882ce511d
Generic ordered value support
2005-04-14 10:31:51 +00:00
Pierangelo Masarati
a85603c10b
more on ITS#3652
2005-04-12 22:38:54 +00:00
Pierangelo Masarati
d2dd3a616c
hide changes behind specific #ifdef, conditioned by LDAP_DEBUG; always allow access on back-dnssrv
2005-04-12 01:07:30 +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
2da2336ac6
Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy
2005-03-18 06:06:38 +00:00
Howard Chu
bc4564cac4
More back-config / back-ldif integration, added config_generic_wrapper,
...
added -F option to specify config directory
2005-03-15 08:57:34 +00:00
Howard Chu
74e38c0ad4
More verbmasks cleanup, added index unparsing
2005-03-02 16:35:59 +00:00
Howard Chu
530e93f96e
Cleanup verb/mask processing
2005-03-02 14:49:54 +00:00
Howard Chu
58865ccb38
Added general limits retrieval
2005-03-01 23:01:47 +00:00
Howard Chu
58939adc36
Added limits_unparse_one
2005-03-01 21:25:32 +00:00
Howard Chu
5acd0c574b
Added authz-regexp, slapi plugin retrieval
2005-03-01 20:08:36 +00:00
Howard Chu
21aa0d0f9f
Added oidm retrieval
2005-03-01 18:05:23 +00:00
Howard Chu
89210b7100
Added ldap_pvt_sasl_secprops_unparse, slap_sasl_secprops_unparse
2005-03-01 11:42:31 +00:00
Howard Chu
c54cd8b7f1
Added replica retrieval
2005-02-23 12:03:14 +00:00
Howard Chu
e0ca6e386e
Added acl_unparse, slap_sasl_getpolicy
2005-02-22 12:02:34 +00:00
Howard Chu
dfb6f870f6
Rearrange, merge sasl config back into main config
2005-02-20 06:47:54 +00:00
Pierangelo Masarati
7cd731ec56
"ultimate" fix of glued databases controls checking; other minor fixes
2005-01-30 22:02:37 +00:00
Pierangelo Masarati
cd797f8089
avoid cycling twice in the control list
2005-01-29 18:16:38 +00:00
Kurt Zeilenga
e826914a88
Less kludgy willing-to-perform check for recognized and appropriate
...
global controls
2005-01-27 06:45:20 +00:00
Pierangelo Masarati
2c801d9c2a
move compare to frontend (disabled by default, only invoked if backend doesn't provide hook); honor ITS#3472 (disclose access check); fix ITS#3521 as well (check access to hasSubordinates); fix a problem in backend_attribute() with operational attrs; add backend_access() helper
2005-01-26 23:30:57 +00:00
Pierangelo Masarati
5b193c218f
fix dynamically registered controls check; NOTE: controls registered by global overlays don't work yet; better leave Kurt's kludge in place right now
2005-01-25 19:39:56 +00:00
Howard Chu
fcf787dc0f
Rewritten str2entry, added str2entry2
2005-01-24 03:41:51 +00:00
Howard Chu
47e7948007
Schema caching for slaptools
2005-01-22 20:18:38 +00:00
Howard Chu
93c56951ed
Use a single sessionlog per context, delete sid
2005-01-13 19:51:01 +00:00
Howard Chu
bf27ba977b
Deleted syncrepl updatedn
2005-01-13 18:51:29 +00:00
Kurt Zeilenga
7dc0b02fc9
Replace backend.h with backends.c, generated by config.status.
2005-01-09 08:42:44 +00:00
Pierangelo Masarati
6f2ffa30ed
fix ACL value checking for bind (ITS#3446)
2005-01-07 13:50:38 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +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
Jong Hyuk Choi
5162c4477b
adaptive caching code
2004-12-14 17:25:35 +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
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
Howard Chu
423c53d267
Add fe_op_abandon, call it in connection_abandon()
2004-12-09 21:17:29 +00:00
Pierangelo Masarati
af7079d32b
declare oc_bvfind_undef()
2004-12-08 19:06:10 +00:00
Howard Chu
99f2d0b49b
Let slap_get_commit_csn return the current CSN as well
2004-12-08 00:46:14 +00:00
Kurt Zeilenga
d616bd4ff8
cleanup
2004-12-07 18:40:47 +00:00
Howard Chu
dfb8c86dc3
Deleted subordinate keyword in favor of glue overlay
2004-12-04 20:08:56 +00:00
Howard Chu
5c8fd8bf11
Rename syncrepl_rq to slapd_rq, move to daemon.c
2004-12-03 16:49:23 +00:00
Sang Seok Lim
decfd7217f
1) <all> type component reference support
...
2) nibble type memory support when decoding
3) description type object identifier support
4) OPTIONAL, DEFAULT support in certificate decoder/extractor/matching
5) Misc bug fix
2004-11-29 20:21:38 +00:00
Howard Chu
a88c78d64e
Remove syncinfo si_UUID_dn, make consumer use modify/modrdn instead of
...
just deleting and adding modified entries.
2004-11-29 05:56:51 +00:00
Howard Chu
b4eceddb52
Add slap_find_control_id
2004-11-27 11:45:07 +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
c2b339d456
More syncprov fixes. test019 now passes.
2004-11-26 09:40:22 +00:00
Pierangelo Masarati
e891dbcdc4
fix dynacl compile
2004-11-26 00:34:48 +00:00
Howard Chu
90cc409325
Split Operation into Opheader and op
2004-11-25 22:59:00 +00:00
Jong Hyuk Choi
83fd442ded
Omitted from the original buddy allocator commit
2004-11-24 17:27:25 +00:00
Howard Chu
50ed4465fb
slap_known_controls is now an array. (control.c r1.117)
2004-11-23 14:45:36 +00:00
Howard Chu
47dd8d8732
Dynamic control management
2004-11-23 13:08:45 +00:00
Howard Chu
c8f49d0337
Add SLAP_EXOP_WRITES flag, expose flags in Operation,
...
add exop_is_write() macro for detecting exops that modify a target entry
2004-11-19 22:19:13 +00:00
Pierangelo Masarati
db4f223c66
improve overlay helpers
2004-11-13 17:20:24 +00:00
Howard Chu
1d35c8f8ec
ITS#3376 Fix prev commit, handling of replogfile
2004-11-05 07:10:44 +00:00
Sang Seok Lim
71e78dd7f9
Component Matching module
...
See "contrib/slapd-modules/comp_match/README" to understand
what's the purpose of this patch is and how to use it.
2004-10-27 19:37:02 +00:00
Jong Hyuk Choi
4efd705cc3
syncrepl consistency patch
2004-10-09 09:26:16 +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
Howard Chu
bf7c7a22d6
ITS#2661: configurable substring index lengths
...
ITS#2588: use subany to help long subinitial/subfinal matches
2004-09-28 02:51:00 +00:00
Jong Hyuk Choi
5c0581b184
Modified @oc supprot code to the share anlist routines; Revised anlist routines
2004-09-23 02:48:14 +00:00
Luke Howard
eb9720c802
Add register_certificate_map_function() native plugin API for registering
...
alternate X.509 peer normalization function
2004-09-20 03:52:39 +00:00
Jong Hyuk Choi
ffbb5d4ed2
*oc support in attr list
2004-09-18 02:07:41 +00:00
Pierangelo Masarati
a637926bf2
use GMP for multiple precision in counters
2004-09-11 16:15:53 +00:00
Pierangelo Masarati
7dc5a0bb83
fix negative counters; prepare for imrpved count of sent data
2004-09-11 11:05:41 +00:00
Jong Hyuk Choi
98dc97bcb9
memory leak fixes
2004-09-11 02:02:09 +00:00
Kurt Zeilenga
3869e3b84d
Add localSSF slapd.conf(5) directive to set SSF associated
...
with ldapi:// sessions.
2004-09-10 22:35:24 +00:00
Kurt Zeilenga
741f9ea383
Add initial dnSubtreeMatch.
...
Should reuse other DN routines.
Need to add various other DN matching rule functions.
This commit, combined with entryDN and slapcat -a, should
fully address ITS#3112.
2004-09-09 02:07:27 +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
Sang Seok Lim
2af6457771
This patch is for a component filter. please refer ITS#3260 for detail
...
and "implementing GSER and Component Matching" in ODD 2004.
All codes are #ifdef'd with LDAP_COMP_MATCH.
test031-component-filter works correctly only when the LDAP_COMP_MATCH macro is set.
To disable it, set AC_WITH_COMP_MATCH "no" in "openldap_src/tests/run.in".
2004-08-26 00:06:39 +00:00
Luke Howard
ea6f5bad65
This patch fixes some subtle interactions between SLAPI and syncrepl. Due to
...
SLAPI always assigning connection and operation IDs of zero for internal
operations, such operations would cause a stale contextCSN to be returned from
slap_get_commit_csn(). As a result, SLAPI internal updates would be invisible
to replicas until an external update was made. Also, SLAPI internal operations
never called slap_graduate_commit_csn() which leaked pending CSNs.
Also included in this patch is a general cleanup of some of the SLAPI code.
Note that we need to use a separate mutex on conn_nextid to avoid a deadlock
where a post-operation plugin tries to acquire connections_mutex, having locked
the per-connection mutex, while the listener thread tries to acquire the
per-connection mutex (having locked connections_mutex). connection.c needs to
be fixed to acquire mutexes in the same order.
2004-08-25 11:52:55 +00:00
Pierangelo Masarati
00f1c085cf
move call to frontend API
2004-08-24 09:29:11 +00:00
Pierangelo Masarati
6b8fd66364
split entry_free in entry_clean ...
2004-08-20 12:01:15 +00:00
Howard Chu
91033d6552
Reworked fix for ITS#3140 - add access parameter to backend_attribute
2004-08-18 17:14:22 +00:00
Pierangelo Masarati
05b81e623d
cleanup attr flags; provide a helper
2004-08-06 17:29:59 +00:00
Pierangelo Masarati
cd9a9c628d
frontend stuff moved into a database structure, essentially to allow overlays to be processed before database selection; passes all tests (ITS#3080)
2004-07-26 21:26:34 +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
d02a8cab65
revert previous change; anticipate backend_operational before overlays callbacks (thanks, Howard); rework overlays cycle to allow callbacks to free themselves (thanks Howard)
2004-07-14 00:42:23 +00:00
Howard Chu
2954a90483
Add backend_startup_one()
2004-07-12 20:27:33 +00:00
Sang Seok Lim
ad19032bf2
This patch provides support for rdnMatch matching rule and RDN syntax in
...
RFC 3687. For now, both the attribute and assertion values are considered
as RDNs. Refer to ITS#3207 to find related discussion.
2004-06-29 23:36:58 +00:00