Howard Chu
12affea4ac
ITS#6425 fix uninit'd vars
2009-12-09 00:04:58 +00:00
Pierangelo Masarati
85621c882a
guard against simultaneous REP_ENTRY_MUSTRELEASE and REP_ENTRY_MODIFIABLE (related to ITS#6423)
2009-12-08 20:53:39 +00:00
Pierangelo Masarati
48b8970dad
issue a useful error message
2009-12-08 19:49:15 +00:00
Pierangelo Masarati
173873172c
guard against simultaneous REP_ENTRY_MUSTRELEASE and REP_ENTRY_MODIFIABLE (ITS#6423)
2009-12-08 19:36:10 +00:00
Pierangelo Masarati
40065adb4d
remove REP_ENTRY_MUSTRELEASE when copying (ITS#6423)
2009-12-08 18:47:17 +00:00
Howard Chu
c79267b88a
Fix unparse in prev commit
2009-12-08 11:59:29 +00:00
Howard Chu
25a4e7806a
ITS#6419 also init for ldaps:// URIs
2009-12-08 11:50:39 +00:00
Pierangelo Masarati
2c1c200662
log about invalid URI (more about ITS#6421)
2009-12-08 01:34:22 +00:00
Pierangelo Masarati
db852e4378
handle simple filters with no brackets (ITS#6421)
2009-12-08 00:17:25 +00:00
Howard Chu
dba33ec04c
ITS#6419 starttls keyword should trigger bindconf TLS settings
2009-12-07 20:06:54 +00:00
Howard Chu
7c9e4df765
ITS#6412, refix #6304 - only check for writes if sockbuf NEEDS_WRITE
2009-12-04 02:44:00 +00:00
Hallvard Furuseth
300bba05e8
ITS#6414: Do not write outside database directory.
...
Also rename misnamed dn2path() to ndn2path() with different prototype.
2009-12-03 23:20:39 +00:00
Rein Tollevik
6c406f1737
ITS#6413 Ensure task don't get queued while being freed after config change.
2009-12-03 21:56:48 +00:00
Howard Chu
8373d9f9fc
ITS#6408, fix r1.265 (from ITS#4884) - use correct ce_type
2009-12-01 22:21:18 +00:00
Hallvard Furuseth
07e5a4dda5
Silence warning in initializer
2009-11-30 14:07:12 +00:00
Hallvard Furuseth
ca563787ad
Silence "maybe uninitialized" warning (eprev after 0 iterations, cannot happen)
2009-11-30 14:00:18 +00:00
Howard Chu
111b27cfd4
ITS#6270, refix patch from ITS#5511
2009-11-30 06:07:22 +00:00
Hallvard Furuseth
492b2cda2b
ITS#6403: reset 'entry' output argument to overlay_entry_get_ov()
2009-11-29 19:53:01 +00:00
Howard Chu
3b2380254a
ITS#6400 clarify...
2009-11-24 03:41:24 +00:00
Howard Chu
fae4df1ed6
more for #6397
2009-11-23 22:17:25 +00:00
Howard Chu
e72e0507f8
ITS#6397 cleanup psearch if cookie is stale
2009-11-23 22:13:42 +00:00
Hallvard Furuseth
bbd238e38b
ITS#6398: plug memory leak of confdir
2009-11-23 21:52:11 +00:00
Hallvard Furuseth
da747ed63a
Fix rev 1.200 commit: C90 forbids mixed declarations and code
2009-11-23 16:04:00 +00:00
Howard Chu
e3c01a32f8
Revert pending CSN if the update fails
2009-11-22 19:30:50 +00:00
Pierangelo Masarati
1cf63599fe
revert previous commit
2009-11-22 19:09:24 +00:00
Howard Chu
faddd86f54
Revert prev commit, simpler fix...
2009-11-22 17:43:48 +00:00
Pierangelo Masarati
78a6a16615
silence signedness warnings
2009-11-22 14:58:18 +00:00
Pierangelo Masarati
f59337655e
use keepalive stuff when connecting as a client via bindconf (second part of ITS#6389)
2009-11-22 13:05:58 +00:00
Pierangelo Masarati
14c3f7de57
allow parsing/unparsing of keepalive stuff in bindconf (first part of ITS#6389)
2009-11-22 12:51:45 +00:00
Pierangelo Masarati
1970251bb7
check result of str2filter; syncrepl: can be broken; retcode: can't; pcache: shouldn't (ITS#6391)
2009-11-22 11:57:17 +00:00
Howard Chu
993fbf4514
Short-circuit backend_operational; sent entry's e_private doesn't belong
...
to the backend any more
2009-11-22 04:43:34 +00:00
Howard Chu
c365ac359e
ITS#6368 use dup'd entries in response queue
2009-11-22 04:42:00 +00:00
Howard Chu
77680f78a8
ITS#6394 partially revert ITS#5108. Use RID_MAX, as originally designed.
2009-11-22 00:08:52 +00:00
Pierangelo Masarati
c315ede9d5
connid is unsigned; offset real conns by maxrid + 1
2009-11-21 21:44:45 +00:00
Howard Chu
2fd6d4749a
Cleanup pointless compare in debug msgs
2009-11-21 21:34:33 +00:00
Pierangelo Masarati
39f0d79485
use macros for fake connid
2009-11-21 21:02:49 +00:00
Howard Chu
4105ee462d
ITS#6393 syncrepl internal connids are now <= -1000
2009-11-21 20:22:18 +00:00
Howard Chu
650ebba22b
Fix prev commit
2009-11-21 11:54:59 +00:00
Howard Chu
4bdc6fcbc9
in op_response, rearrange contextCSN update checks
2009-11-21 11:43:01 +00:00
Howard Chu
75d1e515ee
in updateCookie, no-op if nothing changed
2009-11-21 11:38:42 +00:00
Howard Chu
9992d5c43a
Ignore attempts to Add cn=schema,cn=config
2009-11-21 07:13:48 +00:00
Howard Chu
f664cbfb4c
Use unique IDs for fake syncrepl connections
2009-11-21 06:54:58 +00:00
Howard Chu
c6de7bf853
ITS#6392 fix authid-rewrite parsing
2009-11-21 04:44:51 +00:00
Howard Chu
572e16883c
Braindead serialization for #6368/test050
2009-11-21 04:14:40 +00:00
Howard Chu
af0d762c1c
Mostly revert prev commit, broke test054
2009-11-21 03:38:13 +00:00
Howard Chu
ae5af832db
Always log outgoing cookie, just use op->o_csn instead of commit_csn since
...
all responses are now serialized.
2009-11-21 02:37:53 +00:00
Howard Chu
3dd04151f5
Always log rid with incoming cookie
2009-11-21 02:34:10 +00:00
Howard Chu
60d83e06b8
Fix typo in 1.487
2009-11-20 23:20:37 +00:00
Howard Chu
d283f02c45
Fix prev commit
2009-11-20 22:52:47 +00:00
Howard Chu
2aadfa5d86
Reject old ops based on pending ops, not just committed ops
2009-11-20 22:47:48 +00:00
Howard Chu
2f351f964d
Move connection state enums to slap.h to ease debugging
2009-11-19 11:24:14 +00:00
Howard Chu
198cbd6ea8
ITS#6368 partially revert 1.273, always check for skips, not just on
...
first matchops call
2009-11-19 11:17:53 +00:00
Howard Chu
ddfe3cde10
ITS#6387 plug leaks
2009-11-18 23:58:39 +00:00
Howard Chu
ffb06848ff
ITS#6368 add another call to check_syncprov to make sure cookie is fresh
2009-11-18 22:06:02 +00:00
Howard Chu
42e56b95d5
Don't allow any other jobs if a -q job is active
2009-11-18 21:08:48 +00:00
Pierangelo Masarati
272abc5561
don't test a NULL BackendDB * (ITS#6385)
2009-11-18 09:51:49 +00:00
Pierangelo Masarati
1ec443df53
trim unnecessary test
2009-11-16 10:02:47 +00:00
Pierangelo Masarati
3768fbbd30
warn if retry is not forever
2009-11-16 09:58:12 +00:00
Pierangelo Masarati
70a71edffb
trim unwanted commit
2009-11-16 09:55:27 +00:00
Howard Chu
99381a43e1
ITS#6304 retry if tls_accept() returns 1
2009-11-15 22:39:35 +00:00
Howard Chu
4cabc24269
ITS#6363 cleanup prev commit
2009-11-15 21:36:23 +00:00
Howard Chu
c419a3e4f7
ITS#6367 use correct SID in our request cookie
2009-11-15 19:15:12 +00:00
Howard Chu
fbe532b099
Use sl_mfunc instead of direct reference to slap_sl_free
2009-11-15 19:13:51 +00:00
Pierangelo Masarati
07dc23f5ee
treat bervals as bervals (related to ITS#6378,ITS#6379)
2009-11-15 18:26:53 +00:00
Howard Chu
ff98f4abc5
Use fake_init2 in db_open/db_close since they can execute from a
...
back-config operation (and could wipe out the state otherwise)
2009-11-15 10:38:13 +00:00
Howard Chu
68ab1a2272
Cleanup
2009-11-15 10:34:10 +00:00
Howard Chu
cd99d851a2
Fix uninit'd var
2009-11-15 08:59:56 +00:00
Howard Chu
c9d86af0ba
Fix 1.49 sl_realloc
2009-11-15 03:02:09 +00:00
Howard Chu
1eebd22151
Add a note about sl_malloc stack-based behavior
2009-11-14 23:25:14 +00:00
Howard Chu
3fbbd8ea3f
Mark freed regions so they can be reclaimed
2009-11-14 23:20:44 +00:00
Howard Chu
67edd75e48
Cleanup for #6373
2009-11-14 21:53:06 +00:00
Howard Chu
b800bd4729
ITS#6377, fix rev 1.478
2009-11-14 21:25:11 +00:00
Pierangelo Masarati
9cfa465107
handle embedded '\0' (ITS#6379)
2009-11-14 16:45:13 +00:00
Howard Chu
dd2f158b52
Fix prev commit
2009-11-14 09:35:23 +00:00
Howard Chu
fe911c5960
ITS#6376 plug potential leak
2009-11-14 09:34:29 +00:00
Howard Chu
d6fbe1c7ca
ITS#6361 remove asserts
2009-11-13 23:48:51 +00:00
Howard Chu
480d306186
ITS#6373 fix subentry keyword
2009-11-11 04:09:26 +00:00
Howard Chu
3f9e8eeeec
ITS#6373 more for subentry creation
2009-11-11 04:03:27 +00:00
Howard Chu
9ad558b78c
ITS#6373 create subentry if missing
2009-11-11 03:36:46 +00:00
Howard Chu
46a97b9204
ITS#6373 sync_use_subentry support
2009-11-11 03:19:01 +00:00
Howard Chu
1e85952843
ITS#6373 add sync_use_subentry keyword
2009-11-11 03:06:32 +00:00
Howard Chu
6355380ee1
Use OperationBuffer for fake op
2009-11-11 03:05:31 +00:00
Howard Chu
a48e329fc8
ITS#6373 revert 2009/03/10 commit, resurrect sync subentry code
2009-11-11 03:01:48 +00:00
Howard Chu
dda8ccd8d5
ITS#6309 tweak invalid dn logmsg
2009-11-11 01:42:00 +00:00
Howard Chu
2a334baba6
ITS#6372 make wake_sds non-blocking
2009-11-11 00:21:03 +00:00
Pierangelo Masarati
17a185b32a
unparse checkpoint time in minutes (ITS#6370)
2009-11-10 19:02:33 +00:00
Ralf Haferkamp
9d0c7b24c6
Initialize ConfigArgs before calling config_del_vals (ITS#6363)
2009-11-05 15:38:03 +00:00
Howard Chu
f685d9e78b
Clean up prev commit
2009-11-04 06:09:51 +00:00
Howard Chu
f6983802e2
More for ITS#6360
2009-11-04 05:52:04 +00:00
Howard Chu
0ecb68e02d
ITS#6360 fix cache cursize count
2009-11-04 00:47:45 +00:00
Hallvard Furuseth
e7fd598c01
Cleanup since ITS#6133
2009-11-02 16:19:59 +00:00
Hallvard Furuseth
5270cedb86
ITS#6337: replace previous commit with minimum-impact change.
...
Some cleanup.
2009-11-02 16:14:39 +00:00
Pierangelo Masarati
32fcd038ae
remove unused parameter idx (ITS#6356)
2009-10-30 22:53:27 +00:00
Hallvard Furuseth
e77aa3024a
Remove spurious comment
2009-10-30 18:43:43 +00:00
Hallvard Furuseth
d9d584e922
Alternate ITS#6324 fix. Use bitmask, handle -1 (LDAP_DEBUG_ANY) specially.
2009-10-30 17:46:38 +00:00
Howard Chu
a3f38ed932
ITS#6346 serialize all responses
2009-10-29 23:46:10 +00:00
Howard Chu
3d189671bd
ITS#6310 dup entry before adding to cache
2009-10-24 05:59:39 +00:00
Hallvard Furuseth
1ebe7a6eaf
more ITS#6324: fix fprintf(%u, long) format
2009-10-23 12:20:31 +00:00
Hallvard Furuseth
dc26fb37eb
Fix previous commit: backslash-space-newline -> backslash-newline
2009-10-21 20:15:15 +00:00
Howard Chu
f8a77ecfa2
ITS#6342 include <ac/unistd.h>
2009-10-21 03:09:28 +00:00
Ralf Haferkamp
96ce821037
ITS#6341 removal of last entry from cache caused corruption in the lru list
2009-10-20 14:41:09 +00:00
Hallvard Furuseth
68b914d72b
ITS#6338: Fix \0-termination of dnParent(x, x) for one-level DN x.
2009-10-19 23:51:08 +00:00
Pierangelo Masarati
49b1729ad7
don't dereference pointer in case of error
2009-10-19 23:41:11 +00:00
Pierangelo Masarati
15c29b52fb
plug one-time leak
2009-10-19 23:39:59 +00:00
Pierangelo Masarati
6a1ac5f987
quick hack for ITS#6337: malloc'ed callback for bind
2009-10-19 23:00:15 +00:00
Rein Tollevik
739f8d0753
ITS#6335 Don't reuse a modtarget someone is about to remove
2009-10-16 17:27:18 +00:00
Howard Chu
eefe62b597
Implement policy checks on compare op
2009-10-15 07:11:39 +00:00
Pierangelo Masarati
716eaf0e8b
update entryCSN (and operational attrs in general) when changing memberOf (ITS#6329)
2009-10-14 20:35:42 +00:00
Pierangelo Masarati
5118f06b13
plug leak/logical error (ITS#6326)
2009-10-07 22:46:35 +00:00
Pierangelo Masarati
8bdf89ac6a
make sure members are not used uninitialized
2009-10-07 22:44:14 +00:00
Pierangelo Masarati
bd1f6deed7
more about ITS#6324
2009-10-07 20:01:19 +00:00
Pierangelo Masarati
16d3ad01c0
don't "overflow" debug levels (ITS#6324)
2009-10-06 22:03:15 +00:00
Hallvard Furuseth
e6fc72d3c6
ITS#6303: fix broken variant of the struct hack
2009-09-29 22:45:34 +00:00
Howard Chu
66570ad5f1
ITS#6258 add '-n' option to slaptest
2009-09-29 07:33:01 +00:00
Howard Chu
e0cad0e988
ITS#6308 lock leak: must release entry using same op that acquired it
2009-09-29 06:21:32 +00:00
Howard Chu
2e601e8291
ITS#6288 don't deref sort control if it wasn't set
2009-09-29 03:10:03 +00:00
Howard Chu
1a9a438c23
ITS#6140 delete obsolete schema
2009-09-29 02:34:28 +00:00
Howard Chu
2d2fca51d2
ITS#6242 need managedsait to replace glue entries with their real values
2009-09-27 22:42:04 +00:00
Pierangelo Masarati
1815ad4cb6
register authz cookie (ITS#6296)
2009-09-17 21:16:04 +00:00
Rein Tollevik
296826b1f0
ITS#6297 Allow hex in serverID directive
2009-09-17 15:06:22 +00:00
Pierangelo Masarati
4b4db7b529
keep compatibility with slapd's gmtime_mutex (ITS#6262)
2009-09-08 23:21:21 +00:00
Rein Tollevik
b3ef15321b
ITS#6287 Rewritten the ACL state cache
2009-09-08 21:06:15 +00:00
Pierangelo Masarati
393612b8e1
by now, make sure no timeout is used (ITS#6282)
2009-09-08 07:56:43 +00:00
Pierangelo Masarati
07b7491249
fix LDIF comment when modifying (ITS#6286)
2009-09-08 04:40:24 +00:00
Pierangelo Masarati
7608e06a53
warn if entryUUID,entryCSN are missing and the database is shadow (ITS#6281)
2009-09-08 04:11:05 +00:00
Howard Chu
fffb1fab4e
Include "lutil.h" - fixes warnings in RE24
2009-09-01 00:35:22 +00:00
Howard Chu
b0fdc08e06
ITS#6276 wake up blocked writers if we're pausing
2009-08-28 23:00:46 +00:00
Pierangelo Masarati
e45c20cf92
fix uninitialized var (ITS#6266; actually, the problem was a bit more severe...)
2009-08-24 01:22:55 +00:00
Pierangelo Masarati
20359f2020
fix previous commit (ITS#6267)
2009-08-24 00:41:12 +00:00
Pierangelo Masarati
72c1b2f821
add pedantic checks
2009-08-21 17:08:48 +00:00
Pierangelo Masarati
53fca03374
remove unneded code
2009-08-21 17:08:04 +00:00
Pierangelo Masarati
10a61120ca
tell what database initialization failed based on the suffix
2009-08-21 17:07:12 +00:00
Pierangelo Masarati
9f2360e2a9
fix uninitialized and off-by-one (thanks to valgrind)
2009-08-21 16:01:33 +00:00
Howard Chu
27c39c56c4
ITS#6152 add tests for cache refresh and Bind caching
2009-08-21 13:25:38 +00:00
Howard Chu
6d50de8526
ITS#6152 pwdModify support
2009-08-20 09:47:34 +00:00
Howard Chu
17d31e523f
Fix prev commit
2009-08-20 09:46:40 +00:00
Howard Chu
2d28fe4d4c
ITS#6265 must set orm_no_opattrs
2009-08-20 00:32:28 +00:00
Howard Chu
acd888b9de
child DB should have ordering prefix
2009-08-19 23:46:37 +00:00
Pierangelo Masarati
9f13a2ae02
more cleanup of attr renaming
2009-08-19 23:13:13 +00:00
Pierangelo Masarati
afec8d12ad
more cache monitoring (ITS#5178)
2009-08-19 23:09:52 +00:00
Pierangelo Masarati
a688867cae
more about previous commit
2009-08-19 22:41:06 +00:00
Hallvard Furuseth
4b6f2de8ab
Silence warning (bv_len >= 0 is always true)
2009-08-19 18:59:33 +00:00
Hallvard Furuseth
c0e0a64799
Silence warning (missing braces ininitializer)
2009-08-19 18:58:28 +00:00
Hallvard Furuseth
b6f79805be
Fix Debug() format (%x -> %lx) since rev 1.385
2009-08-19 18:57:04 +00:00
Pierangelo Masarati
69878f43c8
refactor connection handling
2009-08-19 16:45:15 +00:00
Pierangelo Masarati
bdec7702d7
better logging of privileged connections (more to come; might be unstable for a bit)
2009-08-19 15:00:59 +00:00
Pierangelo Masarati
148cc2f2fc
silence warnings
2009-08-19 13:20:11 +00:00
Pierangelo Masarati
b928fa97d8
silence warning
2009-08-19 13:02:54 +00:00
Pierangelo Masarati
8da69a9249
silence warnings
2009-08-19 12:55:15 +00:00
Howard Chu
0caea881a5
Only free the req_dn / ndn we created. Someone may have rewritten it...
2009-08-19 11:27:49 +00:00
Hallvard Furuseth
eea6678234
More ITS#6234: // comment from rev 1.384 -> /**/
2009-08-19 09:54:03 +00:00
Howard Chu
7427622625
s/new/anew/ avoid C++ keyword
2009-08-19 09:25:25 +00:00
Howard Chu
924fdaaf84
Bind caching works
2009-08-19 08:14:07 +00:00
Howard Chu
99341bb367
Look for our callback to pop, don't just do it blindly
2009-08-19 08:05:18 +00:00
Howard Chu
3de89b4201
Bind caching, work in progress
2009-08-19 03:00:33 +00:00
Pierangelo Masarati
f3cdcadf89
wrap gmtime for reentrancy (ITS#6262)
2009-08-18 23:48:15 +00:00
Howard Chu
52cd360680
Fix prev commit, attr_find args
2009-08-18 20:35:02 +00:00
Howard Chu
f0a0e9fa32
Revert prev commit, use ldap_pvt_ funcs
2009-08-18 08:53:41 +00:00
Pierangelo Masarati
87321c3fae
update cachedQueryURL only when requested
2009-08-18 08:38:42 +00:00
Howard Chu
7442e58dc2
For ITS#6152 add slapd_str2scope(), slapd_scope2bv()
2009-08-18 02:47:28 +00:00
Pierangelo Masarati
ef7569fdc0
expose cachedQueryURL in overlay's monitor entry (partial fulfilment of ITS#5178; needs new register_overlay() code in back-monitor)
2009-08-17 23:23:21 +00:00
Pierangelo Masarati
d4f88422fd
allow to register overlay-specific stuff
2009-08-17 23:08:40 +00:00
Pierangelo Masarati
5c62c82e00
more about ITS#6243
2009-08-17 23:05:48 +00:00
Pierangelo Masarati
7c15998121
silence warning
2009-08-17 23:02:50 +00:00
Pierangelo Masarati
b7a9a4a65f
add support for TCP buffer configuration (ITS#6234)
2009-08-17 22:53:15 +00:00
Pierangelo Masarati
613b00065a
use UINT where appropriate (silence warnings)
2009-08-17 22:48:34 +00:00
Howard Chu
c670264951
For refresh_purge, only delete entry if ours is the last queryid on it.
...
Otherwise just remove our queryid.
2009-08-17 22:24:26 +00:00
Howard Chu
8cd909db3f
Plug leaks in prev commit
2009-08-17 14:38:28 +00:00
Howard Chu
cd0681c4e1
ITS#6152 restart consistency checker when going back online
...
reset refcnt when refreshing a query
2009-08-17 13:24:33 +00:00
Howard Chu
deb1fb6eb6
Fix refresh_merge, using mods from wrong entry
2009-08-17 13:11:05 +00:00
Howard Chu
73c46fa598
Cleanup prev commit
2009-08-17 12:51:44 +00:00
Howard Chu
a5cfab44d7
ITS#6152 preliminary refresh support, untested
2009-08-17 12:02:48 +00:00
Howard Chu
0132ea425d
ITS#6152 add syncrepl_diff_entry()
2009-08-17 11:58:47 +00:00
Howard Chu
a975c61451
More for #6220 , don't timeout idle connections when writetimeout is
...
set and idletimeout is not.
2009-08-17 11:28:25 +00:00
Howard Chu
31084affa6
ITS#6251 framework for TTR. refresh not yet implemented.
2009-08-17 03:03:50 +00:00
Howard Chu
7ad21d7dfd
Fix typo in prev commit
2009-08-17 02:22:28 +00:00
Howard Chu
88c6cfa814
Deprecate previous config keywords. Add ttr parsing (no functionality yet)
2009-08-16 23:26:34 +00:00
Howard Chu
f918243a2f
ITS#6256 from Jonathan Clarke
2009-08-15 14:05:47 +00:00
Pierangelo Masarati
dc12e58d38
allow to look-ahead entry DN without decoding the whole entry
2009-08-14 15:33:09 +00:00
Pierangelo Masarati
8ecfb077bf
harmonize API: source to dest right to left
2009-08-14 14:18:04 +00:00
Pierangelo Masarati
bb3e14ddba
honor requested attrs (ITS#6254), including operational
2009-08-14 01:18:23 +00:00
Pierangelo Masarati
f283f7ad47
improve previous commit; make sure returned entries match filter (ITS#6255); defer sizelimit exceeded detection
2009-08-14 00:49:48 +00:00
Pierangelo Masarati
b6cf5ca896
make sure filter is applied to final entry (ITS#6255)
2009-08-14 00:14:35 +00:00
Pierangelo Masarati
bea861dda5
honor sizelimit when filter needs to be split between local and remote (ITS#6253)
2009-08-14 00:03:10 +00:00
Pierangelo Masarati
60627ddf93
eliminate code duplication
2009-08-13 21:24:32 +00:00
Pierangelo Masarati
2d1d2f3008
remove misleading comment
2009-08-13 21:00:04 +00:00
Pierangelo Masarati
9f80d80dbd
expose subordinate databases; add a link to the superior DN
2009-08-13 20:58:20 +00:00
Pierangelo Masarati
efabe1d279
honor per-target tls/chase referrals/rebind as user (ITS#6190)
2009-08-13 19:30:37 +00:00
Pierangelo Masarati
9ebc168a8a
log in case of failure (FIXME: should those logs be at ANY level?)
2009-08-04 23:45:42 +00:00
Pierangelo Masarati
1f33edc08e
use back-config if supported
2009-08-04 23:27:52 +00:00
Howard Chu
9bd09d7b0e
Fully parse undefined substring filters so they can be logged
2009-08-04 22:41:59 +00:00
Pierangelo Masarati
3e2ac1f6c0
improve previous commit
2009-08-04 14:26:40 +00:00
Pierangelo Masarati
38fa7e0621
be liberal in accepting CL (ITS#6241)
2009-08-04 14:14:17 +00:00
Howard Chu
50688c960c
In slap_mods_check, always compare ordering index first
2009-08-04 02:42:20 +00:00
Pierangelo Masarati
f2e1b78391
silence warnings; misc cleanup; test refresh as non-allowed user
2009-08-03 22:49:30 +00:00
Pierangelo Masarati
20371c3eae
note about OpenSSL being more liberal than OpenLDAP when there is garbage past the end of a certificateList
2009-08-03 14:07:49 +00:00
Pierangelo Masarati
e153f41e90
add entry_dup_to(); use it to address ITS#6172 (thanks to Michael Karcher)
2009-08-03 13:18:05 +00:00
Pierangelo Masarati
5139241ade
blind fix to ITS#6163
2009-08-03 13:08:22 +00:00
Pierangelo Masarati
a1ed732822
count query answerability; allow configuration of private database
2009-08-02 22:00:01 +00:00
Howard Chu
dd88fdbcc3
ITS#6152 add olcProxyCacheOffline for manually toggling cache expiration,
...
assume some external process will tell us when network is on/offline
2009-08-02 01:20:03 +00:00
Howard Chu
076c1d23cf
Fix attributeCertificateValidate
2009-08-01 01:11:15 +00:00
Howard Chu
e8d95fa072
Fix certificateListValidate parsing of CRL extensions
2009-08-01 00:39:41 +00:00
Hallvard Furuseth
ef0163c198
Fix last commit: C90 rejects declaration after code
2009-07-30 15:34:42 +00:00
Howard Chu
8a0284cf04
ITS#5946 always allow mirrormode to be set to FALSE
2009-07-29 09:21:50 +00:00
Howard Chu
bf69b8e065
ITS#5942 consolidate server URL match to config_check_my_url().
...
In syncrepl, assume consumer pointing to same server but different
searchbase is OK otherwise ignore config.
2009-07-29 09:04:39 +00:00
Howard Chu
850e4ae0d3
Use distribution hints in searches
2009-07-29 00:58:46 +00:00
Howard Chu
016c518652
ITS#6230 fix typos
2009-07-27 18:54:56 +00:00
Howard Chu
82e95f8091
Change AttributeName.an_oc_exclude to an_oc_flags, avoid multiple
...
futile searches for OC matches.
2009-07-26 00:14:15 +00:00
Howard Chu
25a06ddd43
ITS#6228 fix typo
2009-07-25 23:37:24 +00:00
Howard Chu
474991afdf
ITS#6222 dncachesize defaults to 0 == unlimited
2009-07-25 07:13:50 +00:00
Howard Chu
46feff08ca
ITS#6222 need to support unsigned long args too
2009-07-25 06:47:00 +00:00
Howard Chu
addb1320a4
More cleanup
2009-07-25 00:09:56 +00:00
Howard Chu
48ffbcce3c
Minor cleanup
2009-07-25 00:06:46 +00:00
Pierangelo Masarati
e9f1452624
test whether the current entry matches the current uri filter (ITS#6077); also, don't leak DN when adding a base fails
2009-07-24 22:00:53 +00:00
Howard Chu
e08e89d6a7
ITS#6214 use the main thread's context so cleanup can occur
2009-07-22 04:39:57 +00:00
Howard Chu
553f0f2ffd
ITS#6220 don't check write timeouts when global_writetimeout isn't set
2009-07-21 02:04:46 +00:00
Pierangelo Masarati
40f785f62a
check the value of the olcSubordinate attribute
2009-07-16 15:41:05 +00:00
Pierangelo Masarati
7a553ddae8
subordinate needs a suffix (ITS#6216)
2009-07-16 15:28:22 +00:00
Howard Chu
d45c01c008
External vars need to be wrapped for Windows
2009-07-14 00:52:45 +00:00
Howard Chu
5f211a7dcc
Fix handling for empty results
2009-07-13 15:22:46 +00:00
Howard Chu
eab5b9570a
Fix result when no VLV match
2009-07-13 15:15:27 +00:00
Howard Chu
783dc77df7
Minor cleanup
2009-07-13 15:00:19 +00:00
Howard Chu
aa316f10fe
Add sssvlv config
2009-07-13 14:20:31 +00:00
Howard Chu
2ca1c1d916
Add sssvlv to build system
2009-07-13 13:35:30 +00:00
Howard Chu
789dad4d00
ITS#6203 fix startup
2009-07-13 13:24:12 +00:00
Howard Chu
c401792c20
Fix prev commit
2009-07-13 13:14:07 +00:00
Howard Chu
2e4da3f9ee
More VLV stuff
2009-07-13 12:40:35 +00:00
Howard Chu
d0bbd6d510
vlv implemented, untested
2009-07-13 10:59:09 +00:00
Howard Chu
dbc0fdba58
csnOrderingMatch should have a normalizer
2009-07-13 09:39:39 +00:00
Howard Chu
f11b45063d
Undef SLAP_CONTROL_X_SORTEDRESULTS, use sssvlv overlay now.
...
Will unifdef all relevant code later...
2009-07-13 08:43:06 +00:00
Howard Chu
5fbd344280
Server Side Sorting (also with PagedResults). VLV still in progress.
2009-07-13 08:39:22 +00:00
Howard Chu
dc86747a4d
Fix typo in 1.250 fake sorted results control
2009-07-13 02:42:38 +00:00
Howard Chu
cc6dc57746
ITS#6195 must normalize cookies before comparing them
2009-07-08 00:55:27 +00:00
Hallvard Furuseth
d3e7717473
ITS#6101, did not always (re)set rs->sr_sasldata before send_ldap_sasl()
2009-07-07 22:31:35 +00:00
Howard Chu
72e319bd02
ITS#5892 return -1 from ldif_read_record on error
2009-07-07 22:30:55 +00:00
Hallvard Furuseth
5b98495d5c
ITS#6101, reset rs->sr_rspdata in send_ldap_disconnect()
2009-07-07 22:30:28 +00:00
Howard Chu
4939a382c1
ITS#5892 make sure ldif error messages are displayed
2009-07-07 21:51:27 +00:00
Hallvard Furuseth
b74b7c232d
ITS#6101: Move sru_search first in union SlapReply.sr_un, for initialization.
2009-07-07 21:11:39 +00:00
Hallvard Furuseth
461a2135fb
Silence warning. Also avoids pointless umask(0) when umask already is 0.
2009-07-06 23:19:52 +00:00
Howard Chu
e6173ac9c2
ITS#5836 more for 1.432, writetimeout wasn't taking effect if
...
idletimeout wasn't also set. Also, timeout check would keep getting
pushed back if multiple writers were waiting.
2009-07-06 21:02:28 +00:00
Ralf Haferkamp
d430fa0346
error out when adding multiple olcIndex values for the same attribute (ITS#6196)
2009-07-03 14:29:40 +00:00
Howard Chu
c29b1a53b2
More for 1.124 - forwarded updates need Relax control since state attrs
...
are no-user-mod.
2009-07-01 07:39:22 +00:00
Howard Chu
1ca5fe851f
ITS#5836, #6089 fix c_writers counting
2009-07-01 03:01:08 +00:00
Howard Chu
8a0b05bfeb
ITS#6084 handle pwdAccountLockedTime values set into the future (i.e.,
...
lame way of setting an expiration date.)
2009-06-30 12:12:53 +00:00
Howard Chu
98ebf1950e
Fix prev commit
2009-06-30 11:54:45 +00:00
Howard Chu
b50f9c7aa9
ITS#6082 return checker module's error message to client
2009-06-30 11:51:13 +00:00
Howard Chu
68246fb76d
Fix check_password with {cleartext} passwords
2009-06-30 11:24:11 +00:00
Howard Chu
1f07d843f1
ITS#6168 actually use pwdLockout setting
2009-06-30 11:04:16 +00:00
Howard Chu
972176a1e0
Add ppolicy_forward_updates: if configured, ppolicy state changes due to
...
Binds are performed using the frontend, to allow them to trigger the
updateref on a consumer, which can then be forwarded by the chain overlay.
Setting is ignored if server is not a consumer.
2009-06-30 10:41:51 +00:00
Hallvard Furuseth
0f5378c8f7
Fix Debug format in last commit
2009-06-28 21:23:59 +00:00