Howard Chu
9d787d8d42
ITS#5489 move assert
2008-05-23 15:29:12 +00:00
Howard Chu
a572267f60
ITS#5526 cleanup config structs
2008-05-23 11:47:37 +00:00
Pierangelo Masarati
ffffa52470
revert test logic
2008-05-22 17:43:12 +00:00
Howard Chu
4c8efee4a6
Fix bei_state access
...
http://www.openldap.org/lists/openldap-devel/200805/msg00073.html
2008-05-19 16:19:59 +00:00
Howard Chu
b6b3461cf9
Do connections_init() sooner
2008-05-18 15:58:10 +00:00
Pierangelo Masarati
7db4c6dabc
fix comment
2008-05-17 11:56:10 +00:00
Pierangelo Masarati
91d337fb29
fix handling of multiple attrs in URI (ITS#5516)
2008-05-17 11:55:50 +00:00
Pierangelo Masarati
20e8da9ba7
lookup entries as LDAP_REQ_SEARCH (ITS#5513)
2008-05-17 11:36:44 +00:00
Hallvard Furuseth
08e2ce2d1d
parenthesize some macro args
2008-05-17 00:05:54 +00:00
Howard Chu
96d5ed5bc5
ITS#5465 ignore ops without queued CSNs
2008-05-13 21:57:19 +00:00
Howard Chu
c7a49fcfc5
ITS#5506 reset op2.o_extra
2008-05-12 18:33:05 +00:00
Howard Chu
8921793615
ITS#5503 integerFilter keys were not terminated
2008-05-10 00:28:03 +00:00
Emmanuel Dreyfus
a837855068
Fix an error in debug message, and correctly keep track of attribute count
...
after a mod_replace
2008-05-09 21:49:47 +00:00
Emmanuel Dreyfus
8768d99013
Add attribute size and count constraints to slapo-constaint
...
Approved by Ando
Usage example:
overlay constraint
constraint_attribute jpegPhoto size 131072
constraint_attribute userPassword count 3
2008-05-09 12:59:16 +00:00
Howard Chu
9ce205818e
ITS#5493 always send cookie with delta-sync entries
2008-05-09 01:51:26 +00:00
Howard Chu
db693093a1
Use network-timeout instead
2008-05-09 00:08:19 +00:00
Howard Chu
f488fa060a
Use underscore in network_timeout
2008-05-08 13:15:40 +00:00
Howard Chu
198b14be90
ITS#5486, fix rev 1.219. Must never use s_op directly, must always use
...
a copy.
2008-05-06 03:03:47 +00:00
Howard Chu
b2a0eb7075
Fix prev commit
2008-05-01 23:56:01 +00:00
Howard Chu
26172674b5
Cleanup extra debug in prev commit
2008-05-01 23:02:52 +00:00
Howard Chu
f37962d042
Propagate o_extra too
2008-05-01 22:55:29 +00:00
Howard Chu
aeedb72e91
Fix prev commit
2008-05-01 13:25:15 +00:00
Howard Chu
c91704d811
Use o_extra instead of o_private
2008-05-01 12:49:35 +00:00
Howard Chu
b0ffd08504
ITS#5490 callback stack may be NULL
2008-04-30 23:50:08 +00:00
Howard Chu
b94eac4778
Fix prev commit (again) - set in wrong order
2008-04-30 18:35:02 +00:00
Howard Chu
bdd493380d
Fix prev commit
2008-04-30 12:52:45 +00:00
Howard Chu
b16478a5ca
Avoid queueing response on abandoned psearches
2008-04-29 22:09:12 +00:00
Howard Chu
9b516293b9
Fix prev cache.c commit
2008-04-29 21:44:47 +00:00
Howard Chu
4673c99e96
More for ITS#5470, add csns to presence search filter in MMR
2008-04-29 01:05:09 +00:00
Pierangelo Masarati
2fe411e337
avoid potential deadlock?
2008-04-28 23:26:45 +00:00
Howard Chu
64315e3087
ITS#5451 glue deadlock fix
2008-04-28 12:53:04 +00:00
Howard Chu
a5037b4c5b
Fix comment typo
2008-04-28 11:20:34 +00:00
Howard Chu
a9d192df2b
Fix delete deadlock
2008-04-28 11:17:52 +00:00
Pierangelo Masarati
74ad5210c0
cleanup
2008-04-26 15:47:06 +00:00
Pierangelo Masarati
c965d2c86d
add mapping to dynamic attribute generation (patch by Emmanuel Dreyfus, with some rework; ITS#5466)
2008-04-26 15:42:01 +00:00
Howard Chu
90a45655c2
ITS#5484 remove syncop from runq before freeing it
2008-04-24 18:35:35 +00:00
Howard Chu
fd0699edf4
Fix typo in 1.389
2008-04-24 10:19:20 +00:00
Howard Chu
75eecdc539
ITS#5346 overlay_db_open needs to preserve the original *be.
2008-04-23 10:31:22 +00:00
Howard Chu
c0f5fad0f8
For ITS#5346 - reintroduce bd_self pointer (from 2008-03-13)
2008-04-23 10:23:00 +00:00
Pierangelo Masarati
a4d14fb2ef
missing numvals (ITS#5481)
2008-04-21 16:43:50 +00:00
Howard Chu
1af2849f7c
ITS#5470 also ignore presentlist if number of CSNs don't match
2008-04-19 23:27:49 +00:00
Pierangelo Masarati
49bb4d5633
fix typo in error message
2008-04-17 20:57:22 +00:00
Pierangelo Masarati
d198435c51
fix abstract class inheritance check (ITS#5474)
2008-04-17 20:49:59 +00:00
Howard Chu
26c3fd67b8
ITS#5470 ignore presentlist on partial multimaster refreshes
2008-04-17 01:42:40 +00:00
Howard Chu
f8a012cc83
Revert prev commit
2008-04-17 00:03:06 +00:00
Howard Chu
2abce97228
ITS#5470 don't return any data at all until we have a ctxcsn
2008-04-16 10:37:44 +00:00
Hallvard Furuseth
04a7b8bf70
For ITS#5408: Handle special chars in filenames, in particular on Windows.
...
When upgrading, may need to slapcat/slapadd the database if back-ldif
is used as a general backend with chars like ':' or Windows' special
chars in DNs.
2008-04-16 00:09:25 +00:00
Hallvard Furuseth
66bedd2962
For ITS#5408: Cleanup: No functionality change.
...
Change dn2path(), get_entry() and move_entry() prototypes/usage.
Remove unused statements/initializations. get_entry() now returns
a result code, reducing result code handling a bit.
2008-04-15 22:30:40 +00:00
Hallvard Furuseth
e67144ca7c
For ITS#5408: back-ldif cannot currently handle multiple database suffixes.
...
So make olcDbDirectory SINGLE-VALUE and set SLAP_DBFLAG_ONE_SUFFIX.
Take advantage of that in ldif_back_referrals().
2008-04-15 22:22:38 +00:00
Howard Chu
cfb478679f
ITS#5469 check earlier for write waiters
2008-04-15 22:17:50 +00:00
Pierangelo Masarati
66b581643f
make pseudoroot-bind-defer TRUE by default (part of ITS#5440 fix)
2008-04-12 11:33:48 +00:00
Howard Chu
19ad1e2a74
Cleanup prev commit
2008-04-11 12:20:01 +00:00
Howard Chu
61b5f6d652
ITS#5454 regular mutex lock is safe
2008-04-11 12:12:06 +00:00
Hallvard Furuseth
0669adf635
ITS#5340 fixes:
...
slap_send_ldap_result() when rs->sr_flags & REP_REF_MUSTBEFREED:
- Do not return with rs->sr_ref == <freed data>, set it to NULL instead.
- Plug memory leak when op->o_domain_scope || op->o_protocol<LDAP_VERSION3.
send_ldap_response():
- Paranoia: Reset REP_MATCHED_MUSTBEFREED and REP_REF_MUSTBEFREED,
in case the caller reuses the SlapReply without resetting the flags.
2008-04-10 12:54:11 +00:00
Hallvard Furuseth
eaec3a56e4
code cleanup: remove fake loop - vestige from 1.136, obsolete since 1.174
2008-04-09 18:24:22 +00:00
Howard Chu
204b035a9c
ITS#5383 use public OID for config schema, no more hiding
2008-04-09 15:22:23 +00:00
Howard Chu
d9dac0c8bc
ITS#5376, #5378 delta-sync should fallback in other cases too
2008-04-09 12:01:11 +00:00
Howard Chu
f0bb1739a7
ITS#5409 must reset pagedresults state if no cookie is provided
2008-04-09 03:08:38 +00:00
Howard Chu
91c23cbc4d
ITS#5455 be sure to reset bei_finders / bei_state
2008-04-09 00:12:08 +00:00
Hallvard Furuseth
9cdcd58afc
constify 1st arg to register_at()/register_at(), needed for config.h rev 1.50
2008-04-06 20:04:10 +00:00
Howard Chu
8027d8afb0
ITS#5454 proposed fix. May still need to change initial trylock to a
...
regular mutex_lock.
2008-04-05 00:45:59 +00:00
Howard Chu
d989f19668
ITS#5450 fully terminate value lists
2008-04-04 00:01:02 +00:00
Howard Chu
e1f518ef1c
ITS#5419 only Hidden DBs get special treatment
2008-04-03 10:04:56 +00:00
Howard Chu
626608f5f2
ITS#5437, #5444 if numcsns don't match, set changed flag
2008-04-03 08:43:48 +00:00
Howard Chu
77e7b92c87
ITS#5439 fix ID_NOCACHE handling
2008-04-03 08:02:11 +00:00
Howard Chu
f2de258e3d
ITS#5442 slapd_rq mutexes must always be used
2008-04-02 03:08:06 +00:00
Pierangelo Masarati
8cb162ef44
fix bitwise test (ITS#5445)
2008-03-31 16:58:03 +00:00
Pierangelo Masarati
f3eeb81458
a connection cannot be privileged and be in the avl tree at the same time (related to ITS#5440?)
2008-03-29 18:17:21 +00:00
Pierangelo Masarati
71cabe40c3
print targets' status
2008-03-29 18:16:34 +00:00
Pierangelo Masarati
f32f99211e
make stamp a long no matter what time_t is, to print it accordingly (ITS#5441)
2008-03-29 16:22:50 +00:00
Pierangelo Masarati
f049fbb206
avoid system call when not needed (ITS#5441)
2008-03-29 12:11:44 +00:00
Howard Chu
50a26bec0a
ITS#5434 again
2008-03-25 05:08:21 +00:00
Pierangelo Masarati
f696cecb77
work around paranoid check (ITS#5412)
2008-03-22 16:01:23 +00:00
Howard Chu
fc69e61be6
ITS#5432 don't send cookie with delete set if there's no true delete CSN
2008-03-21 00:09:24 +00:00
Howard Chu
c495cba4af
Add dn2id_get / modify support
2008-03-20 23:34:04 +00:00
Howard Chu
213c9358b8
ITS#5430 syncprov/glue can be used two different ways
2008-03-20 10:58:00 +00:00
Howard Chu
294da7ed11
ITS#5435 ConfigReply arg must be non-NULL
2008-03-20 01:24:33 +00:00
Howard Chu
261d2420f4
ITS#5434 search thru other overlays when present
2008-03-20 00:31:42 +00:00
Howard Chu
0abf40063f
ITS#5433 checkpoint must write to master DB
2008-03-20 00:26:14 +00:00
Howard Chu
d3e8df3940
ITS#5432 fix compare_csns loop conditions
2008-03-20 00:10:31 +00:00
Howard Chu
d711b538ad
do_syncrep1 always reads contextCSN from the main DB
2008-03-20 00:05:22 +00:00
Pierangelo Masarati
3196e65ff2
Add operation should not require naming attrs (ITS#5412)
2008-03-15 20:33:31 +00:00
Pierangelo Masarati
956b50645c
allow slapo-refint(5) to implement global referential integrity (ITS#5428)
2008-03-15 18:27:24 +00:00
Pierangelo Masarati
27a61d9411
use OID for dnSubtreeMatch (ITS#5427)
2008-03-15 18:22:25 +00:00
Pierangelo Masarati
14c425b922
s/leave/func_leave/ (ITS#5411)
2008-03-15 18:16:21 +00:00
Howard Chu
f77bd7ff6e
ITS#5426 replace the entire contextCSN in updateCookie
2008-03-14 18:00:09 +00:00
Howard Chu
4097d261bb
Use <ldap_queue.h> macros for prev commit
2008-03-14 16:49:53 +00:00
Howard Chu
bff19c4ac4
More for prev commit
2008-03-13 14:37:07 +00:00
Howard Chu
a55123477a
ITS#5419 introduce OpExtra / op->o_extra to supersede op->o_private
2008-03-13 13:14:52 +00:00
Howard Chu
0cb9cb04ea
ITS#5401 make sure connection is still alive before detaching op
2008-03-13 10:49:32 +00:00
Howard Chu
e3849e1a9c
Fix prev commit, check for NULL syncCookie
2008-03-13 07:30:56 +00:00
Howard Chu
b101dab6c6
More fixes for syncCookie updating
2008-03-13 07:02:26 +00:00
Howard Chu
86c4dca647
Partially revert prev, redundant.
2008-03-13 05:41:12 +00:00
Howard Chu
af80427965
In mirrormode, also ask syncprov for initial cookie. It may have been
...
cached from a recent update.
2008-03-13 05:18:28 +00:00
Pierangelo Masarati
d22b8532ee
s/leave/func_leave/ to avoid OSF1 name clashing (ITS#5411)
2008-03-12 22:45:18 +00:00
Pierangelo Masarati
5417aa895a
use the replication persistent search identity to check whether a modification must be replicated (ITS#5418)
2008-03-12 22:31:28 +00:00
Howard Chu
013f78090d
ITS#5413 fix typo
2008-03-12 02:57:49 +00:00
Hallvard Furuseth
cfc5c7cc68
ITS#5339: fix referral rewrite, remove pointless default_referral code
2008-03-10 19:28:40 +00:00
Howard Chu
a287573d2d
ITS#5407 more checks for pool pausing
2008-03-08 23:51:07 +00:00
Howard Chu
26c08cb64a
Fix prev commit (thanks Ando)
2008-03-08 22:12:57 +00:00