]> git.sur5r.net Git - openldap/log
openldap
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

9 years agoITS#8099
Quanah Gibson-Mount [Wed, 8 Apr 2015 20:01:15 +0000 (15:01 -0500)]
ITS#8099
Update documentation to correctly use tls_cipher_suite

9 years agoITS#8092 no-op if there's no context
Howard Chu [Wed, 1 Apr 2015 20:17:35 +0000 (21:17 +0100)]
ITS#8092 no-op if there's no context

9 years agoITS#8093 add LDAP_X_CONNECTING error string
Mikko Auvinen [Wed, 1 Apr 2015 19:52:00 +0000 (20:52 +0100)]
ITS#8093 add LDAP_X_CONNECTING error string

9 years agoITS#8090 fix for async connect
Howard Chu [Wed, 1 Apr 2015 19:45:35 +0000 (20:45 +0100)]
ITS#8090 fix for async connect

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

9 years agoITS#8081 - more for #8063
Howard Chu [Sat, 21 Mar 2015 21:32:48 +0000 (21:32 +0000)]
ITS#8081 - more for #8063

Prev patch broke underlying assumption that mods queue and execute
in order. Now must search list for matching mod to dequeue.

9 years agoITS#8080 nssov: use old pwd if it's given
Howard Chu [Wed, 18 Mar 2015 20:50:19 +0000 (20:50 +0000)]
ITS#8080 nssov: use old pwd if it's given

9 years agoITS#8080 nssov: allow user pwmod without pwdmgr configured
Ryan Tandy [Mon, 16 Mar 2015 04:53:32 +0000 (04:53 +0000)]
ITS#8080 nssov: allow user pwmod without pwdmgr configured

9 years agoITS#8080 nssov: only allow root to become pwdmgr
Ryan Tandy [Mon, 16 Mar 2015 04:44:21 +0000 (04:44 +0000)]
ITS#8080 nssov: only allow root to become pwdmgr

9 years agoITS#8080 nssov: require old password unless pwdmgr
Ryan Tandy [Mon, 16 Mar 2015 05:58:02 +0000 (05:58 +0000)]
ITS#8080 nssov: require old password unless pwdmgr

9 years agoITS#8079 nssov: fix compare for usergroup
Ryan Tandy [Sat, 14 Mar 2015 00:29:32 +0000 (00:29 +0000)]
ITS#8079 nssov: fix compare for usergroup

More for 5c527bc49e5d547e7f092e45d42baf6cb1ae89ae

9 years agoITS#8065 more for syncrepl compat
Howard Chu [Mon, 9 Mar 2015 19:05:07 +0000 (19:05 +0000)]
ITS#8065 more for syncrepl compat

Use opextra to detect our own internal ops, not a public control

9 years agoITS#8066
Quanah Gibson-Mount [Fri, 27 Feb 2015 23:15:23 +0000 (17:15 -0600)]
ITS#8066

9 years agoITS#8066 fix mdb_load with large values
Howard Chu [Thu, 26 Feb 2015 21:36:04 +0000 (21:36 +0000)]
ITS#8066 fix mdb_load with large values

9 years agoITS#8006 more rootdn privs
Howard Chu [Thu, 26 Feb 2015 00:14:41 +0000 (00:14 +0000)]
ITS#8006 more rootdn privs

9 years agoITS#8065 don't log/replicate internal ops
Howard Chu [Wed, 25 Feb 2015 15:34:00 +0000 (15:34 +0000)]
ITS#8065 don't log/replicate internal ops

9 years agoITS#8063 more for prev commit
Howard Chu [Wed, 25 Feb 2015 06:11:44 +0000 (06:11 +0000)]
ITS#8063 more for prev commit

9 years agoITS#8063 don't block our own thread
Howard Chu [Wed, 25 Feb 2015 05:44:07 +0000 (05:44 +0000)]
ITS#8063 don't block our own thread

9 years agoMore for prev commit
Howard Chu [Wed, 25 Feb 2015 00:39:14 +0000 (00:39 +0000)]
More for prev commit

9 years agoMore for ITS#6970
Howard Chu [Wed, 25 Feb 2015 00:30:36 +0000 (00:30 +0000)]
More for ITS#6970

modrdn had the same bug

