Pierangelo Masarati
9c5b22ceda
remove data when freed (blind fix to ITS#5607)
2008-07-12 16:26:27 +00:00
Pierangelo Masarati
18a333bfcf
trim extra brackets (ITS#5609); NULL-terminate string
2008-07-12 16:03:31 +00:00
Pierangelo Masarati
f48d99cb77
fix quarantine (ITS#5592)
2008-07-12 15:22:39 +00:00
Pierangelo Masarati
e6446d3113
make sure rwm_op_cleanup() is called also in case of bind (in partial fulfillment of ITS#5601)
2008-07-12 11:53:49 +00:00
Howard Chu
f911e0f5d1
ITS#5569 ignore internal ops when validating pwd modify
2008-07-08 19:02:38 +00:00
Rein Tollevik
a42c7f96f5
ITS#5600 Replace objectClass, delete/add can fail if superior is added.
2008-07-08 13:55:09 +00:00
Howard Chu
4af6e9c4c6
Fix 1.40, release entry with same backend that obtained it
2008-07-08 06:00:32 +00:00
Pierangelo Masarati
c6f12694fc
allow proxies to filter out search references (ITS#5593)
2008-07-07 21:25:59 +00:00
Rein Tollevik
f94cd4b518
ITS#5597 fix CSN compare when provider has CSNs with other sids.
2008-07-06 14:15:42 +00:00
Howard Chu
9b25fa4c38
ITS#5578 fix binary search
2008-07-05 23:26:41 +00:00
Rein Tollevik
99d004189a
ITS#5596 contextCSN updates are internal operations.
2008-07-04 23:44:39 +00:00
Pierangelo Masarati
103c7b48e2
allow olcSpReloadHint in olcSyncProvConfig (ITS#5591)
2008-07-02 22:37:34 +00:00
Howard Chu
731aad4c4d
ITS#5589 delcsn / NULL cookie
2008-07-02 16:27:17 +00:00
Pierangelo Masarati
be9d79d2a7
fix serialNumber and issuer parsing (ITS#5588)
2008-07-01 23:06:01 +00:00
Howard Chu
34d074930c
ITS#5584 - treat empty Replace like Delete
2008-07-01 11:48:10 +00:00
Howard Chu
4e21f65ec0
Fix prev commit
2008-06-30 23:16:02 +00:00
Pierangelo Masarati
292b96c4e1
extra needed by config (ITS#5355)
2008-06-30 10:01:41 +00:00
Howard Chu
a5d0e36798
ITS#5571 prevent Adds from displacing {0}config
2008-06-29 22:48:40 +00:00
Howard Chu
f25436af80
Fix entry insert order
2008-06-29 22:26:59 +00:00
Pierangelo Masarati
48855fcdef
make sure the strfilter is in normal form (ITS#5581)
2008-06-29 22:19:14 +00:00
Howard Chu
17af50abf3
syntax oid macros added
2008-06-29 21:53:29 +00:00
Pierangelo Masarati
b4894ccd81
don't lookup dg* attrs more than needed (ITS#5583)
2008-06-29 21:50:05 +00:00
Howard Chu
010295e9e7
More symbols for ITS#5355
2008-06-29 21:13:03 +00:00
Howard Chu
27867de8ad
ITS#5383 - forgot to change configContext OID
2008-06-29 03:56:15 +00:00
Howard Chu
b86714cfb2
ITS#5440 add eq rules for olcRootDN / olcSchemaDN
2008-06-29 03:42:46 +00:00
Howard Chu
417ab52d45
ITS#5540 check for structural_class() failures
2008-06-29 03:35:54 +00:00
Rein Tollevik
e5dfb18abc
ITS#5564 ignore clients contextCSN when doing full reload.
2008-06-18 19:38:39 +00:00
Rein Tollevik
82cb2a1f05
ITS#5563 don't die if there are no listeners when matching serverID URL.
2008-06-16 14:45:30 +00:00
Pierangelo Masarati
a64b74b014
handle negative caching (ITS#5546)
2008-06-14 15:05:00 +00:00
Pierangelo Masarati
fa612acf41
if there is only one member_ad, and it's not mapped, consider it as old-style member listing
2008-06-14 12:39:47 +00:00
Howard Chu
04c841209d
ITS#5558 fix buffer count
2008-06-14 02:50:59 +00:00
Howard Chu
cd5e10250a
ITS#5557 plug leak from skipping over rset value
2008-06-13 23:06:50 +00:00
Rein Tollevik
06379f9cf9
ITS#5548 use syncrepl Connection when evaluating filter and acl.
2008-06-13 15:55:01 +00:00
Ralf Haferkamp
2688180f95
Allow unquoted DNs with whitespaces (ITS#5552)
2008-06-12 21:12:35 +00:00
Ralf Haferkamp
b3b2aa70f3
enable back-config delete support with LDAP_DEVEL
2008-06-12 11:51:05 +00:00
Ralf Haferkamp
3a0037cc53
Experimental code for delete support in back-config. Only overlays
...
supported currently.
2008-06-12 11:46:57 +00:00
Howard Chu
b13d108686
Config should presrve OID macros in attr syntax field as well
2008-06-05 18:41:14 +00:00
Pierangelo Masarati
f615fa44cf
pass ConfigReply to slapi overlay initialization
2008-05-31 18:44:40 +00:00
Ralf Haferkamp
9d72509d05
pass ConfigReply into overlay_config() to allow progating error messages
...
back through back-config
2008-05-30 14:49:24 +00:00
Howard Chu
83c16b8fc7
ITS#5337 fix maxcsn search at startup
2008-05-29 23:48:35 +00:00
Howard Chu
4b2c003907
More for ITS#5536
2008-05-29 23:31:05 +00:00
Howard Chu
a709d8b69a
Fix rev 1.220 - remove extra free_syncop()
2008-05-29 16:58:32 +00:00
Howard Chu
5a97371ef3
ITS#5536 send SID for glued DBs as well as multimaster
2008-05-29 01:46:19 +00:00
Howard Chu
684a213f0b
ITS#5488 from Rein Tollevik: propagate syncrepl contextCSN to providers
2008-05-28 02:46:35 +00:00
Howard Chu
b92472c3e4
ITS#5487 from Rein Tollevik: syncprov_findbase searched wrong backend
2008-05-28 02:45:18 +00:00
Howard Chu
d14ebfc070
ITS#5461 initialize rs->sr_tag, sr_msgid for Abandons too
2008-05-28 01:48:41 +00:00
Howard Chu
61a70b4f96
ITS#5403 fix sasl_ssf retrieval on 64 bit Solaris
2008-05-28 01:43:05 +00:00
Howard Chu
3c24f1f884
More for #5511
2008-05-27 22:39:12 +00:00
Pierangelo Masarati
88bc524422
s/PATH_MAX/MAXPATHLEN/ (ITS#5531)
2008-05-26 20:53:16 +00:00
Ralf Haferkamp
c8fcb58fbb
Allow updating (ADD/DEL within a single modify operation) the index
...
configuration of an attribute (ITS#5521)
2008-05-26 17:38:32 +00:00
Pierangelo Masarati
62904cf50d
allow to customize the modifiersName of internal modifications (partially addresses ITS#5505)
2008-05-24 11:57:18 +00:00
Howard Chu
61198ee41c
Fix prev commit
2008-05-23 16:48:46 +00:00
Howard Chu
cd7227b4c6
ITS#5511 make room for filter's terminating NUL character
2008-05-23 15:40:15 +00:00
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
Pierangelo Masarati
ec8466ec83
invalidate connection handler when ldap_sasl_interactive_bind_s() for internal error (ITS#5404); fix response tag
2008-03-08 15:41:17 +00:00
Howard Chu
44b1af6e65
ITS#5405 fix race condition
2008-03-08 02:00:36 +00:00
Pierangelo Masarati
9ca53f98ed
fix attribute description parsing (ITS#5402)
2008-03-06 23:30:54 +00:00
Howard Chu
41379411a3
Revert prev commit, impacts too much to take advantage
2008-03-04 10:09:12 +00:00
Howard Chu
92e23b13bd
Add attr_free_x() - use memctx
2008-03-04 09:43:51 +00:00
Howard Chu
7b635c7054
Deleting, not yet ready for prime time...
2008-03-03 10:18:09 +00:00
Howard Chu
da6fdf70a4
MySQL NDB Cluster backend (experimental)
2008-03-02 15:14:53 +00:00
Pierangelo Masarati
b23e4f15a9
make sure orr_newrdn is passed correctly to libldap (ITS#5397)
2008-02-28 16:22:23 +00:00
Pierangelo Masarati
31f06b91af
don't try to dereference NULL pointer (ITS#5388)
2008-02-25 16:18:36 +00:00
Pierangelo Masarati
282fccbb3e
detect write errors (ITS#5387)
2008-02-25 16:14:45 +00:00
Howard Chu
ccaf69a7bc
Tweak order of operational attrs
2008-02-22 14:17:43 +00:00
Howard Chu
46273b9c4e
const strings
2008-02-18 23:11:12 +00:00
Pierangelo Masarati
a20f8b5f97
don't denormalize invalid values (ITS#5386)
2008-02-18 19:47:07 +00:00
Pierangelo Masarati
cd753a1f58
allow tracing of set failures
2008-02-17 22:35:29 +00:00
Pierangelo Masarati
4b72f44b14
fix optional URI attrs handling in sets (ITS#5384)
2008-02-17 22:33:54 +00:00
Pierangelo Masarati
2df4675ac3
don't set sm_nvalues unless required (ITS#5375)
2008-02-14 15:15:53 +00:00
Howard Chu
c8d5bcf0c7
ITS#5379 HAVE_TLS dependency
2008-02-14 11:18:22 +00:00
Quanah Gibson-Mount
b2b8a3a0bf
ITS#5376: Drop permissive modify, it isn't necessary
2008-02-13 19:02:57 +00:00
Howard Chu
ec5a7a9576
ITS#5376 must abandon current session before starting new refresh
2008-02-13 07:37:29 +00:00
Howard Chu
77618fae10
ITS#5376 modifies need to be permissive due to refresh/fallback sync
2008-02-13 07:09:18 +00:00
Howard Chu
947e3bbe1d
ITS#5376 - deltasync must fallback for missing entries
2008-02-13 04:36:58 +00:00
Howard Chu
8bfbbf6901
ITS#5373 allow delete/replace of userpassword without supplying new one
2008-02-12 22:53:25 +00:00
Howard Chu
20584e94f4
ITS#5370 slap_op_time mutex
2008-02-12 21:27:15 +00:00
Howard Chu
df1aa2fa89
Fix prev commit
2008-02-12 21:18:30 +00:00
Howard Chu
09e624ce6a
ITS#5374 don't perform mod_cleanup after a successful response
2008-02-12 20:57:05 +00:00
Howard Chu
f26657d81c
In do_syncrepl, don't wait if a previous syncrepl thread is still running.
2008-02-12 18:49:37 +00:00
Quanah Gibson-Mount
8a7ae2def9
Add missing CVS tags
2008-02-12 02:01:30 +00:00
Quanah Gibson-Mount
a2e10091f6
Fix missing CVS tag
2008-02-12 02:00:13 +00:00
Quanah Gibson-Mount
4928934137
Add missing cvs tag
2008-02-11 22:29:11 +00:00
Hallvard Furuseth
5b526d2544
ITS#5328 - cosmetic cleanup (0 -> LDAP_SUCCESS)
2008-02-11 21:07:25 +00:00
Hallvard Furuseth
64bda128c6
ITS#5328 - return LDAP result code from null_back_entry_get().
2008-02-11 21:05:12 +00:00
Hallvard Furuseth
61140d66a0
ITS#5328:
...
Do not send errors (other than referral) from ldif_back_referrals().
Return LDAP result code from ldif_back_entry_get().
2008-02-11 21:04:05 +00:00
Hallvard Furuseth
01ec3c64ea
ITS#5328 - do not send errors (other than referral) from be->be_chk_referrals()
2008-02-11 20:59:40 +00:00
Hallvard Furuseth
8a703aba83
ITS#5328 - return LDAP result code from config_back_entry_get (back-config bi_entry_get_rw)
2008-02-11 20:56:46 +00:00
Hallvard Furuseth
9ebe788370
ITS#5344: modrdn check for affectsMultipleDSAs and for new DN above/below self
2008-02-11 17:29:55 +00:00
Howard Chu
d64f5be105
ITS#5368 partially revert 1.239
2008-02-11 08:53:11 +00:00
Howard Chu
525f266d10
ITS#5367 revert prev commit
2008-02-11 00:19:43 +00:00
Hallvard Furuseth
84c2a01c3b
ITS#5364, thread pool efficiency:
...
Use ldap_pvt_thread_pool_pausing(): pause check for slapd without locking.
2008-02-10 16:25:05 +00:00
Howard Chu
ae471f78c3
ITS#5360 move tls option setup
2008-02-10 06:29:40 +00:00
Howard Chu
584c7fb8be
Debug info for CSN tracking (ITS#5362)
2008-02-10 02:18:22 +00:00
Howard Chu
32a082c24b
Cleanup
2008-02-10 02:10:28 +00:00
Howard Chu
99e1adc1f2
Cleanup debug msg, check for redundant updates
2008-02-10 02:08:08 +00:00
Howard Chu
5cfa1386ea
ITS#5362 syncrepl_updateCookie doesn't need to graduate_commit_csn, the
...
backends already do it.
2008-02-10 02:06:31 +00:00
Howard Chu
90e644a1e9
Cleanup bdb_next_id unused arg
2008-02-10 00:56:44 +00:00
Howard Chu
a3262ff239
ITS#5332 someone else may free the entry as soon as we unlock it
2008-02-08 06:32:41 +00:00
Howard Chu
f481ffef9c
ITS#5355 use bi_extra instead of calling directly into back-ldap
2008-02-08 02:01:17 +00:00
Ralf Haferkamp
a1612ae911
Fix crash when no-op control is used (ITS#5358)
2008-02-07 12:06:24 +00:00
Ralf Haferkamp
4db84db74b
Don't emit global ACLs for other database than frontendDB (ITS#5352)
2008-02-05 12:16:21 +00:00
Pierangelo Masarati
137172f952
allow 2.1 CSN format (ITS#5348)
2008-02-02 10:23:35 +00:00
Pierangelo Masarati
44b20b98e0
s/assert/LDAP_INVALID_SYNTAX/ (ITS#5348)
2008-02-01 19:16:58 +00:00
Ralf Haferkamp
713ec710ad
don't error out if replacing a non-existant attribute, create opattrs in
...
config_build_entry() to have them also when started with -f (ITS#5343)
2008-01-31 18:12:00 +00:00
Ralf Haferkamp
1af03ee2c7
error out if modify_delete_vindex() fails (ITS#5343)
2008-01-30 14:45:35 +00:00
Howard Chu
3b02cd32ba
Cleanup for C++
2008-01-28 15:30:40 +00:00
Howard Chu
6693f72402
Clean up config.h
2008-01-22 13:26:16 +00:00
Pierangelo Masarati
e3befa7f26
fix referrals (part of ITS#5328); fix compare (ITS#4937)
2008-01-19 10:43:08 +00:00
Hallvard Furuseth
2dd186a8fd
More ITS#5328 cleanup
2008-01-18 17:05:23 +00:00
Pierangelo Masarati
79e68ebc2d
cleanup previous commit
2008-01-16 22:00:57 +00:00
Pierangelo Masarati
8517e7199a
rework back-relay internals along Hallvard's suggestions (ITS#5328)
2008-01-16 21:53:44 +00:00
Pierangelo Masarati
440099d271
fix test; don't return error when relaying exops
2008-01-15 21:59:23 +00:00
Pierangelo Masarati
807df724c1
fix ITS#5327 crasher
2008-01-15 20:32:35 +00:00
Pierangelo Masarati
ae665d0d3d
fix str2entry2() when there is no attrs (ITS#5308)
2008-01-11 19:32:01 +00:00
Hallvard Furuseth
cd63a0c43b
Warning cleanup: function ptr <=> void* at ldap_pvt_thread_pool_<set/get>key()
2008-01-11 06:07:43 +00:00
Howard Chu
82719d5351
ITS#5319 no special treatment for no-effect renames
2008-01-11 04:01:37 +00:00
Howard Chu
25ba37cc35
ITS#5319 allow rename to same DN
2008-01-11 03:17:10 +00:00
Howard Chu
37d65aed6e
ITS#5322 don't try to free a NULL locker
2008-01-11 00:44:12 +00:00
Pierangelo Masarati
f63ec3f497
more attribute values mucking
2008-01-08 17:02:37 +00:00
Hallvard Furuseth
e1e0370e8c
Remove unused variable
2008-01-08 16:49:13 +00:00
Hallvard Furuseth
5f068303d3
Remove unused variables
2008-01-08 16:37:13 +00:00
Hallvard Furuseth
9de53658d7
ITS#5309 followup: join a ldap_pvt_thread_pool_getkey() call into a setkey()
2008-01-08 16:24:53 +00:00
Pierangelo Masarati
5ebb7ee175
fix zeroing out attribute values (should fix ITS#5311)
2008-01-08 14:58:24 +00:00
Kurt Zeilenga
c890c96d13
Happy New Year (belated)
2008-01-08 00:19:56 +00:00
Hallvard Furuseth
d3c90c989c
Fix spew_file() comment
2008-01-08 00:02:58 +00:00
Hallvard Furuseth
0dab27bb1e
Fix comment for be_rootdn_bind()
2008-01-07 23:23:12 +00:00
Pierangelo Masarati
30f401c628
rename ldap_pvt_thread_pool_setkey_x() to ldap_pvt_thread_pool_setkey() (as part of ITS#5309)
2008-01-07 21:35:03 +00:00
Hallvard Furuseth
f763967c48
Fix Debug() format in previous change
2008-01-07 20:13:01 +00:00
Hallvard Furuseth
e9c2a7dcb3
ITS#5309: Use ldap_pvt_thread_pool_setkey_x() more. Fix void** arguments.
2008-01-07 20:10:22 +00:00
Hallvard Furuseth
d0a379ed45
ITS#5309: Use ldap_pvt_thread_pool_setkey_x() in slap_passwd_check() and
...
be_rootdn_bind() - push/pop any old value instead of resetting it.
2008-01-07 20:08:22 +00:00
Hallvard Furuseth
8a1f904ed9
Avoid use of uninitialized variable 'e' after failed overlay_entry_get_ov().
...
(It was harmless unless the value was a trap representation.)
2008-01-07 18:50:54 +00:00
Howard Chu
cdaf0769f7
ITS#4112 temporarily disable broken code
2008-01-06 07:34:19 +00:00
Pierangelo Masarati
741efa1674
don't leave 'round pointers to buffers on the stack
2008-01-02 23:08:04 +00:00
Pierangelo Masarati
2969c69747
fix modlist cleanup during rename
2008-01-02 22:49:45 +00:00
Pierangelo Masarati
622c4d3884
new ldap_pvt_thread_pool_setkey API
2007-12-29 18:14:54 +00:00
Pierangelo Masarati
ac689156bc
plug leak (ITS#5302)
2007-12-29 17:59:28 +00:00
Pierangelo Masarati
22f0fa7eb8
allow slapo-memberof to be used as global overlay, and thus provide cross-database integrity (ITS#5301)
2007-12-29 16:07:07 +00:00
Howard Chu
4068c51739
Remove unnneded boi_locker field
2007-12-28 07:44:41 +00:00
Howard Chu
7bc127aab8
ITS#5086 fix Adds in IDL cache
2007-12-28 07:40:18 +00:00
Pierangelo Masarati
64900d539d
allow to programmatically register new response code names
2007-12-28 01:21:22 +00:00
Pierangelo Masarati
18b2885f69
allow to customize the error code in case of constraint violation
2007-12-28 00:38:27 +00:00
Pierangelo Masarati
ce43877f6f
if referential integrity is broken, things could go wrong; don't assert
2007-12-27 20:57:42 +00:00
Pierangelo Masarati
17294602c4
fix ITS#5286 (NULL + set = NULL); add more verbose set logging if requested
2007-12-27 20:27:51 +00:00
Pierangelo Masarati
63e0046eab
fix previous commit
2007-12-27 19:57:51 +00:00
Pierangelo Masarati
8a529a1f72
check objectClass inheritance on add (consistent with modify; ITS#5299)
2007-12-27 19:50:12 +00:00
Pierangelo Masarati
096ce6f741
pass ConfigReply to overlays; don't complain unless once-only overlays are instantiated multiple times
2007-12-27 17:36:39 +00:00
Howard Chu
b0a0ac4914
Require compare (not read) access to entry attr for compare ops
2007-12-27 00:51:45 +00:00
Howard Chu
64f81ee43b
Complete prev commit
2007-12-24 05:32:13 +00:00
Howard Chu
6f6bc1ce04
Convert back-sock to dynamic config
2007-12-24 05:18:25 +00:00
Howard Chu
94db6fc9e8
Axe obsolete Cyrus 1.5 support
2007-12-23 01:33:39 +00:00