]> git.sur5r.net Git - openldap/log
openldap
9 years agoMerge remote-tracking branch 'origin/master' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Fri, 21 Aug 2015 03:03:58 +0000 (22:03 -0500)]
Merge remote-tracking branch 'origin/master' into OPENLDAP_REL_ENG_2_5

9 years agoITS#8114 OpenLDAP WiredTiger Backend
HAMANO Tsukasa [Mon, 27 Apr 2015 01:27:58 +0000 (10:27 +0900)]
ITS#8114 OpenLDAP WiredTiger Backend

9 years agoITS#8082 plug benign memleak
Howard Chu [Wed, 19 Aug 2015 16:44:08 +0000 (17:44 +0100)]
ITS#8082 plug benign memleak

9 years agoITS#8218 zero filter after freeing
Howard Chu [Wed, 19 Aug 2015 14:25:46 +0000 (15:25 +0100)]
ITS#8218 zero filter after freeing

This appears to be cruft leftover from rev e8c58b4e7f21caa6c0b6006e3528cbad9b8aed45

9 years agoITS#8220 restore refint performance
Howard Chu [Wed, 19 Aug 2015 13:04:15 +0000 (14:04 +0100)]
ITS#8220 restore refint performance

9 years agoMerge remote-tracking branch 'origin/master' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Tue, 18 Aug 2015 20:07:45 +0000 (15:07 -0500)]
Merge remote-tracking branch 'origin/master' into OPENLDAP_REL_ENG_2_5

9 years agoITS#8213 fix deleting rewrite rules
Ryan Tandy [Fri, 7 Aug 2015 21:03:45 +0000 (14:03 -0700)]
ITS#8213 fix deleting rewrite rules

From ITS#5940. Add path has the same code.

9 years agoITS#8185 fix OID collision
Howard Chu [Sat, 15 Aug 2015 00:42:12 +0000 (01:42 +0100)]
ITS#8185 fix OID collision

9 years agoITS#8185 missing schema reference
Howard Chu [Fri, 14 Aug 2015 23:56:50 +0000 (00:56 +0100)]
ITS#8185 missing schema reference

9 years agoStrip down even more
Howard Chu [Wed, 3 Dec 2014 15:19:01 +0000 (15:19 +0000)]
Strip down even more

syslogd always overrides the timestamp, so just omit it
Don't use *printf if we don't need to.

9 years agoUse batched write txns in refresh
Howard Chu [Tue, 3 Feb 2015 08:21:13 +0000 (08:21 +0000)]
Use batched write txns in refresh

Experimental - write 500 updates per txn instead of 1:1

9 years agoITS#8133 avoid mods during dds_db_open
Ryan Tandy [Thu, 7 May 2015 04:39:10 +0000 (21:39 -0700)]
ITS#8133 avoid mods during dds_db_open

If dds is present early in the overlay stack, the modify ops from
dds_expire can trigger other overlays before they have initialized.
Avoid that by delaying the first expiry until startup has finished.

9 years agoFix copy/paste error in prev commit
Howard Chu [Fri, 14 Aug 2015 14:33:32 +0000 (15:33 +0100)]
Fix copy/paste error in prev commit

9 years agoITS#8185 add pwdMaxRecordedFailure
Howard Chu [Fri, 14 Aug 2015 14:19:46 +0000 (15:19 +0100)]
ITS#8185 add pwdMaxRecordedFailure

Limit the number of pwdFailureTime stamps to record, regardless
of lockout settings.

9 years agoMore filter tweaks
Howard Chu [Mon, 10 Aug 2015 18:36:06 +0000 (19:36 +0100)]
More filter tweaks

9 years agoShortcut name mapping
Howard Chu [Sun, 9 Aug 2015 19:56:23 +0000 (20:56 +0100)]
Shortcut name mapping

If the naming attribute is in the RDN we don't need to look it up.

9 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.

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

9 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

9 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

9 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

9 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

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

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

9 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

9 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

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

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

9 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.

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

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

9 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.

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

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Tue, 18 Aug 2015 19:53:04 +0000 (14:53 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5

9 years agoFix merge conflicts between head and RE25
Quanah Gibson-Mount [Tue, 18 Aug 2015 19:51:49 +0000 (14:51 -0500)]
Fix merge conflicts between head and RE25

9 years agoITS#8185 fix OID collision
Howard Chu [Sat, 15 Aug 2015 00:42:12 +0000 (01:42 +0100)]
ITS#8185 fix OID collision

9 years agoITS#8185 missing schema reference
Howard Chu [Fri, 14 Aug 2015 23:56:50 +0000 (00:56 +0100)]
ITS#8185 missing schema reference

9 years agoStrip down even more
Howard Chu [Wed, 3 Dec 2014 15:19:01 +0000 (15:19 +0000)]
Strip down even more

syslogd always overrides the timestamp, so just omit it
Don't use *printf if we don't need to.

9 years agoUse batched write txns in refresh
Howard Chu [Tue, 3 Feb 2015 08:21:13 +0000 (08:21 +0000)]
Use batched write txns in refresh

Experimental - write 500 updates per txn instead of 1:1

9 years agoITS#8133 avoid mods during dds_db_open
Ryan Tandy [Thu, 7 May 2015 04:39:10 +0000 (21:39 -0700)]
ITS#8133 avoid mods during dds_db_open

If dds is present early in the overlay stack, the modify ops from
dds_expire can trigger other overlays before they have initialized.
Avoid that by delaying the first expiry until startup has finished.

9 years agoFix copy/paste error in prev commit
Howard Chu [Fri, 14 Aug 2015 14:33:32 +0000 (15:33 +0100)]
Fix copy/paste error in prev commit

9 years agoITS#8185 add pwdMaxRecordedFailure
Howard Chu [Fri, 14 Aug 2015 14:19:46 +0000 (15:19 +0100)]
ITS#8185 add pwdMaxRecordedFailure

Limit the number of pwdFailureTime stamps to record, regardless
of lockout settings.

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Fri, 14 Aug 2015 00:03:42 +0000 (01:03 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoRelease 0.9.16 LMDB_0.9.16
Howard Chu [Fri, 14 Aug 2015 00:00:38 +0000 (01:00 +0100)]
Release 0.9.16

9 years agoMore filter tweaks
Howard Chu [Mon, 10 Aug 2015 18:36:06 +0000 (19:36 +0100)]
More filter tweaks

9 years agoShortcut name mapping
Howard Chu [Sun, 9 Aug 2015 19:56:23 +0000 (20:56 +0100)]
Shortcut name mapping

If the naming attribute is in the RDN we don't need to look it up.

9 years agoITS#8213 fix deleting rewrite rules
Ryan Tandy [Fri, 7 Aug 2015 21:03:45 +0000 (14:03 -0700)]
ITS#8213 fix deleting rewrite rules

From ITS#5940. Add path has the same code.

9 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.

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

9 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

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

9 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

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

9 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

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

9 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'

9 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

9 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

9 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.

9 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.

9 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

9 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.

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

9 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

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5
Quanah Gibson-Mount [Tue, 28 Jul 2015 15:30:16 +0000 (10:30 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_5

9 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

9 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'

9 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

9 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.

9 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

9 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

9 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

9 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

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

9 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

9 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.

9 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.

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

9 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

9 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

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

9 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

9 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.

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

9 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.

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

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

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

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

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

9 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.

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

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

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

9 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'

9 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

9 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

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

9 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'

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