Howard Chu
|
81db5651da
|
ITS#5153 fix prev commit, ordering matches can be done in O(1) instead
of O(logn)
|
2007-09-25 05:46:12 +00:00 |
|
Howard Chu
|
d322eb96c3
|
ITS#5151 fix CertificateListValidate
|
2007-09-24 07:55:56 +00:00 |
|
Howard Chu
|
f1065e1780
|
Remove special cases for BigNums in certificateExactNormalize, just
use hex when serial is larger than int. Normalized values need to be
consistent regardless of compile-time environment...
|
2007-09-24 06:26:36 +00:00 |
|
Howard Chu
|
9dd2fbcba6
|
Log the attribute that failed normalization
|
2007-09-24 06:25:34 +00:00 |
|
Howard Chu
|
0f2b1d551b
|
More for Mod.sm_numvals
|
2007-09-24 05:30:53 +00:00 |
|
Howard Chu
|
dcaa5a27f5
|
Partially revert prev commit, unintended.
|
2007-09-24 05:30:36 +00:00 |
|
Howard Chu
|
d2179d885f
|
Use attr_valfind instead of value_find_ex to optimize lookups
|
2007-09-24 05:02:31 +00:00 |
|
Howard Chu
|
e8c2414831
|
Preliminary sorted value support
|
2007-09-24 01:31:23 +00:00 |
|
Howard Chu
|
ebb9e029a7
|
Make slap_passwd_parse non-destructive
|
2007-09-23 04:40:51 +00:00 |
|
Howard Chu
|
a3547e2758
|
More for a_numvals
|
2007-09-23 04:40:16 +00:00 |
|
Howard Chu
|
75df004a04
|
Use OLcfgCt{Oc|At} arc for contrib modules
|
2007-09-22 23:58:54 +00:00 |
|
Hallvard Furuseth
|
aad6555340
|
Update last change: lutil_atoul() -> lutil_atou() for csnsid.
|
2007-09-21 13:11:39 +00:00 |
|
Hallvard Furuseth
|
cea5e5664d
|
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
|
2007-09-21 13:02:36 +00:00 |
|
Hallvard Furuseth
|
8b7fd262b8
|
Cast away const
|
2007-09-21 12:58:34 +00:00 |
|
Howard Chu
|
8c6d828a1f
|
More for Modification value counter
|
2007-09-21 09:34:31 +00:00 |
|
Howard Chu
|
c4dbe1a274
|
Attribute/Modification value counters
|
2007-09-21 08:43:56 +00:00 |
|
Ralf Haferkamp
|
b99749aba4
|
Use rwlock for CachedQuery to avoid returning incomplete results (ITS#5113)
|
2007-09-20 17:23:56 +00:00 |
|
Ralf Haferkamp
|
af7f86a2cd
|
Fixed memory leak in pcache. Cache is now populated in cleanup handler.
ITS#5112
|
2007-09-20 16:15:23 +00:00 |
|
Howard Chu
|
9281472144
|
Add comment for prev commit
|
2007-09-15 23:40:34 +00:00 |
|
Howard Chu
|
3dfab875e8
|
Fix prev commit
|
2007-09-15 23:38:12 +00:00 |
|
Pierangelo Masarati
|
43c00ab486
|
fix previous commit
|
2007-09-15 18:03:55 +00:00 |
|
Pierangelo Masarati
|
d92e8ad1f7
|
add helper for internal searchs for objectClass=*
|
2007-09-15 17:38:53 +00:00 |
|
Pierangelo Masarati
|
eb51129e29
|
alloc temporaries on slab
|
2007-09-15 17:33:59 +00:00 |
|
Pierangelo Masarati
|
d1c4d6481f
|
further fix ITS#5138 (please review)
|
2007-09-15 17:30:07 +00:00 |
|
Pierangelo Masarati
|
5569180736
|
draft-wahl-ldap-session: append further instances of the control
|
2007-09-15 17:26:09 +00:00 |
|
Pierangelo Masarati
|
06e6e6c053
|
apply Howard's cleanup of database monitoring registration
|
2007-09-15 15:34:49 +00:00 |
|
Howard Chu
|
5cd816f4eb
|
ITS#5138 don't scan past the sequence of attributes
|
2007-09-15 03:08:32 +00:00 |
|
Pierangelo Masarati
|
9c5c20b1b9
|
fix potential double-free (valgrind; ITS#5137)
|
2007-09-14 23:58:00 +00:00 |
|
Pierangelo Masarati
|
9f36fafe55
|
add more sanity checks (ITS#5136)
|
2007-09-14 23:25:15 +00:00 |
|
Pierangelo Masarati
|
927efd4a94
|
fix ITS#5136
|
2007-09-14 23:14:33 +00:00 |
|
Pierangelo Masarati
|
76974d412a
|
add support for dgAuthz --- see discussion on -devel
|
2007-09-14 22:42:16 +00:00 |
|
Pierangelo Masarati
|
f7bda3be0a
|
release entry (ITS#5135)
|
2007-09-14 22:39:49 +00:00 |
|
Pierangelo Masarati
|
e48e3e7503
|
remove unused code
|
2007-09-14 22:24:21 +00:00 |
|
Pierangelo Masarati
|
1845f1b951
|
fix double free - related to ITS#4860 and probably ITS#4873
|
2007-09-13 22:39:33 +00:00 |
|
Pierangelo Masarati
|
60b03d4103
|
don't leak in case of error
|
2007-09-13 18:47:36 +00:00 |
|
Pierangelo Masarati
|
d6baaffbec
|
HEADS-UP: now the list of URIs is better set by using separate arguments
|
2007-09-13 18:34:04 +00:00 |
|
Pierangelo Masarati
|
af9e17379b
|
further rework URI parsing
|
2007-09-13 17:55:45 +00:00 |
|
Pierangelo Masarati
|
6d38af2689
|
improve error message
|
2007-09-13 17:54:49 +00:00 |
|
Pierangelo Masarati
|
a09b4c5f20
|
log unknown message type
|
2007-09-13 17:54:15 +00:00 |
|
Pierangelo Masarati
|
202080dfa1
|
enable unindexed searches monitoring ifdef LDAP_DEVEL
|
2007-09-12 21:26:10 +00:00 |
|
Pierangelo Masarati
|
1157b6dc6a
|
handle sizelimit in caching (in partial fulfilment of ITS#5114)
|
2007-09-12 21:09:04 +00:00 |
|
Howard Chu
|
aec54643c2
|
Don't populate member list unless it was requested
|
2007-09-11 14:10:50 +00:00 |
|
Pierangelo Masarati
|
a4b1ba0b5f
|
use /-* for all parents; ignore /-0; check syntax; better parsing
|
2007-09-10 22:29:10 +00:00 |
|
Pierangelo Masarati
|
4137870344
|
handle empty set, empty string special cases
|
2007-09-10 21:58:12 +00:00 |
|
Pierangelo Masarati
|
1e0794f0ad
|
cleanup sets code; should fix a potential leak and possibly address ITS#4873. Please test
|
2007-09-10 21:30:02 +00:00 |
|
Pierangelo Masarati
|
552761696b
|
applied with changes (ITS#4860)
|
2007-09-10 00:06:20 +00:00 |
|
Pierangelo Masarati
|
331fef5e78
|
idassert also in case of SASL mechs that do not set authcId
|
2007-09-09 21:52:10 +00:00 |
|
Pierangelo Masarati
|
f834cdb2f7
|
fix proxyAuthz oid setup
|
2007-09-09 21:48:17 +00:00 |
|
Howard Chu
|
c32e182c56
|
re: prev commit, init j
|
2007-09-09 14:25:34 +00:00 |
|
Howard Chu
|
40e796c547
|
ITS#5129 fix alock_close with Quick mode
|
2007-09-08 05:26:03 +00:00 |
|
Howard Chu
|
6a6adff86c
|
ITS#5129 disallow Quick mode if DB_CONFIG has changed
|
2007-09-08 04:59:34 +00:00 |
|
Pierangelo Masarati
|
9c437f4411
|
quote suffix (ITS#5128) and use it as much as possible to identify databases
|
2007-09-08 00:41:29 +00:00 |
|
Pierangelo Masarati
|
2da15f1013
|
remove experimental code as per ITS#4962 discussion
|
2007-09-07 12:33:21 +00:00 |
|
Howard Chu
|
c8c6cba5fc
|
back-sock by Brian Candler (B.Candler@pobox.com) ITS#4094 (untested)
|
2007-09-07 12:27:33 +00:00 |
|
Howard Chu
|
3b7e703cb9
|
Add Acknolwedgement
|
2007-09-07 12:20:24 +00:00 |
|
Howard Chu
|
d0ab632239
|
Use permalink
|
2007-09-07 12:14:10 +00:00 |
|
Howard Chu
|
276a8cd4dd
|
Update Net::Server URL
|
2007-09-07 12:13:29 +00:00 |
|
Howard Chu
|
b6827c75a8
|
back-sock by Brian Candler (B.Candler@pobox.com) ITS#4094 (untested)
|
2007-09-07 12:02:43 +00:00 |
|
Pierangelo Masarati
|
00ad93ac70
|
also copy modifications we don't deal with, as they will be freed altogether (ITS#5124)
|
2007-09-07 09:38:38 +00:00 |
|
Pierangelo Masarati
|
ed12ff8fd3
|
parse unsigned as unsigned (ITS#5122)
|
2007-09-04 19:32:54 +00:00 |
|
Pierangelo Masarati
|
371bf8f803
|
blind fix: I assume we need to restore ors_scope
|
2007-09-04 19:31:47 +00:00 |
|
Pierangelo Masarati
|
c73520ec08
|
fix idl lru deletion of last entry (ITS#5121)
|
2007-09-04 19:01:55 +00:00 |
|
Howard Chu
|
1800fbb307
|
ITS#5119 fix uninit'd nval after normalization failure
|
2007-09-04 05:40:41 +00:00 |
|
Pierangelo Masarati
|
12ea3e4304
|
check call consistency
|
2007-09-03 16:36:22 +00:00 |
|
Pierangelo Masarati
|
04cf328716
|
make sure n,o are non-zero, so j is initialized (coverity)
|
2007-09-03 16:31:33 +00:00 |
|
Pierangelo Masarati
|
9beb9f9f51
|
fix one-time leak (coverity)
|
2007-09-03 16:27:01 +00:00 |
|
Pierangelo Masarati
|
55e908dca2
|
fix helper pointer inizialization (coverity)
|
2007-09-03 16:22:53 +00:00 |
|
Howard Chu
|
75964a771f
|
Use IA5String for olcDbConfig to allow empty strings
|
2007-09-03 00:41:30 +00:00 |
|
Howard Chu
|
f385341f46
|
Add IA5String macro
|
2007-09-03 00:40:52 +00:00 |
|
Howard Chu
|
f8fcb44d13
|
Fix PrintableString/IA5String commentary
|
2007-09-03 00:40:37 +00:00 |
|
Howard Chu
|
33f311d81f
|
Read DB_CONFIG file in server and tool mode, for config conversions
|
2007-09-02 23:53:29 +00:00 |
|
Howard Chu
|
d316b89bc3
|
Fix schema undo crash
|
2007-09-02 23:47:49 +00:00 |
|
Howard Chu
|
2437abac38
|
ITS#5082 RE23 compatibility, allow olcPasswordHash in global entry
|
2007-09-02 13:24:14 +00:00 |
|
Howard Chu
|
e10a33753a
|
Partially resurrect cn=Include stuff - parse from LDIF and ignore.
|
2007-09-02 12:01:56 +00:00 |
|
Howard Chu
|
dbac914e33
|
Hide log schema
|
2007-09-01 22:28:06 +00:00 |
|
Pierangelo Masarati
|
bcf9bce5f4
|
hide (experimental) schema
|
2007-09-01 16:09:06 +00:00 |
|
Pierangelo Masarati
|
c83b8b58a3
|
hide (experimental) schema
|
2007-09-01 16:01:29 +00:00 |
|
Pierangelo Masarati
|
f89f552d2a
|
fix previous commit
|
2007-09-01 15:47:23 +00:00 |
|
Pierangelo Masarati
|
f6dc2b1032
|
hide (experimental) schema
|
2007-09-01 15:45:12 +00:00 |
|
Pierangelo Masarati
|
56d9a93ad4
|
authzMatch IS octetStringMatch
|
2007-09-01 15:44:24 +00:00 |
|
Pierangelo Masarati
|
4edd5cca23
|
hide (experimental) schema
|
2007-09-01 15:38:03 +00:00 |
|
Pierangelo Masarati
|
63a7a69b89
|
hide schema
|
2007-09-01 15:32:47 +00:00 |
|
Howard Chu
|
c06ed65f2a
|
Protect Debug messages from NULL pointers
|
2007-09-01 13:35:34 +00:00 |
|
Quanah Gibson-Mount
|
dfe8eca92d
|
ITS#5102 fix
|
2007-09-01 00:28:07 +00:00 |
|
Howard Chu
|
784daf01e5
|
Fix DEVEL dependency
|
2007-09-01 00:11:42 +00:00 |
|
Howard Chu
|
d13d15c37a
|
Revert prev commit, don't advertise subord scope
|
2007-08-30 21:09:30 +00:00 |
|
Pierangelo Masarati
|
1b40253d4d
|
release certificateListValidate()
|
2007-08-30 20:27:13 +00:00 |
|
Howard Chu
|
f9bc1426ad
|
Fix SORTED_RESULTS check
|
2007-08-29 23:57:55 +00:00 |
|
Howard Chu
|
605fdacf51
|
unifdef LDAP_DEVEL for subordinate scope
|
2007-08-29 23:40:17 +00:00 |
|
Pierangelo Masarati
|
19330dc1cc
|
allow shutdown while syncrepl_del_nonpresent()
|
2007-08-29 18:13:12 +00:00 |
|
Pierangelo Masarati
|
eff90dc512
|
note what SID the server is assuming
|
2007-08-29 18:12:05 +00:00 |
|
Ralf Haferkamp
|
cd103f9010
|
Additional fix for ITS#4991. _cleanup callback was always executed when
needed.
|
2007-08-29 14:29:37 +00:00 |
|
Pierangelo Masarati
|
7ceaad7eb2
|
plug yet another leak
|
2007-08-29 00:27:47 +00:00 |
|
Pierangelo Masarati
|
6fb9790a15
|
plug another leak (hope it's general enough)
|
2007-08-29 00:14:33 +00:00 |
|
Pierangelo Masarati
|
e161e8efb6
|
fix test
|
2007-08-29 00:13:56 +00:00 |
|
Pierangelo Masarati
|
0bedad3b65
|
plug leak
|
2007-08-28 23:56:18 +00:00 |
|
Pierangelo Masarati
|
96767fee77
|
back out previous two commits
|
2007-08-28 23:13:29 +00:00 |
|
Pierangelo Masarati
|
c0f7dc78f7
|
fix uninit'ed var crasher
|
2007-08-28 23:00:36 +00:00 |
|
Pierangelo Masarati
|
a6fd7fa95a
|
add -S to slapadd to set desired SID in generated entryCSN/contextCSN
|
2007-08-28 19:35:57 +00:00 |
|
Pierangelo Masarati
|
5ed5bc5803
|
first round of CSN normalization consequences
|
2007-08-28 18:38:27 +00:00 |
|
Pierangelo Masarati
|
faa52ce410
|
forgot to re-sort operation names
|
2007-08-28 18:37:23 +00:00 |
|
Pierangelo Masarati
|
9a0797004f
|
if tool mode needs to add structuralObjectClass, override any database setting (rationale: if configured w/ mirror mode and syncrepl, a master is also a shadow, but we need to be able to slapadd to a master (possibly with the correct SID; will deal with this later)
|
2007-08-28 18:36:42 +00:00 |
|
Howard Chu
|
4ccb430c8c
|
Convert collect to dynamic config. Even though it's only a demo...
|
2007-08-28 09:19:07 +00:00 |
|
Pierangelo Masarati
|
47f1f66361
|
keep pretty and normal form of CSN the same...
|
2007-08-27 10:39:48 +00:00 |
|
Pierangelo Masarati
|
4db9863fa8
|
fix previous commit
|
2007-08-27 10:12:39 +00:00 |
|
Pierangelo Masarati
|
6edcf92419
|
also the MOD part is hex; preserve compatibility with OpenLDAP's 2.3 entryCSN
|
2007-08-27 10:09:46 +00:00 |
|
Pierangelo Masarati
|
81a4676571
|
add csnValidate/csnNormalize, since the SID could be hexadecimal, and we want upper/lowercase a-f to match as appropriate
|
2007-08-27 09:13:45 +00:00 |
|
Pierangelo Masarati
|
5674d38a17
|
allocate OID for back-sql configuration
|
2007-08-27 07:14:55 +00:00 |
|
Pierangelo Masarati
|
8931d68e37
|
close LDIF handler (valgrind)
|
2007-08-27 07:14:04 +00:00 |
|
Pierangelo Masarati
|
09cbbb92a7
|
need to copy the Entry to safely manipulate it
|
2007-08-27 07:13:25 +00:00 |
|
Pierangelo Masarati
|
5fb99e0a23
|
consistently dispose of limbo
|
2007-08-27 07:12:12 +00:00 |
|
Pierangelo Masarati
|
62504d7ef0
|
add anlist_free
|
2007-08-27 07:11:32 +00:00 |
|
Pierangelo Masarati
|
2082935657
|
so SIDs are hex
|
2007-08-27 07:09:57 +00:00 |
|
Pierangelo Masarati
|
7dc7c60c4b
|
improve previous commit; fix ITS#5108 by letting both SID and RID be 0..4095, input/output in decimal, but consistently handled in hexadecimals within CSN
|
2007-08-26 17:03:22 +00:00 |
|
Pierangelo Masarati
|
2132aa3b16
|
add support for CSNSIDMatch; use it to set contextCSN as appropriate when slapadd'ing -w
|
2007-08-26 15:39:45 +00:00 |
|
Pierangelo Masarati
|
7c66952714
|
check for shutdown (need to add to other backends?)
|
2007-08-26 15:38:51 +00:00 |
|
Pierangelo Masarati
|
b95e40f56f
|
cleanup
|
2007-08-26 15:38:20 +00:00 |
|
Pierangelo Masarati
|
af9233b9df
|
use LDAP_RES_UNSOLICITED for the response message id
|
2007-08-26 15:06:52 +00:00 |
|
Howard Chu
|
8367f0cfe4
|
revert prev commit, no gain
|
2007-08-26 14:37:12 +00:00 |
|
Howard Chu
|
ddc5c9f735
|
Just use read locks on the entry_db_lock
|
2007-08-26 13:49:35 +00:00 |
|
Pierangelo Masarati
|
e33abd467c
|
needs work: memberOf should not be replicated
|
2007-08-25 16:02:43 +00:00 |
|
Howard Chu
|
6d9e2cac21
|
Fix prev commit
|
2007-08-25 16:00:15 +00:00 |
|
Howard Chu
|
a1c088ed02
|
ITS#5077 again
|
2007-08-25 15:40:39 +00:00 |
|
Pierangelo Masarati
|
96611ac703
|
getting an abnormal number of empty syncUUID...
|
2007-08-25 15:15:05 +00:00 |
|
Pierangelo Masarati
|
071b77cf9d
|
better fix
|
2007-08-25 15:01:27 +00:00 |
|
Pierangelo Masarati
|
84143631ee
|
fix potential concurrency issue (not so potential, if we could regularly trigger it :)
|
2007-08-25 14:58:43 +00:00 |
|
Pierangelo Masarati
|
abca6f16a6
|
also improve massaged DN containment check
|
2007-08-25 10:57:08 +00:00 |
|
Pierangelo Masarati
|
2be301db66
|
improve URI DN containment check
|
2007-08-25 10:13:51 +00:00 |
|
Pierangelo Masarati
|
097420bfc4
|
fix typo
|
2007-08-25 09:37:59 +00:00 |
|
Howard Chu
|
528b3bc601
|
Fix aux/structural comment
|
2007-08-25 00:42:37 +00:00 |
|
Pierangelo Masarati
|
8f95ff260c
|
consistently use "tag=" instead of "op=" in debug messages
|
2007-08-25 00:10:52 +00:00 |
|
Howard Chu
|
da5c3285d2
|
Fix config delete
|
2007-08-24 23:56:55 +00:00 |
|
Howard Chu
|
ecf59634e9
|
Fix prev commit
|
2007-08-24 23:28:43 +00:00 |
|
Pierangelo Masarati
|
6f9519543e
|
- fix logging of controls;
- add support for Control syntax;
- use Control syntax and objectIdentifierFirstComponentMatch
with reqControls/reqRespControls
|
2007-08-24 23:13:41 +00:00 |
|
Pierangelo Masarati
|
72f009ac52
|
behave when a value of an ordered attr starts with '{' and either contains or not '}', but the prefix '{X}' does not contain a numericString
|
2007-08-24 23:05:10 +00:00 |
|
Howard Chu
|
7aaddee5bf
|
test_filter() should use ordered_value_match()
|
2007-08-24 22:34:04 +00:00 |
|
Pierangelo Masarati
|
30fbf95de1
|
allow to register further syntax/mr compatibility
|
2007-08-24 20:05:30 +00:00 |
|
Ralf Haferkamp
|
a57a24dab8
|
tcpd.h is already include in slap.h
|
2007-08-24 16:09:50 +00:00 |
|
Pierangelo Masarati
|
511a71067f
|
add logging of request/response controls
|
2007-08-24 12:50:01 +00:00 |
|
Pierangelo Masarati
|
ee8431b22d
|
add memberOf overlay
|
2007-08-24 02:46:55 +00:00 |
|
Howard Chu
|
2d4f198662
|
Add dgIdentity support
|
2007-08-23 23:33:37 +00:00 |
|
Howard Chu
|
ece1c226a1
|
Add dgIdentity from draft-haripriya-dynamicgroup-02
|
2007-08-23 02:09:17 +00:00 |
|
Howard Chu
|
7ef61c0ec0
|
Register dyngroup OID
|
2007-08-23 01:52:04 +00:00 |
|
Howard Chu
|
43463852f6
|
Add cn=config support
|
2007-08-23 01:40:09 +00:00 |
|
Pierangelo Masarati
|
25d46e7578
|
rework controls API
|
2007-08-22 22:35:14 +00:00 |
|
Pierangelo Masarati
|
7c9f63a60d
|
fix subtree rename integrity; curiously enough, tes023 only failed on 64 bit arch; probably because we'd need to double the stack of the slab on 64 bit archs...
|
2007-08-22 17:46:55 +00:00 |
|
Pierangelo Masarati
|
9a00bbb35f
|
add support for session tracking (draft-wahl-ldap-sessio) to proxy backends requests
|
2007-08-22 15:49:35 +00:00 |
|
Pierangelo Masarati
|
63b6bfd1a4
|
don't Statslog before getting controls
|
2007-08-22 14:41:42 +00:00 |
|
Pierangelo Masarati
|
99c92b74c9
|
handle response controls in exops
|
2007-08-22 12:07:27 +00:00 |
|
Pierangelo Masarati
|
05b9123a03
|
consistently use o_log_prefix
|
2007-08-22 09:17:09 +00:00 |
|