Commit Graph

872 Commits

Author SHA1 Message Date
Kurt Zeilenga
6db7e605ee Align Operation buffers using LBER_ALIGNED_BUFFER 2005-10-12 23:17:28 +00:00
Howard Chu
a79ae8da3e Better fix for req_pwdexop_s 2005-10-06 20:34:30 +00:00
Howard Chu
ccc1cb5fb3 Fix req_pwdexop definition 2005-10-06 20:04:12 +00:00
Howard Chu
62f7c85be4 Add slap_overinfo oi_origdb field to point to original BackendDB 2005-10-02 01:23:09 +00:00
Pierangelo Masarati
fb3fc81c7e improved authz_backend detection for internal databases (ITS#4018) 2005-09-10 09:56:29 +00:00
Kurt Zeilenga
b707e1e38c Move uidNumber and gidNumber into slapd(8)
to ensure they are available for ldapi://.
2005-09-05 01:08:40 +00:00
Pierangelo Masarati
6cb8b14435 allow undefined attrs to be "proxied" (ITS#3959) 2005-08-25 21:14:26 +00:00
Pierangelo Masarati
849ecbcf1f allow options in dynacl configuration 2005-08-22 16:28:50 +00:00
Pierangelo Masarati
4bc8197dcb further ACI factoring out & confinement 2005-08-22 16:03:35 +00:00
Hallvard Furuseth
94747c50db SLAP_OP_* enums are always used. Delete #ifdef SLAPD_MONITOR around definition. 2005-08-21 00:00:09 +00:00
Pierangelo Masarati
00b5d8c1bc allow objectClass checking including sups 2005-08-20 19:01:53 +00:00
Pierangelo Masarati
e066ec210e merge sml_managing into sml_flags (SLAP_MOD_MANAGING) 2005-08-18 08:48:10 +00:00
Pierangelo Masarati
b2284183f9 more on manage 2005-08-17 22:06:46 +00:00
Pierangelo Masarati
ec49990d51 ACIs almost entirely factored out of slapd
Added OpenLDAPaciSyntax based on ITS#3877 by Nikita Shulga
aci_mask() doesn't exploit the normalized value yet (next step)
The case #define SLAPD_ACI_ENABLED / #undef SLAP_DYNACL should
be removed
2005-08-17 17:14:57 +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
Pierangelo Masarati
d10250d9f6 add authzSyntax for authzTo/authzFrom attributes; add X-ORDERED 'VALUES' if support for ordered_value_{validate,pretty,normalize} is present; exploit normalization in slap_parseURI (only #ifdef LDAP_DEVEL) 2005-08-11 23:52:17 +00:00
Pierangelo Masarati
2b93e9b376 wrap validate/pretty/normalize for ordered values (only #ifdef LDAP_DEVEL) 2005-08-11 23:35:15 +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
Luke Howard
cb786e3330 Remove SLAPI pblock from operation structure 2005-07-22 07:54:17 +00:00
Luke Howard
44bb946436 More use of SLAPI accessor macros 2005-07-22 05:33:47 +00:00
Luke Howard
ffe20229dc Move most of SLAPI frontend into overlay 2005-07-21 16:35:20 +00:00
Pierangelo Masarati
b358bd82ad condition SLAP_OVERLAY_ACCESS 2005-07-21 14:23:15 +00:00
Luke Howard
13a8d5046f Add slap_operation_t 2005-07-21 13:35:19 +00:00
Luke Howard
04e499e28c back out previous commit, fat fingers 2005-07-19 15:36:24 +00:00
Luke Howard
2d7a2144dc result.c 2005-07-19 15:35:00 +00:00
Howard Chu
532da5699c ITS#3844 fix typo 2005-07-08 04:57:17 +00:00
Hallvard Furuseth
b1f5e9258a Complete the replacement of LDAP_CONTROL_X_TREE_DELETE with
SLAP_CONTROL_X_TREE_DELETE, which is only defiend when LDAP_DEVEL.
back-sql triggered an assert(0): It expected the control to be supported.
2005-07-07 20:36:37 +00:00
Howard Chu
d518a76b35 ITS#3844 fix slap_operational_subschemaSubentry 2005-07-07 17:39:29 +00:00
Pierangelo Masarati
deec44b89a fix further ITS#3830 issues; allow to specify a matching rule for non-DN match 2005-07-05 12:00:14 +00:00
Howard Chu
e42e8d7130 Add op->o_tincr to distinguish ops with same op->o_time. (We should
be preparing to use timestamps with sub-second resolution, really.)
2005-06-09 22:56:35 +00:00
Howard Chu
8f58409749 Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Howard Chu
bf110af723 Fix slap_verbmask 2005-05-23 12:56:14 +00:00
Pierangelo Masarati
0873f03b39 don't unparse starttls field in slap_bindconf if default 2005-05-23 07:23:46 +00:00
Kurt Zeilenga
31727f0f4d Additional manageDIT changes.
Now require be_isroot() instead of "manage".
2005-05-13 21:09:26 +00:00
Pierangelo Masarati
d508114a9e improve fix 2005-05-13 20:27:12 +00:00
Pierangelo Masarati
6868323e17 fix ACL_PRIV_MASK for manage 2005-05-13 19:29:38 +00:00
Kurt Zeilenga
d1143204b2 Add parsing for manageDIT control. 2005-05-13 08:22:08 +00:00
Kurt Zeilenga
2544a320b9 extend manageDIT test cases (now just need to find time
to implement this)
2005-05-13 06:43:06 +00:00
Howard Chu
ee59484f7b Restructured to allow miscellaneous Adds under database/overlay objects 2005-05-09 03:42:51 +00:00
Pierangelo Masarati
54de0cbffc use appropriate log level if bailing out; need to use Debug() instead fprintf( stderr ) in many places... 2005-05-06 20:36:59 +00:00
Pierangelo Masarati
d23243a507 more on strict config parsing (ITS#3705) 2005-05-06 16:42:03 +00:00
Howard Chu
9a1beb7fe4 unifdef SLAP_USE_CONFDIR 2005-05-01 20:57:32 +00:00
Kurt Zeilenga
0ad446f014 ITS3693: fix of authPasswordSchemes for whom ever ends up implementing this 2005-04-30 05:43:09 +00:00
Pierangelo Masarati
8d41d6d927 hardcode "description" and "seeAlso" 2005-04-29 20:29:29 +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
Howard Chu
8f78d064ee Isolate syncrepl stuff in syncrepl.c 2005-04-22 14:38:35 +00:00
Howard Chu
854b433489 Fix X-ORDERED SIBLINGS 2005-04-21 06:39:58 +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
Pierangelo Masarati
15016154b6 add ACL hook to overlays 2005-04-12 00:24:04 +00:00
Pierangelo Masarati
c1885efd83 more bindconf cleanup 2005-04-10 23:43:17 +00:00
Pierangelo Masarati
3546934005 same for objectClass; improve previous commit 2005-04-10 15:40:15 +00:00
Pierangelo Masarati
fa4b1c69d7 Added further consistency checks and a new schema parse error value
which should help in debugging schema development for back-config.
The check essentially verifies, when a duplicate attributeType is found,
that the new attributeType definition is an exact duplicate of the
definition already present in the schema.
2005-04-10 15:14:13 +00:00
Howard Chu
e2a3fc3af3 Preserve OID macros for display in back-config 2005-04-09 16:13:04 +00:00
Pierangelo Masarati
4abbf9c610 implement add/delete granularity in write access (ITS#3631) 2005-04-08 00:18:24 +00:00
Pierangelo Masarati
e0fd9ebf14 cleanup previous commits 2005-04-04 11:19:21 +00:00
Howard Chu
bf0373b486 Add conn->c_sasl_authz_dn, store SASL authzDN separately from authcDN 2005-04-03 09:38:53 +00:00
Pierangelo Masarati
3eb87b2faa implement "realdn" by clause in ACLs (ITS#3627; accounting for Howard's remarks) 2005-04-03 01:59:03 +00:00
Pierangelo Masarati
f1e2d35bd6 rework few members of slap_bindconf; silence few warnings 2005-04-02 01:33:48 +00:00
Kurt Zeilenga
af866c3b44 Added a conformant sortedResults support which is unable to sort anything. 2005-04-01 02:40:29 +00:00
Pierangelo Masarati
584b21d20b initial commit of "level" styles for "dn" and "self" by clauses (ITS#3615) 2005-03-31 18:10:11 +00:00
Howard Chu
0076b40c32 Convert backendInfo/backendDB to STAILQs 2005-03-24 05:13:31 +00:00
Howard Chu
4fcab959c0 Define SLAP_USE_CONFDIR, fix moduleload 2005-03-21 20:07:05 +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
Kurt Zeilenga
5d169e40ea move honor disclose back behind LDAP_DEVEL
needs more work before really ready for release (2.4?)
2005-03-19 19:31:32 +00:00
Howard Chu
90172993a3 Add ordered-values schema flag 2005-03-18 23:24:28 +00:00
Kurt Zeilenga
85bc7ccd2c "disclose" implementation good enough for beta 2005-03-17 17:33:03 +00:00
Kurt Zeilenga
f06ca8eb1f cleanup 2005-03-15 03:11:24 +00:00
Howard Chu
a49215d4bf Move cn=config from namingContexts to configContext 2005-03-14 23:21:00 +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
58939adc36 Added limits_unparse_one 2005-03-01 21:25:32 +00:00
Howard Chu
21aa0d0f9f Added oidm retrieval 2005-03-01 18:05:23 +00:00
Kurt Zeilenga
aefb272680 Fix compiler error and warnings. 2005-02-27 06:10:01 +00:00
Howard Chu
660c5de77b Added syncrepl retrieval 2005-02-23 14:58:53 +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
efc8c43b73 Adding back-config pieces 2005-02-20 18:33:40 +00:00
Howard Chu
3b34a6f81c ITS#3546 fix consumer crash on interrupt (provider crash still unresolved) 2005-02-17 15:07:27 +00:00
Sang Seok Lim
9d59266e25 Attribute Aliasing : equality matching support 2005-02-15 05:24:48 +00:00
Howard Chu
b06eea3d99 Delete unused syncrepl_pool 2005-02-11 10:20:16 +00:00
Pierangelo Masarati
4123f29eaa fix spelling 2005-02-01 10:31:57 +00:00
Pierangelo Masarati
3b84f11d25 honor SLAP_GLUE_INSTANCE() flag; allow to advertize subordinate databases 2005-01-31 00:15:45 +00:00
Pierangelo Masarati
ff89b2c14c looks a little better (but test033 doesn't work any more; disabling) 2005-01-29 19:04:06 +00:00
Pierangelo Masarati
0056109b82 cleanup previous commit 2005-01-29 18:00:36 +00:00
Pierangelo Masarati
d0b804c439 use direct access instead of string comparison to check supported controls 2005-01-29 17:58:48 +00:00
Kurt Zeilenga
e2292d34e1 remove commented out kludge macro 2005-01-27 23:08:20 +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
Kurt Zeilenga
ab455a5ec7 Place control availability kludge behind
#ifdef SLAP_CONTROL_AVAILABILITY_KLUDGE
for now.  Me think its still needed (at least for FRONTEND controls).
2005-01-26 19:46:12 +00:00
Pierangelo Masarati
e2fe9e394a fix controls run-time registered by global overlays (kludge non longer required?) 2005-01-26 08:04:19 +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
fe03b5a8bb Add '-q' "quick" option and SLAP_TOOL_QUICK def for slapadd to run
with fewer integrity checks. (may also change slapindex later.)
2005-01-24 01:37:09 +00:00
Kurt Zeilenga
64668f7207 Hide subtree delete control 2005-01-20 17:54:04 +00:00
Kurt Zeilenga
f9d36c0dce Make most LDAP_DEVEL macro uses indirect 2005-01-19 18:34:36 +00:00
Pierangelo Masarati
0d475ca4f0 cleanup 2005-01-19 00:12:46 +00:00
Pierangelo Masarati
4644584a75 condition compilation of DISCLOSE checking 2005-01-14 11:51:16 +00:00
Howard Chu
9f30e1e650 Delete obsolete syncprovider stuff 2005-01-14 05:19:51 +00:00
Howard Chu
495c315672 More consolidation for single consumer-context syncrepl 2005-01-14 04:26:59 +00:00
Howard Chu
f845c573b0 Single consumer context per database 2005-01-13 21:15:50 +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
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
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +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
94ed6b410d Cleanup unused fields of ComponentDesc 2004-12-21 04:46:21 +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
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
Jong Hyuk Choi
7e310a62d8 data struct for zone allocator 2004-12-11 17:16:58 +00:00
Howard Chu
8bad70d957 Added sessionlog support. consumer needs work... 2004-12-08 00:47:24 +00:00
Kurt Zeilenga
d616bd4ff8 cleanup 2004-12-07 18:40:47 +00:00
Pierangelo Masarati
f3a959970e hardcode "uid" into slapd & improve previous commit 2004-12-07 10:01:48 +00:00
Howard Chu
fc9b1b7aca Delete unused be_context_csn, cleanup pending csn entry 2004-12-06 23:17:58 +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
Pierangelo Masarati
6f182a7547 make unregistered known controls show up as undefined; move LDAPsync cid to frontend; some cleanup 2004-11-27 15:08:24 +00:00
Howard Chu
d3ced75fe7 Add SLAP_DBFLAG_OVERLAY 2004-11-27 11:45:54 +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
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
Howard Chu
3a5bde98ba Disable back-bdb native syncrepl support, enable syncprov overlay,
remove syncrepl stuff from Operation struct
2004-11-25 21:16:54 +00:00
Howard Chu
618cc56265 Merge op->o_sync_mode into op->o_sync 2004-11-25 18:31:31 +00:00
Howard Chu
f0cae31b0e Fix send_ldap* macros 2004-11-25 14:41:00 +00:00
Jong Hyuk Choi
994edd5500 buddy allocator for sl_malloc. Configurable at thread heap creation time. Need optimization for higher perf. 2004-11-23 15:37:06 +00:00
Howard Chu
155387428a Add comment for spare bits in ctrlflags 2004-11-23 14:12:13 +00:00
Howard Chu
47dd8d8732 Dynamic control management 2004-11-23 13:08:45 +00:00
Pierangelo Masarati
e79fbb88cf move ACIs under a dynamic infrastructure that allows run-time loadable custom access control logic (needs work) 2004-11-20 01:27:03 +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
947268c5ee partially revert previous commit (the "creator" special DN pattern is redundant as "dnattr" is more expressive 2004-11-15 22:57:03 +00:00
Pierangelo Masarati
064eb88ef8 move special dn patterns to style enum; add creator special dn pattern 2004-11-15 22:15:28 +00:00
Pierangelo Masarati
b29bf83e7e remove back-*/external.h 2004-11-15 19:45:49 +00:00
Sang Seok Lim
a90e63fde0 ComponentFilterMatch support for userCertificate 2004-11-14 20:11:38 +00:00
Jong Hyuk Choi
42f8426b5b patch for ITS#3379 2004-10-28 21:40:42 +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
0af878ac3f syncrepl consistency patch: utilize BDB txn rollback 2004-10-12 17:53:50 +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
62b6b32633 Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
only implemented for generalizedTime syntax.
2004-09-28 13:11:11 +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
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
Jong Hyuk Choi
5c0581b184 Modified @oc supprot code to the share anlist routines; Revised anlist routines 2004-09-23 02:48:14 +00:00
Kurt Zeilenga
7f773613f8 component cleanup 2004-09-18 02:32:06 +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
Jong Hyuk Choi
98dc97bcb9 memory leak fixes 2004-09-11 02:02:09 +00:00
Kurt Zeilenga
910076d26f Add additional DN matching rules. 2004-09-09 03:56:58 +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
Jong Hyuk Choi
76dfffafe4 fix for test019 glitch 2004-09-03 12:16:15 +00:00
Howard Chu
88e2771bca ITS#3309 better fix, add op->ord_csn in frontend and use it in backend. 2004-09-02 11:05:13 +00:00
Jong Hyuk Choi
6f9025423f ITS#3289 - exattrs support 2004-08-29 22:28:28 +00:00
Kurt Zeilenga
b2aa91b22d cleanup 2004-08-28 17:55:05 +00:00
Kurt Zeilenga
6cde4bdeb3 Move LDAP_COMP_MATCH define from ldap.h to slap.h 2004-08-27 18:53:44 +00:00
Sang Seok Lim
78d08a8271 Misc Bug Fix:
- Remove unused variables
- Remove the attribute for component filter test in core.schema
2004-08-26 16:43:28 +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
Howard Chu
af8cb90ed8 ITS#3289 - add SLAP_AT_DYNAMIC flag for dynamically generated attributes.
Set flag for hasSubordinates and subschemaSubentry. Strip dynamic attributes
before storing entries in syncrepl.
2004-08-19 23:39:45 +00:00
Howard Chu
3081f2df88 Delete unused be_context_csn_mutex 2004-08-18 10:54:58 +00:00
Howard Chu
77ba70be13 Fix ITS#3288: use be_pcl_mutexp instead of be_pcl_mutex 2004-08-18 10:53:34 +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
Pierangelo Masarati
3b8111f1c4 use a separate field for a modified entry in SlapReply 2004-07-13 22:52:54 +00:00
Pierangelo Masarati
2afdce8334 cleanup AD stuff (ITS#3225) 2004-07-09 00:14:15 +00:00
Pierangelo Masarati
7e833d90a7 implement server side of "max" limit 2004-06-19 10:02:27 +00:00
Jong Hyuk Choi
763f8c76ee syncrepl retry-on-error code 2004-06-18 05:04:03 +00:00
Pierangelo Masarati
a317f01dc1 improve pagedResults ignoring (hopefully) 2004-06-16 15:26:21 +00:00
Kurt Zeilenga
0ae37bd468 Add SLAP_BFLAG_NOLASTMODCMD backend flag. When set, use of
the lastmod command will fail.  To be set by backends
(e.g., back-ldap) which force the value of SLAP_DBFLAG_NOLASTMOD
database flag.
2004-06-16 04:47:21 +00:00
Pierangelo Masarati
c0490482d6 ignore the control if page is larger than requested sizelimit (as per RFC) 2004-06-12 17:37:37 +00:00
Pierangelo Masarati
d1b692ceb4 clarify no limits in (internal) searches 2004-06-12 11:33:21 +00:00
Jong Hyuk Choi
b85ba35ba7 Patch for ITS#3133 2004-05-31 02:01:59 +00:00
Pierangelo Masarati
d40e5a365a fix DN_SEPARATOR() and clarify its use 2004-05-07 09:03:05 +00:00
Pierangelo Masarati
80449c42d9 fix escaped semicolon bug in back-bdb 2004-05-07 02:09:06 +00:00
Kurt Zeilenga
a3bbc8adec Update substr indexing macros to better separate
initial/final string settings from any string settings.
2004-05-04 22:31:57 +00:00
Pierangelo Masarati
03c64541d4 add granular op restriction 2004-05-01 17:53:37 +00:00
Kurt Zeilenga
05463503e8 ITS#3118: fix objectIdentifierFirstComponentMatch for schema elements 2004-04-28 20:10:21 +00:00
Pierangelo Masarati
b9dcdbb2d8 rename macro accordingly to new authz naming 2004-04-20 19:12:56 +00:00
Kurt Zeilenga
1372965d89 ITS#3092: Rename sl_free() and friends to slap_sl_free() 2004-04-20 03:44:57 +00:00
Pierangelo Masarati
7be90a7ddf remove unused structure member ps_id 2004-04-17 15:01:13 +00:00
Pierangelo Masarati
e46e44c34d enable use of librewrite for sasl-regexp only if librewrite is compiled (ITS#3084) 2004-04-14 23:17:57 +00:00
Pierangelo Masarati
c0c24cfec5 first round of SHADOW flags/isupdate test unification 2004-04-10 10:00:58 +00:00
Kurt Zeilenga
2f924dc488 Temporary defines for SLAP_*_SHADOW. 2004-04-09 20:43:15 +00:00
Pierangelo Masarati
b157f668b7 honor sizelimit requests on the overall count when pagedResults control is used; cleanup and more features 2004-04-09 17:55:21 +00:00
Pierangelo Masarati
36941332a1 improve previous commit; now special limit on the number of total entries of a paged results can be set via the limits. Need to decide whether the default should be unlimited or what 2004-04-09 12:26:34 +00:00
Pierangelo Masarati
fadf3398d4 honor size limits when using paged results 2004-04-09 11:44:28 +00:00
Kurt Zeilenga
c7f0438044 bvalue cleanup 2004-04-08 06:49:17 +00:00
Kurt Zeilenga
13d25a675f cleanup 2004-04-06 01:48:36 +00:00
Kurt Zeilenga
37ef5350bd Rework return of update referrals 2004-04-06 00:47:21 +00:00
Kurt Zeilenga
843400deb7 Add SLAP_SHADOW(be): true if be is a shadow database (via any mech) 2004-04-05 21:54:40 +00:00
Kurt Zeilenga
2fcaa15b90 First rounds of backend/database flag cleanup 2004-04-05 21:00:16 +00:00
Pierangelo Masarati
873be21a22 add referral check to functions elaborated by overlays 2004-04-05 17:28:13 +00:00
Howard Chu
e9188de738 Replaced slap_overinfo.oi_bd with oi_orig. 2004-03-20 12:56:31 +00:00
Kurt Zeilenga
e323437c6a cleanup for release engineering 2004-03-18 01:06:39 +00:00
Howard Chu
cdeda34029 Add c_conn_idx, to simplify external modules managing per-connection state 2004-03-12 18:22:37 +00:00
Pierangelo Masarati
042869366d use "expand" instead of "regex" for group ACLs that allow substring expansion, preserving backwards compatibility; add sanity checks 2004-03-09 16:33:05 +00:00
Luke Howard
87a02dbb14 Support server search flag control as alias for permissive modify
Recognise tree delete control - needs backend support
2004-03-09 14:05:01 +00:00