]> git.sur5r.net Git - openldap/log
openldap
8 years agoMore filter mapping
Howard Chu [Fri, 7 Aug 2015 01:49:33 +0000 (02:49 +0100)]
More filter mapping

Was only handling (objectclass=<group>)(<memberUid>=bar).
Now handles (objectclass=<group>)(<groupname>=bar) too.

8 years agoAvoid timing issues in pcache
Howard Chu [Tue, 4 Aug 2015 12:27:01 +0000 (13:27 +0100)]
Avoid timing issues in pcache

8 years agoAvoid hex timestamp in middle of lines
Howard Chu [Tue, 4 Aug 2015 12:24:52 +0000 (13:24 +0100)]
Avoid hex timestamp in middle of lines

Tweaks commit 8d74f717ff8390e5ba611b170d8cf4b427e59114
Don't worry about threading/race conditions here, it's not important

8 years agoFix interaction with rwm
Howard Chu [Fri, 31 Jul 2015 23:35:44 +0000 (00:35 +0100)]
Fix interaction with rwm

8 years agoAlso remap explicitly requested attr names
Howard Chu [Fri, 31 Jul 2015 23:20:49 +0000 (00:20 +0100)]
Also remap explicitly requested attr names

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Wed, 29 Jul 2015 23:55:37 +0000 (00:55 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8192 fix reference to EINTR on WIN32 from ITS#8106
Howard Chu [Wed, 29 Jul 2015 19:01:34 +0000 (20:01 +0100)]
ITS#8192 fix reference to EINTR on WIN32 from ITS#8106

8 years agoUpdated for ITS#8181, #8190, #8200
Howard Chu [Tue, 28 Jul 2015 14:20:43 +0000 (15:20 +0100)]
Updated for ITS#8181, #8190, #8200

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Tue, 28 Jul 2015 14:14:10 +0000 (15:14 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8200 Fix mdb_midl_shrink() usage, return void
Hallvard Furuseth [Sun, 19 Jul 2015 19:18:31 +0000 (21:18 +0200)]
ITS#8200 Fix mdb_midl_shrink() usage, return void

8 years agoITS#8181 Verify that records are/aren't DBs.
Hallvard Furuseth [Sat, 11 Jul 2015 19:01:40 +0000 (21:01 +0200)]
ITS#8181 Verify that records are/aren't DBs.

Except we don't catch the user passing F_SUBDATA to
mdb_cursor_<put/del>, like an internal LMDB call.

8 years agoITS#8190 fix cursor EOF bug
Howard Chu [Tue, 7 Jul 2015 12:41:32 +0000 (13:41 +0100)]
ITS#8190 fix cursor EOF bug

8 years agoFix filter init
Howard Chu [Tue, 28 Jul 2015 11:10:54 +0000 (12:10 +0100)]
Fix filter init

compound filters f_next is not ignored

8 years agoMore tweaks
Howard Chu [Sat, 25 Jul 2015 22:23:41 +0000 (23:23 +0100)]
More tweaks

Check for error on internal search, init AttributeAssertions in
constructed filter

8 years agotweak filter mapping in prev commit
Howard Chu [Sat, 25 Jul 2015 21:31:43 +0000 (22:31 +0100)]
tweak filter mapping in prev commit

Don't bypass downcasing

8 years agoAdd filter remapping
Howard Chu [Sat, 25 Jul 2015 21:23:46 +0000 (22:23 +0100)]
Add filter remapping

8 years agoITS#8203 plug leak in prev commit
Howard Chu [Fri, 24 Jul 2015 18:32:19 +0000 (19:32 +0100)]
ITS#8203 plug leak in prev commit

8 years agoITS#8203 more fixes for #8036/#7904.
Howard Chu [Fri, 24 Jul 2015 17:34:11 +0000 (18:34 +0100)]
ITS#8203 more fixes for #8036/#7904.

8 years agoITS#8199 fix NULL ptr dereference in at_next
Ryan Tandy [Fri, 17 Jul 2015 22:46:32 +0000 (15:46 -0700)]
ITS#8199 fix NULL ptr dereference in at_next

Deleting all values of olcAttributeTypes and then adding a value with
index > 0 triggers a NULL dereference when config_generic tries to
append to a list that doesn't exist yet.

Already fixed for olcObjectClasses in ITS#5388.

8 years agoITS#8201 LDAPSTACKGUARD feature
Howard Chu [Thu, 16 Jul 2015 17:58:23 +0000 (18:58 +0100)]
ITS#8201 LDAPSTACKGUARD feature

8 years agoITS#8173 fix SEGV after failed retry
Howard Chu [Thu, 16 Jul 2015 02:29:06 +0000 (03:29 +0100)]
ITS#8173 fix SEGV after failed retry

8 years agoFix setting authTimestamp on non-TOTP binds
Howard Chu [Thu, 16 Jul 2015 02:28:37 +0000 (03:28 +0100)]
Fix setting authTimestamp on non-TOTP binds

8 years agoPlug memleak on mismatched length
Howard Chu [Mon, 13 Jul 2015 16:17:42 +0000 (17:17 +0100)]
Plug memleak on mismatched length

8 years agoITS#8195 fix ITS#7027 regression, port number sign bit overflow
Howard Chu [Sun, 12 Jul 2015 10:14:33 +0000 (11:14 +0100)]
ITS#8195 fix ITS#7027 regression, port number sign bit overflow

Another bug from 5de85b922aaa5bfa6eb53db6000adf01ebdb0736

8 years agoITS#8184 avoid redundant mod ops
Howard Chu [Thu, 9 Jul 2015 18:11:22 +0000 (19:11 +0100)]
ITS#8184 avoid redundant mod ops

If multiple ppolicy overlays are present on a glued tree, they all
attempt to update the policy operational attributes in response to
password-related activities. The redundant mod ops will cause the
entire op to fail. Check for these ops before inserting new ones.

8 years agoRevert unintended commit
Howard Chu [Wed, 8 Jul 2015 13:25:52 +0000 (14:25 +0100)]
Revert unintended commit

8 years agoExperimental syslog() replacement
Howard Chu [Wed, 8 Jul 2015 13:22:29 +0000 (14:22 +0100)]
Experimental syslog() replacement

2-3x faster than libc. Add it to the Makefile yourself if you want to test it.

8 years agoFix whitespace in manpage
Howard Chu [Tue, 7 Jul 2015 18:08:54 +0000 (19:08 +0100)]
Fix whitespace in manpage

8 years agoITS#8056
Quanah Gibson-Mount [Mon, 6 Jul 2015 16:49:24 +0000 (11:49 -0500)]
ITS#8056
Regenerate configure

8 years agoNew ADremap overlay
Howard Chu [Fri, 3 Jul 2015 19:11:25 +0000 (20:11 +0100)]
New ADremap overlay

8 years agoFix cfg OID typos
Howard Chu [Fri, 3 Jul 2015 09:52:20 +0000 (10:52 +0100)]
Fix cfg OID typos

8 years agoMerge authTimestamp from lastbind overlay
Howard Chu [Thu, 2 Jul 2015 19:12:51 +0000 (20:12 +0100)]
Merge authTimestamp from lastbind overlay

This code duplicates the basic function of lastbind. The two overlays
cannot be used together. The timestamp Mod op is changed to require
the old value to still be present at the end of the Bind. This allows
us to detect collisions (multiple successful Binds in the same time
window) and properly fail the extra Bind attempts.

8 years agoReturn to Release Engineering
Howard Chu [Thu, 2 Jul 2015 17:04:25 +0000 (18:04 +0100)]
Return to Release Engineering

8 years agoAdd TOTP pw mechanism
Howard Chu [Thu, 2 Jul 2015 16:05:14 +0000 (17:05 +0100)]
Add TOTP pw mechanism

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Sun, 21 Jun 2015 00:18:13 +0000 (19:18 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoRelease 0.9.15 LMDB_0.9.15
Howard Chu [Fri, 19 Jun 2015 13:10:32 +0000 (14:10 +0100)]
Release 0.9.15

8 years agoITS#8158 Fix sendto() address length for CLDAP
Hallvard Furuseth [Mon, 15 Jun 2015 17:57:48 +0000 (19:57 +0200)]
ITS#8158 Fix sendto() address length for CLDAP

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Fri, 5 Jun 2015 20:50:26 +0000 (15:50 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoUpdate for mdb_env_open
Hallvard Furuseth [Tue, 2 Jun 2015 19:07:33 +0000 (21:07 +0200)]
Update for mdb_env_open

8 years agoClarify mdb_env_open() doc of 'mode' param
Hallvard Furuseth [Tue, 2 Jun 2015 18:49:33 +0000 (20:49 +0200)]
Clarify mdb_env_open() doc of 'mode' param

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Mon, 1 Jun 2015 21:28:24 +0000 (16:28 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agomore CHANGES
Hallvard Furuseth [Fri, 29 May 2015 01:08:32 +0000 (03:08 +0200)]
more CHANGES

8 years agoITS#8156
Hallvard Furuseth [Thu, 28 May 2015 19:13:24 +0000 (21:13 +0200)]
ITS#8156

8 years agoITS#8156 Fix MDB_MAXKEYSIZE doc
Hallvard Furuseth [Thu, 28 May 2015 18:51:24 +0000 (20:51 +0200)]
ITS#8156 Fix MDB_MAXKEYSIZE doc

8 years agoITS#8157
Hallvard Furuseth [Wed, 27 May 2015 22:12:53 +0000 (00:12 +0200)]
ITS#8157

8 years agoITS#8157 mdb_txn_renew0(): init after error checks
Hallvard Furuseth [Wed, 27 May 2015 20:26:54 +0000 (22:26 +0200)]
ITS#8157 mdb_txn_renew0(): init after error checks

8 years agomtest*.c: Fix MDB_NOOVERWRITE, plug cursor leak
Hallvard Furuseth [Wed, 20 May 2015 01:17:47 +0000 (03:17 +0200)]
mtest*.c: Fix MDB_NOOVERWRITE, plug cursor leak

8 years agoITS#8117 Fix MDB_INTEGERDUP keysize doc + md_dcmp
Hallvard Furuseth [Tue, 19 May 2015 18:33:35 +0000 (20:33 +0200)]
ITS#8117 Fix MDB_INTEGERDUP keysize doc + md_dcmp

9 years agoITS#7769 Fix typo in slapd-meta manpage.
Jan Synacek [Tue, 17 Dec 2013 11:21:57 +0000 (12:21 +0100)]
ITS#7769 Fix typo in slapd-meta manpage.

9 years agoITS#8142 cleanup prev commit
Howard Chu [Thu, 21 May 2015 00:20:16 +0000 (01:20 +0100)]
ITS#8142 cleanup prev commit

Only drop connection if user originally bound to this backend,
and rebind-as-user was set. Sessions from other backends would
use idassert-bind so loss of creds doesn't affect them.

9 years agoITS#8129 fix typo from ITS#6613
Howard Chu [Wed, 20 May 2015 22:46:51 +0000 (23:46 +0100)]
ITS#8129 fix typo from ITS#6613

9 years agoITS#8150 let check_name_index handle frontend
Ryan Tandy [Wed, 20 May 2015 21:39:08 +0000 (14:39 -0700)]
ITS#8150 let check_name_index handle frontend

The fix for ITS#7016 only adjusted the frontend entry's DN, but not the
naming attribute in the entry. check_name_index knows how to do both.

9 years agoITS#8146 fix off-by-1 in prev commit
Howard Chu [Tue, 19 May 2015 20:21:54 +0000 (21:21 +0100)]
ITS#8146 fix off-by-1 in prev commit

9 years agoITS#8142 drop client connection on remote failure
Howard Chu [Tue, 19 May 2015 14:37:24 +0000 (15:37 +0100)]
ITS#8142 drop client connection on remote failure

also cleanup of return-code handling

9 years agoITS#8146 tweak prev commit
Howard Chu [Mon, 18 May 2015 17:06:58 +0000 (18:06 +0100)]
ITS#8146 tweak prev commit

Test less likely condition first

9 years agoITS#8146 fix mdb_filter_candidates for unindexed attr
Howard Chu [Mon, 18 May 2015 16:55:04 +0000 (17:55 +0100)]
ITS#8146 fix mdb_filter_candidates for unindexed attr

Change result of MDB_IDL_ALL() to use the last entryID in the DB
instead of NOID.

9 years agoITS#8127 fix ftello for Win32
Howard Chu [Thu, 7 May 2015 09:45:28 +0000 (10:45 +0100)]
ITS#8127 fix ftello for Win32

9 years agoITS#8131 fix typo in prev commit
Emmanuel Lécharny [Wed, 6 May 2015 15:47:28 +0000 (16:47 +0100)]
ITS#8131 fix typo in prev commit

9 years agoITS#8131 improve back-meta logs
Howard Chu [Wed, 6 May 2015 15:36:32 +0000 (16:36 +0100)]
ITS#8131 improve back-meta logs

9 years agoSilence warnings
Hallvard Furuseth [Mon, 4 May 2015 19:07:02 +0000 (21:07 +0200)]
Silence warnings

9 years agoITS#8092 fix previous fix.
Hallvard Furuseth [Mon, 4 May 2015 19:05:57 +0000 (21:05 +0200)]
ITS#8092 fix previous fix.

slap_auxprop_lookup() returns void with old sasl versions.

9 years agoFallback typedef for slap_sasl_cb_ft
Hallvard Furuseth [Mon, 4 May 2015 18:52:00 +0000 (20:52 +0200)]
Fallback typedef for slap_sasl_cb_ft

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Mon, 4 May 2015 16:36:27 +0000 (11:36 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoITS#8117 better fix
Howard Chu [Sun, 3 May 2015 06:52:47 +0000 (07:52 +0100)]
ITS#8117 better fix

Don't change mc_dbx because we would need to undo the change if
the txn aborts. Make the fix (for get) match existing code for put.

9 years agoRevert "ITS#8117 cleanup prev commit"
Howard Chu [Sun, 3 May 2015 06:43:11 +0000 (07:43 +0100)]
Revert "ITS#8117 cleanup prev commit"

This reverts commit 47c4e747a0ce58f9ecfb5b9615f4c2b6d0753024.

Revert "ITS#8117 fix INTEGERDUP compare"

This reverts commit ba45e0c05aee867ac1d8240eeb013d37487bb146.

9 years agoITS#8120 Move final CHECK_CSN block to before the mutex is unlocked.
Quanah Gibson-Mount [Thu, 30 Apr 2015 03:30:17 +0000 (22:30 -0500)]
ITS#8120 Move final CHECK_CSN block to before the mutex is unlocked.

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Thu, 30 Apr 2015 00:02:39 +0000 (19:02 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoITS#8118 dosearch: flush stdout
Thomas Cort [Wed, 29 Apr 2015 17:33:53 +0000 (13:33 -0400)]
ITS#8118 dosearch: flush stdout

The LDIF output wasn't being explicitly flushed. In certain scenarios,
such as piping the output of a persistent ldapsearch to node.js v0.12
on Mac OS X 10.10.3, the output is unavailable to the process
consuming the search results until the stdio buffer fills (8192 bytes
for example). This can leave the tail end of persistent search results
in the buffer for a long time (until enough output has accumulated).

Explicitly call flush so that the output is immediately available.

9 years agoITS#8117
Howard Chu [Wed, 29 Apr 2015 16:25:42 +0000 (17:25 +0100)]
ITS#8117

9 years agoITS#8117 cleanup prev commit
Howard Chu [Wed, 29 Apr 2015 16:28:21 +0000 (17:28 +0100)]
ITS#8117 cleanup prev commit

9 years agoITS#8117 fix INTEGERDUP compare
Howard Chu [Wed, 29 Apr 2015 16:12:40 +0000 (17:12 +0100)]
ITS#8117 fix INTEGERDUP compare

9 years agoMore for ITS#8105
Jan Synacek [Fri, 24 Apr 2015 11:39:33 +0000 (13:39 +0200)]
More for ITS#8105

Fix multiple argument handling. For example:

perlModuleConfig homedir /home/jsynacek

should be converted to

olcPerlModuleConfig: homedir /home/jsynacek

and not to

olcPerlModuleConfig: homedir
olcPerlModuleConfig: /home/jsynacek

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Thu, 23 Apr 2015 17:49:31 +0000 (12:49 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoSilence warnings
Howard Chu [Thu, 23 Apr 2015 05:10:40 +0000 (06:10 +0100)]
Silence warnings

9 years agoITS#8108 silence rootdn check on hidden backends
Howard Chu [Thu, 23 Apr 2015 04:58:50 +0000 (05:58 +0100)]
ITS#8108 silence rootdn check on hidden backends

select_backend() skips hidden backends so it fails to match the
rootdn of a database that has been hidden. rootpw tries to see
if the rootdn matches the current backend but the check fails
when hidden. Ignore this check on hidden backends since one
cannot Bind to a hidden backend anyway.

9 years agoITS#8109
Howard Chu [Thu, 23 Apr 2015 04:52:13 +0000 (05:52 +0100)]
ITS#8109

9 years agoITS#8109 fix mdb_cursor_del0 on empty DB
Howard Chu [Thu, 23 Apr 2015 04:49:56 +0000 (05:49 +0100)]
ITS#8109 fix mdb_cursor_del0 on empty DB

9 years agoITS#8107 don't shadow rc
Ryan Tandy [Thu, 23 Apr 2015 03:21:25 +0000 (20:21 -0700)]
ITS#8107 don't shadow rc

9 years agoITS#8106
Howard Chu [Thu, 23 Apr 2015 02:27:33 +0000 (03:27 +0100)]
ITS#8106

9 years agoITS#8106 retry writes on EINTR
Howard Chu [Fri, 17 Apr 2015 17:32:54 +0000 (18:32 +0100)]
ITS#8106 retry writes on EINTR

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Wed, 22 Apr 2015 19:59:19 +0000 (14:59 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoCleanup mtest* and sample-*.
Hallvard Furuseth [Tue, 14 Apr 2015 18:25:51 +0000 (20:25 +0200)]
Cleanup mtest* and sample-*.

Fix mdb_txn_begin(&read-only txn) calls. Test mdb_env_set_maxreaders().
Rename DBI open/close functions. Move mdb_dbi_close() out of txn.

9 years agoReformat mdb_dbi_open() doc for clarity
Hallvard Furuseth [Tue, 14 Apr 2015 18:24:30 +0000 (20:24 +0200)]
Reformat mdb_dbi_open() doc for clarity

9 years agomdb_txn_renew(): Clear error from previous txn
Hallvard Furuseth [Wed, 8 Apr 2015 19:47:24 +0000 (21:47 +0200)]
mdb_txn_renew(): Clear error from previous txn

9 years agoITS#8062 fix uninit'd cursor index
Howard Chu [Wed, 18 Mar 2015 19:26:21 +0000 (19:26 +0000)]
ITS#8062 fix uninit'd cursor index

9 years agoFix EACCES description
Hallvard Furuseth [Tue, 27 Jan 2015 05:10:57 +0000 (06:10 +0100)]
Fix EACCES description

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Thu, 16 Apr 2015 19:59:07 +0000 (14:59 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoITS#8097 nssov: clean up some compiler warnings
Ryan Tandy [Tue, 24 Mar 2015 01:57:39 +0000 (18:57 -0700)]
ITS#8097 nssov: clean up some compiler warnings

9 years agoITS#8097 nssov: update to protocol version 2
Ryan Tandy [Wed, 7 Jan 2015 15:46:53 +0000 (07:46 -0800)]
ITS#8097 nssov: update to protocol version 2

This updates nssov for the protocol changes in nss-pam-ldapd commits
5f55781 and 6a74d8d. The protocol was changed to network byte order,
uid_t and gid_t were changed to int32_t, and the READ_TYPE and
WRITE_TYPE macros were removed. The PAM protocol was restructured to
drop the DN field and to use a common basic set of fields for all
requests.

9 years agoITS#8097 nssov: update nss-pam-ldapd files to 0.9.4
Ryan Tandy [Wed, 7 Jan 2015 15:45:23 +0000 (07:45 -0800)]
ITS#8097 nssov: update nss-pam-ldapd files to 0.9.4

9 years agoITS#8105 back-perl: correctly convert perlModuleConfig
Jan Synacek [Wed, 15 Apr 2015 06:53:39 +0000 (08:53 +0200)]
ITS#8105 back-perl: correctly convert perlModuleConfig

perlModuleConfig lines are not converted when using slaptest -f -F.

9 years agoITS#8062 also handle subcursors
Howard Chu [Wed, 15 Apr 2015 23:19:40 +0000 (00:19 +0100)]
ITS#8062 also handle subcursors

9 years agoITS#8062
Howard Chu [Wed, 15 Apr 2015 22:48:09 +0000 (23:48 +0100)]
ITS#8062

9 years agoITS#8062 fix rebalance
Howard Chu [Wed, 15 Apr 2015 22:20:55 +0000 (23:20 +0100)]
ITS#8062 fix rebalance

(Probably fixes the ITS, definitely fixes a bug) when collapsing
the root page, fixups of other cursors was incomplete.

9 years agoITS#8103 fix crash with more than 65535 aliases in a scope
Howard Chu [Mon, 13 Apr 2015 20:11:29 +0000 (13:11 -0700)]
ITS#8103 fix crash with more than 65535 aliases in a scope

9 years agoITS#8040 use NOMETASYNC for lazycommit
Howard Chu [Thu, 9 Apr 2015 14:56:22 +0000 (15:56 +0100)]
ITS#8040 use NOMETASYNC for lazycommit

not NOSYNC. Might be configurable in the future, but we don't
really want to add more config options at present

9 years agoITS#8040 fix 525aa23800b73fec618edf7c51b4c4ae81616d49
Howard Chu [Wed, 8 Apr 2015 22:30:12 +0000 (23:30 +0100)]
ITS#8040 fix 525aa23800b73fec618edf7c51b4c4ae81616d49

9 years agoITS#8057 test cases
Ondřej Kuzník [Tue, 7 Apr 2015 21:43:10 +0000 (22:43 +0100)]
ITS#8057 test cases

9 years agoITS#8057 Use an actual entry for modify/modrdn checks
Ondřej Kuzník [Tue, 7 Apr 2015 18:53:10 +0000 (19:53 +0100)]
ITS#8057 Use an actual entry for modify/modrdn checks

9 years agoITS#8040 document lazycommit
Howard Chu [Wed, 8 Apr 2015 22:18:03 +0000 (23:18 +0100)]
ITS#8040 document lazycommit