Howard Chu
a766cdf268
Revert "ITS#7292 plug memleak in control values"
...
This reverts commit 9e3af2356b
.
2012-06-08 04:11:29 -07:00
Howard Chu
96876a171a
ITS#7292 more syncprov leaks
2012-06-07 16:02:45 -07:00
Howard Chu
9e3af2356b
ITS#7292 plug memleak in control values
2012-06-07 13:18:31 -07:00
Howard Chu
4dba1f6963
ITS#7292 plug memleaks in accesslog,syncprov
2012-06-07 11:33:20 -07:00
Howard Chu
16c97dee9c
ITS#7076 fix dup result messages on entry/searchref error
2012-06-07 05:43:13 -07:00
Howard Chu
e2b5aaf5dd
ITS#7290 fix ldap_int_initialize() to set debug level
2012-06-07 05:15:04 -07:00
Jan Vcelak
00d0e16272
ITS#7291 MozNSS: read pin from file file can cause infinite loop
...
The buffer allocated for reading password file has to be initialized
with zeros, or we need to append zero at the end of the file. Otherwise
we might read unitialized memory and consider it to be a password.
2012-06-07 05:05:08 -07:00
Tim Strobell (Contractor)
4b6bd2c600
ITS#7289 MozNSS: cipher suite selection by name may be ignored
2012-06-07 05:03:15 -07:00
Jan Vcelak
dc3842fca3
ITS#7287 MozNSS: do not overwrite error in tlsm_verify_cert
2012-06-05 03:43:24 -07:00
Tim Strobell (Contractor)
2c2bb2e7ae
ITS#7285 Mozilla NSS: default cipher suite always selected
2012-06-05 03:43:15 -07:00
Quanah Gibson-Mount
3f46f2e0bc
Merge remote branch 'origin/mdb.master'
2012-06-04 19:41:58 -07:00
Howard Chu
a334257800
Tweak prev commit, use first unused slot
2012-06-02 05:26:31 -07:00
Howard Chu
4cabb24b83
Fix mdb_open, re-use closed dbi slots
2012-06-02 05:24:47 -07:00
Hrvoje
243a2316d3
ITS#7222 fix bdb/hdb cache hang under high load
2012-05-31 10:48:38 -07:00
SATOH Fumiyasu
4272551a01
ITS#7284 slappasswd: Add support loading a dynamically loadable module
...
Add "-o module-path=<pathspec>" and "-o module-load=<filename>"
options to load a dynamically loadable password hash module
(e.g., slapd-sha2).
2012-05-31 02:46:04 -07:00
W. Trevor King
5cf4fbc74d
ITS#7271 Don't clobber SASL_NOCANON in clients/tools/common.c
2012-05-30 09:39:54 -07:00
Jan Vcelak
df1d118de8
ITS#7276 MozNSS: allow CA certdb together with PEM CA bundle file
...
Prior to this patch, if TLS_CACERTDIR was set to Mozilla NSS certificate
database and TLS_CACERT was set to a PEM bundle file with CA
certificates, the PEM file content was not loaded.
With this patch and the same settings, OpenLDAP can verify certificates
which are signed by CAs stored both in certdb and PEM bundle file.
2012-05-30 06:18:50 -07:00
Frederik Deweerdt
8bb9e88d5f
ITS#7270 Protect accesses to ldap_int_hostname with a mutex.
...
Not protecting the accesses to ldap_int_hostname could lead to a double
free.
2012-05-30 05:49:53 -07:00
Howard Chu
d0296e6e33
ITS#7279 init rc in mdb_idl_insert_keys
2012-05-30 05:09:31 -07:00
Howard Chu
68ffed7130
Additional fix for threaded slapadd
...
If slapadd'ing a config DB and tool-threads is set in the config LDIF,
the checks for slap_tool_thread_max will be invalid.
2012-05-29 19:49:58 -07:00
Quanah Gibson-Mount
74e8e39840
Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
2012-05-29 16:09:31 -07:00
Quanah Gibson-Mount
d356c16de2
ITS7282 Fix peername.regex example
2012-05-29 16:07:35 -07:00
SATOH Fumiyasu
899f3c994f
ITS#7278 SHA-2: Add support salted SHA-2 password hashes
...
Support {SSHA256}, {SSHA384} and {SSHA512} hash schemes
2012-05-29 16:05:56 -07:00
SATOH Fumiyasu
3bc7f6d27d
ITS#7269 SHA2: Avoid "static char real_hash[]" to support multithread
...
Remove sha*_hex_hash() and replace chk_sha*() with
libraries/liblutil/passwd.c:chk_sha1() implementation to
avoid a race condition.
2012-05-29 16:02:16 -07:00
Howard Chu
22bf5188a9
Merge remote-tracking branch 'origin/mdb.master'
2012-05-09 12:13:05 -07:00
Howard Chu
eeec509150
ITS#7266 fix rebalance for LEAF2 pages
2012-05-09 11:24:25 -07:00
Howard Chu
ff1839ebe6
Merge remote-tracking branch 'origin/mdb.master'
2012-05-08 22:19:05 -07:00
Howard Chu
a540597dd6
More freelist tweaks, avoid referencing freed page
2012-05-08 22:17:17 -07:00
SATOH Fumiyasu
e4f4322f6c
SHA2: Make slapd-sha2 module portable
...
contrib/slapd-modules/passwd/sha2/sha2.[ch] need portable.h and
some macros to be portable source.
contrib/slapd-modules/passwd/sha2/slapd-sha2.c:hash_sha*() must
declare "struct berval digest" before a statement for K&R C,
and must replace C++ "// foo"-style comments with C style.
2012-05-08 12:16:25 -07:00
Howard Chu
326d07d8c6
Merge remote-tracking branch 'origin/mdb.master'
2012-05-05 19:42:30 -07:00
Howard Chu
fadf75a9cb
Further clarification of mdb_open()
2012-05-05 19:41:45 -07:00
Howard Chu
34240dbbbb
ITS#7255 in mdb_tool_entry_modify use the existing global txn
2012-05-02 13:32:06 -07:00
Howard Chu
1d89901e73
ITS#7253 add a note about Criticality and RFC4510
2012-04-20 07:24:03 -07:00
Howard Chu
4d0d12db27
Merge remote-tracking branch 'origin/mdb.master'
2012-04-18 16:05:16 -07:00
Howard Chu
fbf9c23304
ITS#7251 fix Apple/Windows shared mutex naming
2012-04-18 15:59:54 -07:00
Howard Chu
42e3bedbf2
ITS#7182 new entry points should just be appended to monitor_extra_t
2012-04-18 11:52:38 -07:00
Ondrej Kuznik
6f8fb3bf39
ITS#7182 Simplify connection entry creation using entry_stub.
2012-04-18 11:44:55 -07:00
Ondrej Kuznik
e255d3e996
ITS#7182 Remove use of monitor_info_t in back-ldap.
2012-04-18 11:44:49 -07:00
Ondrej Kuznik
e8d913110d
ITS#7182 Remove monitor_info_t from params for monitor_entry_stub.
2012-04-18 11:44:36 -07:00
Ondrej Kuznik
838a7f5138
ITS#7182 allow for later monitor subsystem registration
...
Some databases might want to register their subsystems under the dn
allocated for them by monitor_register_databas. It requires that the
deferred database registration callback be called *before* the
subsystem's.
2012-04-18 11:44:17 -07:00
Howard Chu
7767a41061
ITS#7240 note option inheritance behavior
2012-04-18 03:09:53 -07:00
Pierangelo Masarati
e92704309a
more on ITS#6656
2012-04-17 21:51:02 +02:00
Howard Chu
62cdc32f4e
ITS#7245 fix slap_parse_sync_cookie invocation
2012-04-16 07:36:43 -07:00
Howard Chu
519e2b34b5
Support double-buffering for threaded slapadd
2012-04-14 07:54:26 -07:00
Pierangelo Masarati
5bbfd85a83
ITS#7088 fix deadlock on write operations that do not need to be logged (please check)
2012-04-12 18:04:39 +02:00
Hallvard Furuseth
20baad4a20
libmdb: midl.h namespace cleanup.
...
Prefix ID, NOID, ID2, IDL, ID2L with 'MDB_'.
Also drop bdb from file description.
2012-04-12 08:24:36 +02:00
Hallvard Furuseth
0a4aa88927
libmdb: Simplify pick_meta() from read_meta().
...
Put one call in #if MDB_DEBUG. Move DPRINTF(Using meta page #) there.
2012-04-12 08:15:33 +02:00
Hallvard Furuseth
dce5bb2fee
libmdb: Simplify mdb_default_cmp. No real change.
2012-04-12 08:15:33 +02:00
Hallvard Furuseth
729a8a2819
libmdb: signed meets unsigned warning cleanup
2012-04-12 08:15:33 +02:00
Hallvard Furuseth
99fa22c164
libmdb: MDB_FDATASYNC code cleanup.
...
Define MDB_FDATASYNC() instead of redefining fdatasync().
2012-04-12 08:15:33 +02:00