9 years agoITS#8057 Enforce uniqueness unless permitted by ACL
Ondřej Kuzník [Sat, 14 Feb 2015 18:08:59 +0000 (18:08 +0000)]
ITS#8057 Enforce uniqueness unless permitted by ACL

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Thu, 12 Feb 2015 17:30:00 +0000 (11:30 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoHappy New Year
Quanah Gibson-Mount [Thu, 12 Feb 2015 16:46:33 +0000 (10:46 -0600)]
Happy New Year

9 years agoHappy New Year
Quanah Gibson-Mount [Thu, 12 Feb 2015 17:17:59 +0000 (11:17 -0600)]
Happy New Year

9 years agoHappy New Year
Quanah Gibson-Mount [Wed, 11 Feb 2015 21:36:57 +0000 (15:36 -0600)]
Happy New Year

9 years agoITS#8056 fix libdb detection with gcc 5
Jan Synacek [Wed, 11 Feb 2015 09:32:28 +0000 (10:32 +0100)]
ITS#8056 fix libdb detection with gcc 5

The old cpp version generated:
__db_version 5

The new output:
__db_version
            5

Running cpp with -P (inhibit linemarkers generation) fixes this when using gcc 5.
Behavior with older versions of gcc is not changed.

9 years agoITS#8046 add vrFilter test
Howard Chu [Sun, 8 Feb 2015 11:24:57 +0000 (11:24 +0000)]
ITS#8046 add vrFilter test

9 years agoITS#8051 use a regexp
Howard Chu [Wed, 4 Feb 2015 05:21:46 +0000 (05:21 +0000)]
ITS#8051 use a regexp

9 years agoITS#8051 add DN qualifier
Howard Chu [Wed, 4 Feb 2015 03:53:13 +0000 (03:53 +0000)]
ITS#8051 add DN qualifier

9 years agoITS#8050 fix ldap_get_option(LDAP_OPT_SESSION_REFCNT)
Howard Chu [Wed, 4 Feb 2015 03:16:20 +0000 (03:16 +0000)]
ITS#8050 fix ldap_get_option(LDAP_OPT_SESSION_REFCNT)

9 years agoITS#8049 fix typo
Howard Chu [Wed, 4 Feb 2015 02:40:30 +0000 (02:40 +0000)]
ITS#8049 fix typo

9 years agoITS#8046 fix vrFilter_free
Howard Chu [Wed, 4 Feb 2015 02:03:55 +0000 (02:03 +0000)]
ITS#8046 fix vrFilter_free

9 years agoITS#8048 fix slapo-sock result
Howard Chu [Tue, 3 Feb 2015 10:35:52 +0000 (10:35 +0000)]
ITS#8048 fix slapo-sock result

9 years agoITS#8039 more cleanup
Howard Chu [Tue, 3 Feb 2015 10:13:55 +0000 (10:13 +0000)]
ITS#8039 more cleanup

9 years agoMore for ITS#6970
Howard Chu [Mon, 2 Feb 2015 19:28:59 +0000 (19:28 +0000)]
More for ITS#6970

9 years agoITS#8040 experimental Lazy Commit
Howard Chu [Mon, 2 Feb 2015 10:48:39 +0000 (10:48 +0000)]
ITS#8040 experimental Lazy Commit

9 years agoCleanup prev commit
Howard Chu [Mon, 2 Feb 2015 08:45:57 +0000 (08:45 +0000)]
Cleanup prev commit

9 years agoMore for ITS#8043
Howard Chu [Mon, 2 Feb 2015 08:42:28 +0000 (08:42 +0000)]
More for ITS#8043

9 years agoITS#8043 don't leave dangling syncops
Howard Chu [Sat, 31 Jan 2015 13:04:53 +0000 (13:04 +0000)]
ITS#8043 don't leave dangling syncops

9 years agoITS#8039 cleanup
Howard Chu [Sat, 31 Jan 2015 12:52:56 +0000 (12:52 +0000)]
ITS#8039 cleanup

9 years agoMore for presentlist_free
Howard Chu [Sat, 31 Jan 2015 01:12:54 +0000 (01:12 +0000)]
More for presentlist_free

9 years agoMore for presentlist (ITS#8042)
Howard Chu [Sat, 31 Jan 2015 01:03:23 +0000 (01:03 +0000)]
More for presentlist (ITS#8042)

9 years agoITS#8039 fix prev commit
Howard Chu [Sat, 31 Jan 2015 00:12:29 +0000 (00:12 +0000)]
ITS#8039 fix prev commit

Don't overload ri_csn with cookie, use a separate berval

9 years agoITS#8039 plug syncprov memleak
Howard Chu [Fri, 30 Jan 2015 08:55:47 +0000 (08:55 +0000)]
ITS#8039 plug syncprov memleak

Rewrote the psearch result handling to keep track of which
queues are using which results.

9 years agoFix prev commit
Howard Chu [Fri, 30 Jan 2015 08:06:11 +0000 (08:06 +0000)]
Fix prev commit

9 years agoStreamline presentlist
Howard Chu [Fri, 30 Jan 2015 00:54:21 +0000 (00:54 +0000)]
Streamline presentlist

This reduces presentlist memory usage by about 50%. It's still
about 2.5x greater than it should be.

9 years agoITS#8038 free presentlist at end of refresh
Howard Chu [Thu, 29 Jan 2015 05:15:33 +0000 (05:15 +0000)]
ITS#8038 free presentlist at end of refresh

9 years agoITS#8036 cleanup prev commit
Howard Chu [Tue, 27 Jan 2015 23:53:19 +0000 (23:53 +0000)]
ITS#8036 cleanup prev commit

9 years agoITS#8036 more for prev commit
Howard Chu [Tue, 27 Jan 2015 23:38:32 +0000 (23:38 +0000)]
ITS#8036 more for prev commit

9 years agoUpdate wrap_slap_ops.
Hallvard Breien Furuseth [Tue, 27 Jan 2015 22:37:46 +0000 (23:37 +0100)]
Update wrap_slap_ops.

Catch a new bi_op_bind[]() case.  Silence warnings in END{}.

9 years agoITS#8036 fix regression from ITS#7904
Howard Chu [Tue, 27 Jan 2015 22:26:33 +0000 (22:26 +0000)]
ITS#8036 fix regression from ITS#7904

9 years agoITS#8035 plug memleaks in syncrepl
Howard Chu [Tue, 27 Jan 2015 20:29:34 +0000 (20:29 +0000)]
ITS#8035 plug memleaks in syncrepl

9 years agoITS#8011 fix prev patch
Howard Chu [Tue, 27 Jan 2015 18:30:23 +0000 (18:30 +0000)]
ITS#8011 fix prev patch

Remove assert. This is merely a cache of parent DNs, failure to
insert doesn't affect outcome.

9 years agoITS#8032 document LDAP_OPT_API_INFO/FEATURE_INFO
Howard Chu [Thu, 22 Jan 2015 01:39:18 +0000 (01:39 +0000)]
ITS#8032 document LDAP_OPT_API_INFO/FEATURE_INFO

9 years agoITS#8028 fix ldap_new_connection
Howard Chu [Wed, 21 Jan 2015 01:02:12 +0000 (01:02 +0000)]
ITS#8028 fix ldap_new_connection