Pierangelo Masarati
6e2c78c309
add dynlist.c from SysNet's repository; needs build stuff (when mature)
2005-04-07 22:42:44 +00:00
Pierangelo Masarati
b94a776870
document option '-F'
2005-04-07 20:12:57 +00:00
Howard Chu
9e9e3c988a
Fix access error return
2005-04-07 19:54:37 +00:00
Pierangelo Masarati
d213e99443
line up usage message
2005-04-07 19:32:50 +00:00
Howard Chu
931d7f4a95
Ignore include file records when loading LDIF tree, their contents
...
have already been incorporated into the LDIF.
2005-04-07 05:32:21 +00:00
Howard Chu
15fe667281
On add, sort attributes in schema order to enforce config sequencing
2005-04-07 05:23:23 +00:00
Kurt Zeilenga
b425b15fc8
Improved log message when cannot find entry of desired class
2005-04-07 00:54:06 +00:00
Pierangelo Masarati
0220a25f05
use alias name instead of column name in order by clause (ITS#3629)
2005-04-04 17:41:29 +00:00
Pierangelo Masarati
f1698e30f5
update diagnostics and man pages
2005-04-04 12:24:50 +00:00
Pierangelo Masarati
e0fd9ebf14
cleanup previous commits
2005-04-04 11:19:21 +00:00
Pierangelo Masarati
f43f7b1bfb
cleanup listener permissions
2005-04-04 10:42:50 +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
fe1b73c712
implement checking of the whole target entry if no attributes are specified (ITS#3624)
2005-04-03 01:20:36 +00:00
Pierangelo Masarati
f1e2d35bd6
rework few members of slap_bindconf; silence few warnings
2005-04-02 01:33:48 +00:00
Pierangelo Masarati
a736b1041e
clarify the usage of dnParent( dn, dn )
2005-04-01 23:58:38 +00:00
Pierangelo Masarati
8e19437ddc
allow slapdn to return the DN in pretty/normal only mode, without diagnostics, to be used as filter (should allow reading from stdin as well)
2005-04-01 12:59:26 +00:00
Pierangelo Masarati
ae3f784d5b
fix database operations in tool mode (ITS#3622)
2005-04-01 12:20:02 +00:00
Howard Chu
f9917a9c16
Truncate \r if it appears at end of DB_CONFIG lines
2005-04-01 12:06:46 +00:00
Howard Chu
bff244da5b
Add dbconfig directive for creating/writing the DB_CONFIG file
2005-04-01 11:26:43 +00:00
Howard Chu
04f6efbe1c
ITS#3607 more for Win32 portability
2005-04-01 08:10:26 +00:00
Howard Chu
18d1821b1f
ITS#3607, added Win32 lock support
2005-04-01 06:10:06 +00:00
Kurt Zeilenga
af866c3b44
Added a conformant sortedResults support which is unable to sort anything.
2005-04-01 02:40:29 +00:00
Kurt Zeilenga
0b6ed01c05
cleanup
2005-04-01 02:39:01 +00:00
Howard Chu
652d0a189a
Fix filter crash when DN contains parenthesis
2005-04-01 02:13:17 +00:00
Pierangelo Masarati
3958eb9e98
actually retrieve the target, to apply clauses like sets and so
2005-03-31 21:21:16 +00:00
Pierangelo Masarati
2605dfa81f
cleanup options
2005-03-31 20:03:30 +00:00
Pierangelo Masarati
4cba10c13e
always shutdown (slaptest was not)
2005-03-31 19:34:36 +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
Pierangelo Masarati
26c1524163
rework provious commit(s)
2005-03-31 12:18:56 +00:00
Pierangelo Masarati
e85c3f2f6a
more cleanup?
2005-03-31 00:30:41 +00:00
Pierangelo Masarati
1c5e5b7db0
cleanup
2005-03-31 00:27:53 +00:00
Pierangelo Masarati
8d3eb19995
beautify conditional compilation warning
2005-03-30 23:46:25 +00:00
Pierangelo Masarati
a96f2af281
more dnParent() and misc cleanup
2005-03-30 22:45:46 +00:00
Pierangelo Masarati
20b3d14dc3
more dnParent() cleanup
2005-03-30 22:29:54 +00:00
Pierangelo Masarati
83bb1c93cb
allow setting misc params used by ACL checking
2005-03-30 22:29:35 +00:00
Pierangelo Masarati
61bb4bb630
allow dnParent to work in place
2005-03-30 20:18:11 +00:00
Pierangelo Masarati
22bc85dc77
minor cleanup
2005-03-30 18:58:52 +00:00
Pierangelo Masarati
7cf03f2b50
don't fail if the directory can't be opened because it doesn't exist; silence few warnings
2005-03-30 18:38:04 +00:00
Pierangelo Masarati
7d531d1416
release lock as early as possible; deferring referral checking in searches may reduce the amount of dynamic entry generation
2005-03-29 23:56:23 +00:00
Pierangelo Masarati
908aaa5107
add manageDSAit & referral support (to be tested); cleanup some error conditions
2005-03-29 18:57:42 +00:00
Pierangelo Masarati
40ec0992d6
don't continue if fopen failed
2005-03-29 11:43:36 +00:00
Howard Chu
fbbc07e644
Allow for alternate ordering characters to be used in the filesystem
2005-03-29 08:29:38 +00:00
Howard Chu
b8bf38cd5b
Tighten up some schema
2005-03-29 03:31:48 +00:00
Howard Chu
aaf112c9c2
Better numeric sorting for ordered entries
2005-03-29 03:11:40 +00:00
Sang Seok Lim
d2af85fd08
Fixing memory leakage in attribute aliasing
2005-03-29 00:12:05 +00:00
Pierangelo Masarati
429629ff0c
fix previous commit
2005-03-28 18:53:57 +00:00
Pierangelo Masarati
27e5fabb8b
document missing feature; avoid the risk of returning argv in an inconsistent state when an error occurs
2005-03-28 18:51:02 +00:00
Howard Chu
62d21aadd0
Register ManageDSAit control
2005-03-28 10:23:04 +00:00
Howard Chu
51c913d83c
Fix missing break's, add overlay works
2005-03-27 13:27:30 +00:00
Howard Chu
a2348970e5
Fix search, fix add. Adding backends/databases works.
2005-03-27 13:08:57 +00:00
Howard Chu
18bf31b3c6
ITS#3607 build alock
2005-03-27 06:45:15 +00:00
Howard Chu
4d4e58d8f1
ITS#3607 build alock code
2005-03-26 10:21:43 +00:00
Howard Chu
d7396583d5
ITS#3607 add automatic BDB recovery
2005-03-26 09:52:04 +00:00
Kurt Zeilenga
e7e8ec90b6
Update uniqueMemberMatch to be consistent with latest
...
draft-ietf-ldapbis-syntaxes
Add uniqueMemberMatch approximate support
Add uniqueMemberMatch indexing support
2005-03-26 02:07:00 +00:00
Kurt Zeilenga
71c2c1c9fe
Change "subtree delete not supported" diagnostic text to
...
"subordinate objects must be deleted first" as the "not supported"
language implies some feature of LDAP is not implemented in slapd(8).
2005-03-26 00:53:00 +00:00
Howard Chu
eb8f927af3
Fix copyright/attribution comments
2005-03-25 20:11:28 +00:00
Kurt Zeilenga
8da81d42c7
ITS#3538: improved substrings matching (spaces handled
...
in accordance with LDAPprep)
2005-03-25 05:57:07 +00:00
Howard Chu
5a66d7de66
Fix prev commit
2005-03-24 06:06:40 +00:00
Howard Chu
0076b40c32
Convert backendInfo/backendDB to STAILQs
2005-03-24 05:13:31 +00:00
Kurt Zeilenga
7677c00d80
cleanup
2005-03-23 01:50:49 +00:00
Howard Chu
5c3a4e176e
Preliminary ldapAdd support
2005-03-21 23:59:53 +00:00
Howard Chu
4fcab959c0
Define SLAP_USE_CONFDIR, fix moduleload
2005-03-21 20:07:05 +00:00
Howard Chu
c9141a9a08
More parsing fixes
2005-03-21 11:14:37 +00:00
Howard Chu
38383fca41
Fix startup check
2005-03-21 10:32:28 +00:00
Howard Chu
3f357270d4
Fix unparsers, schema loading works
2005-03-21 10:23:01 +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
1476ad80a6
Tweak log msg in prev commit
2005-03-20 20:55:49 +00:00
Howard Chu
e2a4978d82
Runtime detection of BDB read-only transaction patch
2005-03-20 20:54:44 +00:00
Kurt Zeilenga
9198281e9e
db mismatch (including patch mismatch) should be an error
2005-03-20 17:18:15 +00:00
Howard Chu
320c291455
Fix config_rootpw
2005-03-20 09:50:09 +00:00
Howard Chu
48ee1e7021
Fix prev commit
2005-03-20 09:24:35 +00:00
Howard Chu
fda662bd34
More for loading config from LDIF
2005-03-20 09:13:48 +00:00
Kurt Zeilenga
43ba1a98db
ITS#3579 fixes
2005-03-20 04:29:35 +00:00
Kurt Zeilenga
9507a11573
cleanup
2005-03-20 01:58:38 +00:00
Kurt Zeilenga
305f6c4f2c
Honor disclose in compare_entry()
2005-03-19 20:14:14 +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
Howard Chu
c2a9642850
Support subtree rename, refuse subtree delete
2005-03-18 23:22:12 +00:00
Howard Chu
f06247fede
Added some implementation notes (reminders...)
2005-03-18 09:50:06 +00:00
Howard Chu
f77233d2ea
Fix slapd_crypt declaration
2005-03-18 06:12:54 +00:00
Howard Chu
afe12db0d1
Cleanup prev commit
2005-03-18 06:12:27 +00:00
Howard Chu
2da2336ac6
Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy
2005-03-18 06:06:38 +00:00
Pierangelo Masarati
dec4c2197a
avoid potential deadlock related to ACLs checking
2005-03-18 00:10:10 +00:00
Kurt Zeilenga
c29c0c9bd8
Fix compile warning
2005-03-17 23:55:52 +00:00
Howard Chu
ac3ad635ef
Silently ignore if back-ldif is not present
2005-03-17 23:47:20 +00:00
Howard Chu
83c748fe5c
More for loading config from database. Fix non-reentrant strtok_quote.
2005-03-17 23:07:44 +00:00
Howard Chu
1e5f43ddd1
In aci_set_gather propagate op->o_private to subordinate search
2005-03-17 22:28:30 +00:00
Kurt Zeilenga
85bc7ccd2c
"disclose" implementation good enough for beta
2005-03-17 17:33:03 +00:00
Howard Chu
4a8d8eb78a
Read config tree from back-ldif
2005-03-17 06:34:11 +00:00
Howard Chu
dccfd8ae23
Fix enum_tree, return in lexical order
2005-03-17 06:31:50 +00:00
Howard Chu
3ead49d206
ITS#3542 - ignore timevals from deferred tasks
2005-03-17 05:03:28 +00:00
Howard Chu
9bfb4e7213
Revert prev commit, wrong fix
2005-03-17 04:50:19 +00:00
Howard Chu
d1050c5aa2
ITS#3542 if slapd processes too slowly, time diff can go negative
2005-03-17 04:44:21 +00:00
Howard Chu
f955f17076
ITS#3576 use actual backend (not glue instance) for restriction and
...
update/referral checks
2005-03-17 04:29:31 +00:00
Howard Chu
4e5407a096
Check for db_init failures
2005-03-16 21:44:05 +00:00
Howard Chu
cd23b2ddf4
Fix unterminated debug msgs
2005-03-16 21:29:32 +00:00
Howard Chu
5ffc2ce9f1
Fix ITS#3601
2005-03-16 21:03:51 +00:00
Howard Chu
585b4a02ef
Fix prev commit, overlay config was broken
2005-03-16 20:31:49 +00:00
Howard Chu
49bf49de06
More cleanup. Still needs work.
2005-03-16 07:45:17 +00:00
Kurt Zeilenga
6ea6a72d5d
remove non-ISO-C-isms
...
This code needs to be cleaned up!
2005-03-16 02:33:27 +00:00
Pierangelo Masarati
c90998e60d
cure ITS#3602
2005-03-15 23:01:06 +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
f682ee0918
entry_schema_check - NULL out *text when returning Success
2005-03-15 08:29:42 +00:00
Kurt Zeilenga
f06ca8eb1f
cleanup
2005-03-15 03:11:24 +00:00
Kurt Zeilenga
3b3c521083
slapi glue fix
2005-03-15 02:47:27 +00:00
Kurt Zeilenga
c19b745b64
cleanup
2005-03-14 23:21:35 +00:00
Howard Chu
a49215d4bf
Move cn=config from namingContexts to configContext
2005-03-14 23:21:00 +00:00
Howard Chu
902494b432
Cleanup prev commit
2005-03-14 19:46:14 +00:00
Howard Chu
38cf26c95a
Fix typo
2005-03-14 19:23:42 +00:00
Howard Chu
b120d92bd6
ITS#3596 - fix overlay cleanup processing
2005-03-14 01:23:38 +00:00
Howard Chu
b508cca217
ITS#3596 partial fix - fix sc_cleanup processing
2005-03-14 00:39:49 +00:00
Howard Chu
86ef29b5e7
ITS#3596 partial fix - allow abandoning a locked operation
2005-03-14 00:12:48 +00:00
Howard Chu
8a31f9a96f
Ignore matches from the entry being modified
2005-03-13 23:18:49 +00:00
Howard Chu
699fa73c2b
Added back-ldif
2005-03-10 06:19:18 +00:00
Howard Chu
8da7cce20d
Added translucent overlay (sponsored by HP)
2005-03-10 03:13:24 +00:00
Howard Chu
36358007d4
Added dummy config_back_modify, using ldap_pvt_thread_pool_pause/resume
2005-03-07 21:03:04 +00:00
Howard Chu
90f356a9f9
Moved ACLs to their own entry
2005-03-07 18:14:13 +00:00
Kurt Zeilenga
b914aee946
Replace OpenLDAPtime with testTime (in test.schema).
...
Don't muck with OpenLDAPperson or openldap.schema.
Replace OpenLDAPtime with testTime (in test.schema).
Define testPerson instead (in test.schema).
Update test004 to use new test schema.
2005-03-04 17:33:26 +00:00
Howard Chu
f7e158333e
ITS#2919 move OpenLDAPtime to OpenLDAPperson
2005-03-04 11:35:37 +00:00
Howard Chu
b9b087384c
Added config compatibility wrapper for overlays etc...
2005-03-04 10:32:51 +00:00
Howard Chu
50c3487e03
Fix backend config table fallthru
2005-03-04 10:01:31 +00:00
Howard Chu
0b9ffad770
Don't restrict cache sizes to non-zero
2005-03-04 09:45:08 +00:00
Howard Chu
8573640ff9
Fix schema init sequence
2005-03-04 09:26:50 +00:00
Howard Chu
5616daf9f8
ITS#2919 add a user modifiable generalizedTime attribute
...
(please assign an OID for this attribute)
2005-03-04 09:16:37 +00:00
Howard Chu
4e2dccf147
Fix prev commit, make sure to only send result once
2005-03-04 06:25:10 +00:00
Howard Chu
379a620217
Fix ITS#3537 (need to repeat this fix for the other operations too.)
2005-03-04 06:20:37 +00:00
Howard Chu
c160e0d349
ITS#3579 disable ldap_syslog earlier.
2005-03-04 04:32:43 +00:00
Howard Chu
a025ead532
ITS#3533 use LDAP_DEBUG_TRACE for version info
2005-03-04 00:10:01 +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
1bc59be16d
Fix initial config file info
2005-03-02 05:20:22 +00:00
Howard Chu
44521fd902
Reorganized config/bconfig. Migrated back-bdb config.
2005-03-02 04:46:50 +00:00
Howard Chu
a2a9ae725f
Drop "access " from acl_unparse
2005-03-01 23:17:54 +00:00
Howard Chu
b6a42fd1a2
Fix prev commit
2005-03-01 23:13:21 +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
5a2333573c
Fix prev commit
2005-03-01 21:16:44 +00:00
Howard Chu
5acd0c574b
Added authz-regexp, slapi plugin retrieval
2005-03-01 20:08:36 +00:00
Howard Chu
e509e81ecd
Fix slapi plugin info
2005-03-01 20:05:20 +00:00
Pierangelo Masarati
70963520d4
fix ITS#3406 wrt/ dnattr; silence warning
2005-03-01 18:40:23 +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
05a4b7e234
Added moduleload/modulepath retrieval
2005-02-28 22:19:55 +00:00
Pierangelo Masarati
bb82f8ffd0
fix ITS#3570 (please review)
2005-02-27 20:02:13 +00:00
Pierangelo Masarati
f93aec341c
(partial) fix to ITS#3570: detect an error condition; the error is yet to be fixed
2005-02-27 18:05:22 +00:00
Pierangelo Masarati
d7a5355176
enable tls-related code only if available; import fix for asynchronous starttls from back-ldap
2005-02-27 17:20:04 +00:00
Kurt Zeilenga
f9b2a8a1d2
ITS#3557: {SSHA} not default due to missing include
2005-02-27 16:46:45 +00:00
Kurt Zeilenga
aefb272680
Fix compiler error and warnings.
2005-02-27 06:10:01 +00:00
Howard Chu
049a1dbca0
SASL/TLS fixes to prev commit
2005-02-24 09:07:40 +00:00
Kurt Zeilenga
2d98546d21
ITS#3583
2005-02-23 16:08:11 +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
5d46454d87
Fix prev, add security factors
2005-02-23 07:09:24 +00:00
Howard Chu
0383195cc0
Fix up memory usage
2005-02-23 04:25:24 +00:00
Pierangelo Masarati
4e8256f6ab
improve previous commit; now attribute values are rewritten either if they were DN-valued before or after being remapped
2005-02-22 21:29:42 +00:00
Pierangelo Masarati
ba90bad9c8
honor remapped attrs in requested attrlist; fix erroneous cleanup of remapped requested attrlist (only at response)
2005-02-22 20:16:31 +00:00
Pierangelo Masarati
91961faab6
missing successful return was causing erroneous failure detection
2005-02-22 15:01:14 +00:00
Howard Chu
b1a575899d
Make replica directives visible/editable
2005-02-22 12:18:53 +00:00
Howard Chu
e0ca6e386e
Added acl_unparse, slap_sasl_getpolicy
2005-02-22 12:02:34 +00:00
Howard Chu
b000d76f22
Added overlay objects
2005-02-21 18:04:37 +00:00
Howard Chu
367e4915ab
Added includeFile objects
2005-02-21 17:38:27 +00:00
Howard Chu
39906c96e3
More schema fixes
2005-02-21 14:57:02 +00:00
Howard Chu
087b97c2c5
Use backend#0 for config, tools default to #1
2005-02-21 11:28:59 +00:00
Howard Chu
2b725a3dfe
ITS#3559 fix hdb dn2idl idl_cache usage
2005-02-21 11:11:00 +00:00
Howard Chu
4295f398af
Retrieve more values, bypass tool mode (for now)
2005-02-21 03:50:05 +00:00
Howard Chu
1895da7f52
Simple values retrievable
2005-02-21 02:21:29 +00:00
Howard Chu
c6f373bce1
Juggle ARG flags, needed some more bits
2005-02-21 01:10:23 +00:00
Pierangelo Masarati
49d2945e9a
fix previous commit (please check)
2005-02-20 23:06:55 +00:00
Howard Chu
efc8c43b73
Adding back-config pieces
2005-02-20 18:33:40 +00:00
Howard Chu
a26148af99
Preliminary config attribute schema
2005-02-20 11:24:24 +00:00
Howard Chu
dfb6f870f6
Rearrange, merge sasl config back into main config
2005-02-20 06:47:54 +00:00
Howard Chu
df3d8f3e30
Cleanup unused variables
2005-02-20 04:59:29 +00:00
Howard Chu
caeae75662
bdb_show_key is for hash keys, not IDs
2005-02-20 04:32:54 +00:00
Luke Howard
0cf2e8746e
ITS#3556 (SLAPI does not work on 64-bit platforms)
2005-02-20 02:13:14 +00:00
Pierangelo Masarati
edfbbeb653
clarify comment
2005-02-19 16:55:14 +00:00
Pierangelo Masarati
f8b463d0bc
use asynchronous StartTLS
2005-02-19 16:14:22 +00:00
Pierangelo Masarati
5d19659193
honor abandon/cancel (ITS#3551)
2005-02-19 12:25:55 +00:00
Howard Chu
5418a6bb0f
Temporary placeholder, do not use. Will be hardcoded into config.c.
2005-02-19 12:22:47 +00:00
Howard Chu
d74a9f066a
ITS#3551 return SLAPD_ABANDON on abandon...
2005-02-19 12:10:40 +00:00
Pierangelo Masarati
0f18e6ce24
fix ITS#3551
2005-02-19 11:07:02 +00:00
Howard Chu
94b3f430cf
Fix cancel cleanup
2005-02-18 07:12:57 +00:00
Howard Chu
6cbe778c81
ITS#3549 allow one op to progress when a socket with writewaiters
...
becomes ready to write.
2005-02-18 04:21:59 +00:00
Howard Chu
beaeb5ed5c
Fix if HAVE_TLS is missing
2005-02-18 04:20:56 +00:00
Howard Chu
2964bfc48b
ITS#3549 acknowledge CANCEL requests
2005-02-18 01:08:47 +00:00
Howard Chu
5d8ece605e
ITS#3549 cleanup abandon/cancel processing
2005-02-18 01:01:35 +00:00
Howard Chu
1b244bbacd
Another abandon check
2005-02-18 00:50:17 +00:00
Howard Chu
ee42df4cea
Always return SLAPD_ABANDON in response to op->o_abandon being set.
2005-02-18 00:37:40 +00:00
Howard Chu
554c667ec7
Revert use_thread option, it didn't gain anything.
2005-02-17 15:18:30 +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
583242c9a3
initialize AttributeAssertion before using
2005-02-16 17:00:11 +00:00
Sang Seok Lim
996e87298f
Misc clean up
2005-02-15 16:55:00 +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
b43fb2bdfc
allow stacking of a default chaining control when chasing further referrals; fix referral return memory allocation on direct search
2005-02-06 22:12:02 +00:00
Pierangelo Masarati
046b40cbe3
provisions for configuring a desired chaining policy via the chaining behavior control
2005-02-05 18:21:14 +00:00
Pierangelo Masarati
e50092878d
temporarily revert to synchronous start tls
2005-02-05 17:33:22 +00:00
Pierangelo Masarati
73ca57cfef
import selected improvements from back-ldap: use asynchronous Start TLS exop; allow propagating TLS if used in the original connection; minor cleanup
2005-02-05 15:55:27 +00:00
Pierangelo Masarati
43138aa500
use asynchronous Start TLS exop; allow propagating TLS if used in the original connection; minor cleanup
2005-02-05 15:55:02 +00:00
Pierangelo Masarati
e3a19bfa32
import referral chaing options from back-ldap
2005-02-05 11:33:32 +00:00
Kurt Zeilenga
e106fb2449
Folks who wan MSAD schema should get it from MSAD
2005-02-04 03:48:50 +00:00
Luke Howard
fd0b7e75b1
ITS#3439 (NetBSD support for getpeereid())
2005-02-03 09:36:25 +00:00
Howard Chu
1510265454
Init ors_limit to NULL
2005-02-01 15:11:33 +00:00
Howard Chu
0f185de2b0
Fix uninit'd search limits
2005-02-01 14:02:53 +00:00
Howard Chu
b6019af759
Fix off-by-one in octetStringSubstringsFilter
2005-02-01 13:40:17 +00:00
Howard Chu
ae6b117a2a
config args are ints, not longs. (64 bit compatibility)
2005-02-01 12:36:25 +00:00
Pierangelo Masarati
4123f29eaa
fix spelling
2005-02-01 10:31:57 +00:00
Howard Chu
f2d423e084
ITS#3527 fix race in bdb_idl_cache_get
2005-02-01 05:37:09 +00:00
Howard Chu
122cdf4549
In ldap_back_bind, don't send success result, frontend does it
2005-02-01 00:19:45 +00:00
Pierangelo Masarati
8637bc5b28
handle cannotChain result
2005-01-31 11:22:12 +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
d503b5a5b7
make frontend-generated attrs available to backend's hook
2005-01-31 00:14:00 +00:00
Pierangelo Masarati
4c61b9a8f7
further improve of previous commit
2005-01-30 23:14:41 +00:00
Pierangelo Masarati
625263852d
fix previous commit; plug a long lasting leak
2005-01-30 23:12:27 +00:00
Pierangelo Masarati
cfc77f0a0a
make referrals chasing optional (default is to chase them)
2005-01-30 22:56:59 +00:00
Pierangelo Masarati
14fc23c23a
silence warning
2005-01-30 22:07:48 +00:00
Pierangelo Masarati
b3c00deb3d
counter cleanup
2005-01-30 22:07:32 +00:00
Pierangelo Masarati
58a06eae47
handle compare in frontend if backend couldn't handle it (and returned SLAP_CB_CONTINUE; e.g. if wrapped around an overlay...)
2005-01-30 22:06:38 +00:00
Pierangelo Masarati
8cc2aa9372
implement hook; cleanup
2005-01-30 22:05:46 +00:00
Pierangelo Masarati
6fcc25f993
cleanup empty DN handling
2005-01-30 22:05:11 +00:00
Pierangelo Masarati
fbb2b75ace
matched values is "global"
2005-01-30 22:04:02 +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
e96e874a18
take care of DN-valued "operational" (generated) attrs
2005-01-30 22:00:09 +00:00
Pierangelo Masarati
4f9b916b61
now works
2005-01-29 22:04:34 +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
9d11324e96
make the glue database inherit the controls of the subordinates (doesn't fix test033 though)
2005-01-29 18:38:44 +00:00
Pierangelo Masarati
cd797f8089
avoid cycling twice in the control list
2005-01-29 18:16:38 +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
Pierangelo Masarati
1e351da986
need to catch the '' base in search as well; selected cleanup and improvements
2005-01-28 23:19:02 +00:00
Pierangelo Masarati
77da5c56a4
allow to glue local databases under dnssrv
2005-01-28 21:38:02 +00:00
Luke Howard
4b1d72ab2f
Add slapi_x_backend_get_flags() API
2005-01-28 08:33:29 +00:00
Pierangelo Masarati
4304dfc9a2
allow referrals in result (may happen); propagate chaining errors
2005-01-28 01:43:49 +00:00
Kurt Zeilenga
e2292d34e1
remove commented out kludge macro
2005-01-27 23:08:20 +00:00
Kurt Zeilenga
1ff692274a
Removed control old kludge code
2005-01-27 23:06:57 +00:00
Pierangelo Masarati
4d5068630c
cleanup
2005-01-27 08:55:13 +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
Luke Howard
82d3c103e9
Support LDAP_MOD_INCREMENT in slapi_modify_internal()
2005-01-27 06:20:31 +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
362766b316
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:19:48 +00:00
Pierangelo Masarati
1b268479c3
fix ITS#3406 - normalize attributes according to MR syntax in MRA filters
2005-01-26 21:48:36 +00:00
Pierangelo Masarati
3dd2f4150b
allow proxyAuthz of users authenticated via SASL
2005-01-26 20:01:02 +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
5ec9684894
controls can be added in two passes (e.g. by backends that actually inherit their controls from someone else)
2005-01-26 10:28:37 +00:00
Pierangelo Masarati
e047657f06
remove overoptimistic assertion
2005-01-26 10:27:38 +00:00
Pierangelo Masarati
9e6d64a0ad
move supported controls listing at backend startup; allow supported controls to be set/mucked in between
2005-01-26 09:53:29 +00:00
Pierangelo Masarati
5427af1f62
don't play with controls at bind; rather use the ldap_*_ext API
2005-01-26 09:52:12 +00:00
Pierangelo Masarati
beb0f6983a
fix previous commit
2005-01-26 09:45:51 +00:00
Pierangelo Masarati
947f87441e
don't play with controls at bind
2005-01-26 09:45:23 +00:00
Pierangelo Masarati
74896472de
don't add the trailing '??base' to URIs
2005-01-26 09:29:22 +00:00
Pierangelo Masarati
c67ce5f2e3
inherit controls
2005-01-26 08:57:39 +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
Howard Chu
51c4161ca9
Add -q quick option for slapindex too
2005-01-26 03:14:47 +00:00
Howard Chu
87ad189972
Cleanup obsolete bits
2005-01-25 20:29:08 +00:00
Howard Chu
86ab73ecd6
Remove "fasttool" option; obsoleted by "slapadd -q"
2005-01-25 20:21:36 +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
Kurt Zeilenga
0bd2dafd53
More proper criticality handling. Implementation is a kludge.
2005-01-25 18:30:55 +00:00
Kurt Zeilenga
d68041ce50
Revert part of last (two) commits. Need additional infrastructure first.
2005-01-25 18:09:59 +00:00
Kurt Zeilenga
82d5ca4d4e
Remove redundant note.
2005-01-25 17:40:39 +00:00
Pierangelo Masarati
6239b70081
cleanup previous commit
2005-01-25 17:14:19 +00:00
Kurt Zeilenga
dd75979100
Prelim unavailableCriticalExtension v. unwillingToPerform fix (ITS#3308)
2005-01-25 16:52:16 +00:00
Pierangelo Masarati
c6a1f24186
add support for Chaining Behavior control (<draft-sermersheim-ldap-chaining>, a work in progress)
2005-01-25 16:11:26 +00:00
Howard Chu
f6ed0b0127
Fix cookie init
2005-01-25 11:14:09 +00:00
Kurt Zeilenga
28b5df9a90
Hide "work in progress"
2005-01-25 05:35:54 +00:00
Howard Chu
fc337704c5
Fix redundant index lookups from component matching
2005-01-24 12:25:37 +00:00
Pierangelo Masarati
c6b6d2a5ec
StartTLS (ITS#3507) + chain overlay fixes and improvements
2005-01-24 09:38:11 +00:00
Howard Chu
ad2a19d8eb
More for SLAP_TOOL_QUICK, disable locks as well
2005-01-24 08:21:55 +00:00
Howard Chu
12510a2da7
Use str2entry2
2005-01-24 03:42:56 +00:00
Howard Chu
fcf787dc0f
Rewritten str2entry, added str2entry2
2005-01-24 03:41:51 +00:00
Howard Chu
b674e6dd3d
Omit transaction support when running with SLAP_TOOL_QUICK
2005-01-24 01:37:38 +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
Pierangelo Masarati
03dba8c111
cleanup
2005-01-23 21:44:42 +00:00
Pierangelo Masarati
b70abdcbce
global overlays need to set o_bd = frontendDB to return the error in case no database can be selected
2005-01-23 21:44:23 +00:00
Howard Chu
47e7948007
Schema caching for slaptools
2005-01-22 20:18:38 +00:00
Pierangelo Masarati
ae0f47b063
improve parsing of acl-authcDN/acl-passwd
2005-01-22 18:48:03 +00:00
Pierangelo Masarati
066829a870
fix previous commit
2005-01-22 12:27:45 +00:00
Pierangelo Masarati
17f525a8ad
cleanup attribution
2005-01-22 11:17:14 +00:00
Pierangelo Masarati
a84938c294
fix ITS#3506
2005-01-22 10:21:03 +00:00
Howard Chu
7b65f9bab4
Really fix synchronization
2005-01-22 00:13:00 +00:00
Howard Chu
e67e45f752
Minor cleanup
2005-01-21 22:46:06 +00:00
Howard Chu
123668e241
More fixes for prev commit
2005-01-21 22:27:24 +00:00
Howard Chu
7de2352868
Fix synchronization in prev commit
2005-01-21 22:14:08 +00:00
Howard Chu
f6ac16dff7
Add option to use a second thread for adds
2005-01-21 21:20:56 +00:00
Kurt Zeilenga
69fcf8cbd6
Cleanup notices
2005-01-21 19:38:13 +00:00
Pierangelo Masarati
96fa1eda64
(blind) improvement of column name aliasing
2005-01-21 17:27:27 +00:00
Pierangelo Masarati
f0943f79ec
fix previous commit
2005-01-21 15:05:15 +00:00
Howard Chu
b18bc61831
ITS#3471 don't yield unnecessarily
2005-01-21 00:04:05 +00:00
Pierangelo Masarati
b116bb3814
fix ITS#3499 (may need further testing)
2005-01-20 22:44:54 +00:00
Pierangelo Masarati
9201649c3b
the attribute mapping features of rwm seem to be very broken. Here few issues related to ITS#3499 are fixed, but there's some work to do yet
2005-01-20 20:30:46 +00:00
Pierangelo Masarati
332438c3aa
fix ITS#3499
2005-01-20 19:28:01 +00:00
Pierangelo Masarati
3a4a442a51
fix attribution in copyright
2005-01-20 18:52:00 +00:00
Pierangelo Masarati
0057b66f87
improve previous commit; implement missing objectClass mapping feature
2005-01-20 18:39:51 +00:00
Kurt Zeilenga
64668f7207
Hide subtree delete control
2005-01-20 17:54:04 +00:00
Pierangelo Masarati
521100db56
fix ITS#3498; some cleanup
2005-01-20 17:44:53 +00:00
Pierangelo Masarati
2975c6d46e
provision for ITS#3497
2005-01-20 16:35:49 +00:00
Pierangelo Masarati
5785175313
provision for ITS#3497
2005-01-20 16:06:41 +00:00
Pierangelo Masarati
1d919d35a5
remove #ifdef's for identity assertion
2005-01-20 09:04:37 +00:00
Kurt Zeilenga
5ef410c1f3
Cleanup
2005-01-20 07:18:28 +00:00
Kurt Zeilenga
112179fef7
cleanup
2005-01-20 06:55:35 +00:00
Pierangelo Masarati
0c601c5db2
fix compare; more manageDSAit cleanup
2005-01-20 00:17:52 +00:00
Pierangelo Masarati
4f23e2e470
cleanup
2005-01-19 23:52:51 +00:00
Pierangelo Masarati
90cc75f1a1
cleanup; add proxyAuthz capability
2005-01-19 22:59:25 +00:00
Pierangelo Masarati
7d306eaadb
try to collect operational attributes as well
2005-01-19 22:58:56 +00:00
Howard Chu
4c65aa9c44
Make sl_context just return NULL in tool mode, we have no threads here
2005-01-19 21:42:04 +00:00
Kurt Zeilenga
dbfc9d1a16
Schema cleanup (and testing)
2005-01-19 20:29:06 +00:00
Kurt Zeilenga
d8428387d4
Fix goof in last commit
2005-01-19 20:25:21 +00:00
Howard Chu
eb7deb9eba
ITS#3494 fix deadlock
2005-01-19 19:18:28 +00:00
Pierangelo Masarati
5f178fd3d1
use idassert for proxyAuthz with the chain overlay
2005-01-19 19:11:35 +00:00
Kurt Zeilenga
addfa80025
Clarify schema source, status, and provide appropriate caution
2005-01-19 19:06:33 +00:00
Kurt Zeilenga
cd6a7ac5a8
Cleanup
2005-01-19 18:34:54 +00:00
Kurt Zeilenga
f9d36c0dce
Make most LDAP_DEVEL macro uses indirect
2005-01-19 18:34:36 +00:00
Howard Chu
8db476e664
More tweaks to ldif_parse_line2 for str2entry
2005-01-19 12:07:06 +00:00
Howard Chu
f8dfe10875
Fix prev commit
2005-01-19 08:48:13 +00:00
Howard Chu
692a3625a2
Cleanup rs->sr_text after entry_schema_check succeeds
2005-01-19 07:22:03 +00:00
Howard Chu
ffcfb8b967
Fix typo in prev commit
2005-01-19 07:02:14 +00:00
Howard Chu
3f4243def9
Cleanup prev commit
2005-01-19 06:43:33 +00:00
Howard Chu
577beaf982
Debugging aid for prev commit
2005-01-19 06:30:08 +00:00
Howard Chu
f2a067d997
Don't use DB->del when converting to a range, use the cursor that's
...
already open.
2005-01-19 06:03:14 +00:00
Howard Chu
bd8a9989f4
Added ldif_parse_line2 to parse in-place
2005-01-19 05:05:53 +00:00
Pierangelo Masarati
0d475ca4f0
cleanup
2005-01-19 00:12:46 +00:00
Pierangelo Masarati
3638004798
remove all referral specific code; now referrals can be used by defining appropriate data/metadata
2005-01-19 00:09:07 +00:00
Pierangelo Masarati
d520cd607d
remove all referral specific code; now referrals can be used by defining appropriate data/metadata
2005-01-19 00:00:52 +00:00
Pierangelo Masarati
a3fbea971b
map referrals in regular metadata structure (need to remove some of the specific code)
2005-01-18 23:28:03 +00:00
Pierangelo Masarati
d252d9c535
map referrals in regular metadata structure (need to remove some of the specific code)
2005-01-18 23:21:48 +00:00
Pierangelo Masarati
08d4af049f
cleanup error logging
2005-01-18 22:15:34 +00:00
Pierangelo Masarati
42b7753803
should we touch timestamps when internally updating?
2005-01-18 09:48:53 +00:00
Pierangelo Masarati
e559e61b4f
consistently use BER_* macros
2005-01-18 09:35:09 +00:00
Pierangelo Masarati
71ea8bb244
always invalidate freed memory\!
2005-01-18 09:29:14 +00:00
Pierangelo Masarati
8b26737c27
fix different issues with referrals in searches; remove unused tests; cleanup referrals in tests so that they don't get chased; improve schema checking in modrdn and updates in general; minor cleanup
2005-01-18 01:10:01 +00:00
Pierangelo Masarati
fa498ee015
various issues related to working with schemacheck off; allow referrals to be created as separate objectClasses, so they work with schemacheck on (may rework them to be treated as normal data)
2005-01-17 21:10:55 +00:00
Pierangelo Masarati
143937320b
remove dangling text pointer in case of success
2005-01-17 21:06:49 +00:00
Pierangelo Masarati
eb0421c471
fix several schema checking issues; add rename specific statement for entry renaming without losing ID (helps e.g. in renaming referrals, otherwise referential integrity would prevent del/add because of referenced stuff in ldap_referrals and ldap_entry_objclasses); referrals need schemacheck off otherwise objectClass chain is invalid (they need to be attached to another objectClass by now; will address this later)
2005-01-17 19:32:28 +00:00
Pierangelo Masarati
b4e37e518f
fixes for ITS#3480,3485,3489; implementation of DISCLOSE access for all operations (ITS#3472); ITS#3432.4; added value validate/pretty when applicable (see comments and #defines in back-sql.h)
2005-01-16 23:12:36 +00:00
Howard Chu
56e45fc1ae
Fix ITS#3490, set proper overlay context
2005-01-16 18:23:13 +00:00
Pierangelo Masarati
c8c043bd39
address ITS#3472/3480/3488/3489
2005-01-15 18:43:34 +00:00
Howard Chu
1dbe92c27b
Delete dubious use of be_syncinfo - only the consumer can write the
...
database, and it will only perform writes it received from the provider,
so referring back to the provider is pointless. (And of course, the
consumer never chases referrals.)
2005-01-15 10:39:23 +00:00
Howard Chu
8d0f39bb83
Cleanup slapcat usage
2005-01-14 16:23:50 +00:00
Howard Chu
9e8d2c5bb1
More cleanup
2005-01-14 16:20:15 +00:00
Pierangelo Masarati
06478f2265
silence warnings
2005-01-14 12:01:51 +00:00
Pierangelo Masarati
0079b3ce45
condition compilation of DISCLOSE checking (there's more to do)
2005-01-14 12:01:03 +00:00
Pierangelo Masarati
4644584a75
condition compilation of DISCLOSE checking
2005-01-14 11:51:16 +00:00
Pierangelo Masarati
7f8634e8fc
silence (a couple of) warnings
2005-01-14 11:50:24 +00:00
Pierangelo Masarati
53b8653730
small improvements; declare org_dn/org_ndn
2005-01-14 11:01:48 +00:00
Howard Chu
c8f3bbf9e5
ITS#3486 fix link order for static overlays
2005-01-14 07:13:07 +00:00
Howard Chu
2b66ee44bd
More cleanup of unused stuff
2005-01-14 05:57:58 +00:00
Howard Chu
aa27cb2262
Delete obsolete syncprovider stuff
2005-01-14 05:49:45 +00:00
Howard Chu
9f30e1e650
Delete obsolete syncprovider stuff
2005-01-14 05:19:51 +00:00
Howard Chu
7f5589174a
Fix cascading deletes
2005-01-14 05:11:38 +00:00
Howard Chu
27f7aa5b54
Minor cleanup
2005-01-14 05:10:23 +00:00
Howard Chu
495c315672
More consolidation for single consumer-context syncrepl
2005-01-14 04:26:59 +00:00
Howard Chu
b6fbfe8540
ITS#3463 additional fix
2005-01-14 02:08:02 +00:00
Pierangelo Masarati
014ee81c34
plug memory leak: bsi_attrs member
...
use tmpmemctx for bsi_attrs (should be used more for temporaries)
fix ITS#3480: allow to fetch all attrs or provide hints
fixed access check to entry for rename
TODO: fetch entries for access checking in selected code portions (e.g. rename)
2005-01-14 00:39:24 +00:00
Kurt Zeilenga
1780c8bf54
Only remove backends.c on make veryclean
...
Add dependencies
2005-01-14 00:12:14 +00:00
Howard Chu
f845c573b0
Single consumer context per database
2005-01-13 21:15:50 +00:00
Howard Chu
4c21a2712f
Fix prev commit
2005-01-13 21:14:52 +00:00
Howard Chu
93c56951ed
Use a single sessionlog per context, delete sid
2005-01-13 19:51:01 +00:00
Howard Chu
aa913f1bef
Use be_shadow_update, not be_isupdate
2005-01-13 19:02:08 +00:00
Howard Chu
bf27ba977b
Deleted syncrepl updatedn
2005-01-13 18:51:29 +00:00
Pierangelo Masarati
69fbd2e66e
propagate opattrs if shadow update
2005-01-13 18:43:59 +00:00
Kurt Zeilenga
3118f1fd2e
Fix backends.c VPATH builds
2005-01-13 17:30:07 +00:00
Sang Seok Lim
0291e294c5
Handling multi-valued attributes in Component Matching
2005-01-13 09:48:52 +00:00
Sang Seok Lim
eaa58e131c
handling multi-valued attrivutes in Component Matching
2005-01-13 09:48:20 +00:00
Pierangelo Masarati
5a7108ee1b
add '+' string concatenation operator
2005-01-13 09:21:11 +00:00
Pierangelo Masarati
7348603a53
fix ITS#3484
2005-01-12 23:22:56 +00:00
Pierangelo Masarati
4e06af2247
cosmetic cleanup
2005-01-12 21:02:58 +00:00
Pierangelo Masarati
4e6fd44213
the fixes to ITS#3475 make the referrals callback no longer required
2005-01-12 21:02:23 +00:00
Pierangelo Masarati
9885b55e9d
fix referral return in back-ldbm as well (same as ITS#3475)
2005-01-12 21:01:42 +00:00
Pierangelo Masarati
3bbfa91177
fix ITS#3483 (continuation of ITS#3472)
2005-01-12 18:55:40 +00:00
Pierangelo Masarati
6bf8b945dd
fix use of uninitialized var
2005-01-12 15:11:17 +00:00
Pierangelo Masarati
42dadd5712
typo
2005-01-12 14:34:46 +00:00
Pierangelo Masarati
d5238b91eb
further refinement of ITS#3461
2005-01-12 14:31:03 +00:00
Pierangelo Masarati
b381e1bcc8
cosmetic changes
2005-01-12 14:25:08 +00:00
Howard Chu
16f3cdeb19
More cleanup for prev commit
2005-01-12 02:32:48 +00:00
Howard Chu
53fcde0927
ITS#3463 don't muck with frontend's operations, just our detached ones
2005-01-12 01:49:00 +00:00
Howard Chu
b0da3a0e32
Clear write events after they're processed
2005-01-12 00:57:53 +00:00
Pierangelo Masarati
b46518ff77
silence warning for global scoped global ACLs
2005-01-12 00:53:50 +00:00
Pierangelo Masarati
056c5ba7c1
fix couple of bugs in recent 'disclose' commits; prepare for sending matchedDN when appropriate; note ITS#3480 access control issues
2005-01-12 00:28:37 +00:00
Howard Chu
b803b49e5f
ITS#3421 flush and close logfile before releasing lock
2005-01-12 00:17:12 +00:00
Howard Chu
0bc4b77527
Clean up unused bt_compare references
2005-01-11 22:38:39 +00:00
Howard Chu
89da582d69
Byte-order independence for HDB: dn2id format changed again.
2005-01-11 22:25:52 +00:00
Howard Chu
bd498d2996
Fix undetected deadlock
2005-01-11 22:08:06 +00:00
Howard Chu
98212b7e08
Start removing custom sort functions from hdb
2005-01-11 19:47:05 +00:00
Pierangelo Masarati
0e04985332
honor 'disclose' ACL on searchBase/compare/referral/matched (ITS#3472 and comments on -devel)
2005-01-11 19:37:55 +00:00
Pierangelo Masarati
f369e34049
honor 'disclose' ACL on searchBase/compare/referral/matched (ITS#3472 and comments on -devel)
2005-01-11 15:59:13 +00:00
Howard Chu
05648b22fb
Fix findmax when multiple matches are found
2005-01-11 05:00:59 +00:00
Pierangelo Masarati
4f9db2e2d7
suggested change for ITS#3475
2005-01-11 00:38:04 +00:00
Pierangelo Masarati
83d1e22b8c
don't malloc if proxyAuthz is the only control
2005-01-11 00:37:22 +00:00
Howard Chu
d140433c9f
ITS#3470 don't propagate error if hasSubordinates fails, it's not that
...
important.
2005-01-11 00:05:22 +00:00
Pierangelo Masarati
41d7c03e8b
clear out the error
2005-01-09 23:30:19 +00:00
Pierangelo Masarati
154ae48d69
put back chain overlay into back-ldap
2005-01-09 21:26:32 +00:00
Pierangelo Masarati
28b18b1869
minor cleanup
2005-01-09 21:25:12 +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
0ea4070eb1
clarify error message and allow -u (dryrun) option for slaptest, to circumvent database startup
2005-01-08 12:02:14 +00:00
Pierangelo Masarati
e5c58636de
enable if one suffix only is present
2005-01-08 11:33:51 +00:00
Pierangelo Masarati
cd2e651c26
ITS#3469: C99 compliance
2005-01-08 11:25:11 +00:00
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
3c0ee263b5
Move mkdir def. It should really go somewhere else...
2004-12-16 15:41:49 +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
Pierangelo Masarati
80c2bb5003
clarify why we don't accept scheme other than ldap:// in authz-regexps
2004-12-08 19:09:54 +00:00
Pierangelo Masarati
cad0d2b705
make sure global overlays don't use ora_e after the lock is released
2004-12-08 19:08:06 +00:00
Pierangelo Masarati
24a3f59e53
use pre-formatted log string in configure; note the failure reason for DN syntax checks
2004-12-08 19:07:24 +00:00
Pierangelo Masarati
af7079d32b
declare oc_bvfind_undef()
2004-12-08 19:06:10 +00:00
Jong Hyuk Choi
4984e157b1
misc cleanup
2004-12-08 08:12:15 +00:00
Howard Chu
97d7bdf0f4
ITS#3423 implement delete for ID sets
2004-12-08 04:47:29 +00:00
Howard Chu
0eab783e6a
ITS#3422, restore original select() behavior
2004-12-08 03:47:48 +00:00
Howard Chu
b8c6727dc9
Fix playlog search
2004-12-08 02:05:50 +00:00
Howard Chu
8bad70d957
Added sessionlog support. consumer needs work...
2004-12-08 00:47:24 +00:00
Howard Chu
99f2d0b49b
Let slap_get_commit_csn return the current CSN as well
2004-12-08 00:46:14 +00:00
Howard Chu
33bb06475b
Fix findpresent, include user's filter
2004-12-07 18:52:55 +00:00
Kurt Zeilenga
d616bd4ff8
cleanup
2004-12-07 18:40:47 +00:00
Howard Chu
d3d73a0b96
Delete unused slap_build_syncUUID_set()
2004-12-07 18:29:21 +00:00
Howard Chu
4ae3efbdd7
Rearrange shortcut check for context with no changes
2004-12-07 10:43:48 +00:00
Howard Chu
c14cf9c7c8
Preallocate syncuuid set instead of realloc/freeing
2004-12-07 10:05:24 +00:00
Pierangelo Masarati
f3a959970e
hardcode "uid" into slapd & improve previous commit
2004-12-07 10:01:48 +00:00
Howard Chu
b70d375964
Fix ITS#3420
2004-12-07 08:48:28 +00:00
Howard Chu
bc09291b81
restore code in search_cleanup to free ctrls
2004-12-07 02:58:33 +00:00
Howard Chu
c607449cd0
Write contextCSN during db_open if it's newer than was previously recorded
2004-12-07 02:20:15 +00:00
Howard Chu
fc9b1b7aca
Delete unused be_context_csn, cleanup pending csn entry
2004-12-06 23:17:58 +00:00
Howard Chu
e14322dcbf
Fix entry_release backend swapping
2004-12-06 22:13:19 +00:00
Howard Chu
e472ed00e2
Fix inequality cursor management
2004-12-06 21:25:16 +00:00
Howard Chu
4ffff34a65
Fix mod locking
2004-12-06 20:32:53 +00:00
Pierangelo Masarati
cc78fb525b
ITS#3419: values in built auth DNs may need DN escaping, so build them via ldap_dn2bv
2004-12-06 15:17:23 +00:00
Howard Chu
810abc1419
Better fix for prev commit
2004-12-06 07:38:09 +00:00
Howard Chu
89912db91e
Store entryIDs in big-endian order, no more custom sort function.
...
back-hdb still needs work.
2004-12-06 07:28:47 +00:00
Howard Chu
a518895b72
Fix previous commit
2004-12-06 07:27:09 +00:00
Howard Chu
3e5a2904e8
bdb_tool_dn2id_get should use bdb_dn2id, not duplicate the code
2004-12-06 07:25:33 +00:00
Howard Chu
70f375eae0
Fix GE inequality lookups, key was getting overwritten
2004-12-06 07:16:57 +00:00
Howard Chu
ee01d03766
Don't assert on short time strings, just ignore them.
2004-12-06 03:37:06 +00:00
Howard Chu
fb2d226a70
Add glue overlay
2004-12-05 21:15:48 +00:00
Howard Chu
7e2aea4994
Forced commit - add CVS ID tag
2004-12-05 20:57:34 +00:00
Howard Chu
ee9872f39f
Restored findcsn( MAX ), used at db_open time
2004-12-05 20:52:49 +00:00
Howard Chu
76ad79b7d7
More shutdown fixes
2004-12-05 08:19:28 +00:00
Howard Chu
de85fbc6e0
Fix prev commit
2004-12-05 07:30:12 +00:00
Howard Chu
25334fec4e
Make sure db_close only gets called once
2004-12-05 07:07:50 +00:00
Howard Chu
2c25924d28
Go back to original startup/shutdown behavior. Fix entry_release.
2004-12-05 06:44:54 +00:00
Howard Chu
8a4931c4d6
Fix typo
2004-12-05 03:06:01 +00:00
Howard Chu
8dd2d202e5
Fix defaultSearchBase
2004-12-05 02:10:50 +00:00
Howard Chu
30a6f4d24d
Better fix for ITS#3365, manage back-bdb's read locks so frontend/etc.
...
don't need to worry about them.
2004-12-05 02:00:19 +00:00
Howard Chu
dfb8c86dc3
Deleted subordinate keyword in favor of glue overlay
2004-12-04 20:08:56 +00:00
Howard Chu
8ac15e9069
Delete backglue.c in favor of glue overlay
2004-12-04 19:41:58 +00:00
Howard Chu
916e931065
Always exclude subordinates from top-level ops so glue overlay can
...
intercept. Now a single syncprov works over the entire glued context.
2004-12-04 19:26:22 +00:00
Howard Chu
36a3a1d62f
FIx ITS#3417,3418 bogus string arg handling
2004-12-03 17:53:07 +00:00
Howard Chu
b467dbb470
ITS#3404, fix uninit'd ctrl fields
2004-12-03 17:28:33 +00:00
Howard Chu
74da2306ff
Add a checkpoint task if time-based checkpointing is configured.
2004-12-03 17:11:39 +00:00
Howard Chu
5c8fd8bf11
Rename syncrepl_rq to slapd_rq, move to daemon.c
2004-12-03 16:49:23 +00:00
Pierangelo Masarati
2624711bc5
fix ITS#3413,3414; cleanup for readability; silence warnings
2004-12-03 10:11:43 +00:00
Pierangelo Masarati
564c34d131
fix ITS#3416
2004-12-03 08:41:06 +00:00
Howard Chu
5a5fc55a13
Fix ITS#3413, bad variable re-use
2004-12-03 03:39:27 +00:00
Howard Chu
a4f3a45b6d
Fix ITS#3412, bogus TLS option processing
2004-12-03 03:22:05 +00:00
Pierangelo Masarati
2d88c1b826
comment about helper requirements
2004-12-02 22:59:55 +00:00
Howard Chu
02a85a1c93
Hide CSN schema dependencies
2004-12-02 16:59:00 +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
1e577505eb
Add CSN syntax, matching rules (to support inequality indexing)
2004-12-02 09:05:26 +00:00
Howard Chu
f83b55b2a2
Avoid segfault if backend_destroy is called before frontendDB is created
2004-12-02 08:59:02 +00:00
Pierangelo Masarati
0cc024a370
more on DN munging; now works for all operations
2004-12-02 00:33:36 +00:00
Pierangelo Masarati
396743f62f
fix DN munging; also fix potential error when logging incomplete deletes
2004-12-01 23:16:21 +00:00
Sang Seok Lim
98485f5247
1) existing matching rules support in component filter
...
2) remove double buffering for decoded component values
3) caching decoded component assertion values
2004-12-01 22:11:55 +00:00
Pierangelo Masarati
6e12819387
allow undefined schema items to be returned by back-ldap and remapped by the rwm overlay
2004-12-01 21:47:13 +00:00
Howard Chu
996354e2dd
Pass entire entry to password_quality check module, not just attrs
2004-12-01 16:01:04 +00:00
Pierangelo Masarati
8866a28fb3
don't yell at regex styling that wraps all the suffix in a submatch
2004-11-30 22:50:07 +00:00
Jong Hyuk Choi
8771bdfcbb
restructuring and cleanup
2004-11-30 16:32:37 +00:00
Howard Chu
4869523567
Add comments, fix search args in syncrepl_entry
2004-11-30 11:08:25 +00:00
Pierangelo Masarati
0c65f51ab2
fix user/operational mix of attribute request
2004-11-30 01:49:06 +00:00
Pierangelo Masarati
66a66db3da
retry if addition of an entry previously added as glue fails; entryUUID must be added to mods in pretty and normalized form
2004-11-30 01:48:08 +00:00
Howard Chu
86ef9285b7
Delete define of SLAPD_OVER_GLUE
2004-11-30 01:40:58 +00:00
Pierangelo Masarati
e77570799b
essential support for refreshOnly syncrepl
2004-11-29 22:04:53 +00:00
Howard Chu
ad9f3ebe34
Backglue hastily modified as an overlay
2004-11-29 20:55:50 +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
7bdf2ab549
_operational should return SLAP_CB_CONTINUE
2004-11-29 19:33:35 +00:00
Pierangelo Masarati
9114b1b116
glue also in case of no such object, indicating that the suffix entry is missing yet (unordered results of initial content poll)
2004-11-29 19:03:55 +00:00
Howard Chu
7129b27810
Fix db_close
2004-11-29 14:17:16 +00:00
Pierangelo Masarati
6b1c641bc1
warn users of the need to use the rwm overlay
2004-11-29 12:40:36 +00:00
Howard Chu
ef2df3e398
Cleanup - enable config, delete unused code
2004-11-29 10:27:38 +00:00
Pierangelo Masarati
6c3715aff9
more on syncprov support
2004-11-29 09:36:22 +00:00
Howard Chu
4fec2f56df
Fix slap_known_controls initialization
2004-11-29 08:55:50 +00:00
Howard Chu
d47f98c2eb
Cleanup... never replicate syncConsumersubentries. Plug memleaks.
2004-11-29 06:51:44 +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
948aca3540
Partially revert previous commit. Fix startup csn generation.
...
Fix findbase initialization.
2004-11-29 05:54:55 +00:00
Howard Chu
0145d54325
In build_new_dn, rdn may be part of a larger string, use strncopy.
2004-11-29 04:03:56 +00:00
Pierangelo Masarati
2c89c53cda
fix typo
2004-11-29 00:53:43 +00:00
Pierangelo Masarati
873a5b73ff
first round at enabling back-sql as LDAPsync provider
2004-11-29 00:50:55 +00:00
Pierangelo Masarati
fc57a3e3f8
generate contextCSN if not available; don't fail if a referral is sent (or don't accept referrals?)
2004-11-29 00:48:26 +00:00
Pierangelo Masarati
870cc69c93
fix o_hdr use
2004-11-28 16:25:20 +00:00
Howard Chu
74b745454e
Use rdwr lock for si_mods to avoid deadlock
2004-11-27 20:34:12 +00:00
Howard Chu
8f64cb135f
Fix syncprov_db_close, only cleanup thrctx once
2004-11-27 16:05:49 +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
8d0cd119ab
Let the backend know there's a sync search
2004-11-27 14:54:49 +00:00
Howard Chu
865f0db180
Add checkpointing to save contextCSN periodically. Read contextCSN
...
on startup, save on shutdown.
2004-11-27 14:52:28 +00:00
Howard Chu
30333b989c
Let the overlay run before the backend in bi_db_close
2004-11-27 14:43:07 +00:00
Howard Chu
38b430be3c
Fix prev commit
2004-11-27 11:50:54 +00:00
Howard Chu
d3ced75fe7
Add SLAP_DBFLAG_OVERLAY
2004-11-27 11:45:54 +00:00
Howard Chu
b4eceddb52
Add slap_find_control_id
2004-11-27 11:45:07 +00:00
Howard Chu
ed9925f6d9
Cleanup controls
2004-11-27 10:49:47 +00:00
Pierangelo Masarati
27529430a6
wait until syncprov freezes
2004-11-27 10:16:15 +00:00
Howard Chu
1bb93ae084
Fix modify serialization
2004-11-27 08:55:04 +00:00
Howard Chu
584d5355b8
Fix overlay aux_operational, add contextCSN as operational attribute
...
of suffix entry
2004-11-27 08:30:44 +00:00
Howard Chu
8866cc9c92
Force a refresh if the search base has changed
2004-11-27 07:47:24 +00:00
Howard Chu
ee20d206cd
Cleanup
2004-11-27 07:29:10 +00:00
Howard Chu
08564beb6b
Serialize multiple modifies of the same entry (ala seqmod.c)
2004-11-27 07:05:24 +00:00
Howard Chu
287d5be13c
Fix op_cleanup
2004-11-27 07:04:52 +00:00
Howard Chu
8d9509d8d0
Fix abandon sequencing
2004-11-27 06:17:24 +00:00
Howard Chu
5dc1dd1441
Added abandon/cancel support
2004-11-27 01:26:12 +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
a2400fc0f8
Self-contained detached operation
2004-11-26 23:10:48 +00:00
Howard Chu
2620b4084d
Added response queuing for updates occurring during a refresh
2004-11-26 21:24:40 +00:00
Howard Chu
d413097d8b
Fix prev commit
2004-11-26 17:32:36 +00:00
Howard Chu
e6dd9ec8a2
More Opheader fixes
2004-11-26 10:10:29 +00:00
Howard Chu
c2b339d456
More syncprov fixes. test019 now passes.
2004-11-26 09:40:22 +00:00
Howard Chu
3426a11983
More BDB_PSEARCH cleanup
2004-11-26 09:39:33 +00:00
Howard Chu
127a85b553
More Operation/Opheader fixes
2004-11-26 09:39:14 +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
Howard Chu
dca809ff8d
Revert previous commit, it breaks everything.
2004-11-25 07:03:43 +00:00
Howard Chu
bf97a1f865
Cleanup, add some more descriptive comments.
...
Still needs: error checking, queuing results when refresh is in progress
2004-11-24 20:34:28 +00:00
Jong Hyuk Choi
7fa860ef16
Add the omitted part from the original buddy allocator commit
2004-11-24 17:46:47 +00:00
Jong Hyuk Choi
83fd442ded
Omitted from the original buddy allocator commit
2004-11-24 17:27:25 +00:00
Howard Chu
a6d2bfe9a4
Persist passes test018
2004-11-24 17:07:14 +00:00
Howard Chu
fe4095ebc3
Use normalized UUID...
2004-11-24 16:13:20 +00:00
Howard Chu
4e530bf54d
First pass at persist, not working
2004-11-24 15:58:38 +00:00
Howard Chu
02e171e886
Use BackendInfo instead of direct references to back-ldap functions
2004-11-24 11:31:43 +00:00
Howard Chu
a057ff5bee
ITS#3401 avoid empty make target when SLAPD_DYNAMIC_BACKENDS is empty
2004-11-24 06:41:21 +00:00
Howard Chu
6170a2bbb4
Fix ITS#3400, move ebadf declaration
2004-11-24 05:27:59 +00:00
Pierangelo Masarati
dceaa05c0e
should fix compile when SLAPD_ACI_ENABLED is undefined
2004-11-23 21:20:13 +00:00
Jong Hyuk Choi
7891097a79
remove schema which was used for component match testing
2004-11-23 17:10:38 +00:00
Howard Chu
dbe5e00929
Use SLAP_CONTROL_* constants
2004-11-23 16:02:07 +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
50ed4465fb
slap_known_controls is now an array. (control.c r1.117)
2004-11-23 14:45:36 +00:00
Howard Chu
6bbca5e368
Now that we have a fixed number of slots for controls, don't bother
...
realloc'ing slap_known_controls.
2004-11-23 14:42:04 +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
Howard Chu
99ee94a3de
Tweak findcsn conditions for validating cookie csn
2004-11-22 03:56:27 +00:00
Howard Chu
09e2035c39
Passes test017
2004-11-22 03:24:59 +00:00
Howard Chu
c5006f4b87
Fix modtail initialization in loop
2004-11-22 02:11:15 +00:00
Howard Chu
e49c13b874
More refresh working...
2004-11-21 18:25:02 +00:00
Howard Chu
884ab2e0c7
Getting refresh working
2004-11-21 17:59:21 +00:00
Howard Chu
8632d8cd04
BDB 4.3 compatibility - errcall prototype
2004-11-21 16:50:24 +00:00
Howard Chu
70d3e8f102
Don't bother including <sys/epoll.h> if we're not using epoll.
2004-11-21 02:18:26 +00:00
Pierangelo Masarati
f93d4a31e8
allow a "users" type in ACI
2004-11-20 14:07:07 +00:00
Pierangelo Masarati
cc0353610f
more cleanup and ITS number
2004-11-20 12:12:57 +00:00
Pierangelo Masarati
c75386a279
cleanup fix to ITS#3303
2004-11-20 12:07:39 +00:00
Pierangelo Masarati
40762c524a
fix ITS#3303
2004-11-20 11:55:46 +00:00
Pierangelo Masarati
1e650374c2
add more semantics to the "type" field; fix a bug in anonymous operations; treat children aci_mask() as internal searches
2004-11-20 11:45:05 +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
2a50cbffd1
Use avl_find2, not avl_find
2004-11-20 00:55:58 +00:00
Howard Chu
87c74c2d52
Cleanup, delete test define
2004-11-19 23:45:31 +00:00
Howard Chu
d7c5ccabe9
Use exop_is_write() macro
2004-11-19 23:27:02 +00:00
Howard Chu
59b50101bd
Overlay for serializing modifications of a specific entry without
...
using backend-specific locks
2004-11-19 23:22:49 +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