]> git.sur5r.net Git - openldap/log
openldap
15 years agoDelete BDB 4.7.25 patch, there is now an official oracle patch
Quanah Gibson-Mount [Mon, 15 Dec 2008 18:57:21 +0000 (18:57 +0000)]
Delete BDB 4.7.25 patch, there is now an official oracle patch

15 years agoFixed typo
Ralf Haferkamp [Fri, 12 Dec 2008 10:08:07 +0000 (10:08 +0000)]
Fixed typo

15 years agodon't send error when going to retry (alternative fix to ITS#5854)
Pierangelo Masarati [Fri, 12 Dec 2008 09:29:51 +0000 (09:29 +0000)]
don't send error when going to retry (alternative fix to ITS#5854)

15 years agofix one-time leak (non critical)
Pierangelo Masarati [Thu, 11 Dec 2008 23:18:54 +0000 (23:18 +0000)]
fix one-time leak (non critical)

15 years agofix LDAP deref control response; fix tool response handling; add lutil_memcopy()...
Pierangelo Masarati [Thu, 11 Dec 2008 23:17:08 +0000 (23:17 +0000)]
fix LDAP deref control response; fix tool response handling; add lutil_memcopy() for API uniformity (more about ITS#5768)

15 years agoAvoid locking up slapd when paused during shutdown (ITS#5841), reverting
Ralf Haferkamp [Tue, 9 Dec 2008 10:57:15 +0000 (10:57 +0000)]
Avoid locking up slapd when paused during shutdown (ITS#5841), reverting
r1.81

15 years agoadd shadow mask
Pierangelo Masarati [Sat, 6 Dec 2008 17:20:43 +0000 (17:20 +0000)]
add shadow mask

15 years agodon't muck with shadow flags if database is already shadow (ITS#5850)
Pierangelo Masarati [Sat, 6 Dec 2008 17:16:03 +0000 (17:16 +0000)]
don't muck with shadow flags if database is already shadow (ITS#5850)

15 years agomake sure the right control is being used (a little bit paranoid...)
Pierangelo Masarati [Sat, 6 Dec 2008 14:41:12 +0000 (14:41 +0000)]
make sure the right control is being used (a little bit paranoid...)

15 years agoITS#5849 free peer cert after retrieving DN
Howard Chu [Fri, 5 Dec 2008 09:00:24 +0000 (09:00 +0000)]
ITS#5849 free peer cert after retrieving DN

15 years agoMore for prev commit - if doing both modrdn and modify at once, only
Howard Chu [Wed, 3 Dec 2008 04:49:53 +0000 (04:49 +0000)]
More for prev commit - if doing both modrdn and modify at once, only
set the CSN on the modify op.

15 years agoITS#5842 Use "con1" instead of "con" so the tests work on windows
Quanah Gibson-Mount [Tue, 2 Dec 2008 22:06:35 +0000 (22:06 +0000)]
ITS#5842 Use "con1" instead of "con" so the tests work on windows

15 years agoRefine prev commit
Howard Chu [Sat, 29 Nov 2008 11:06:28 +0000 (11:06 +0000)]
Refine prev commit

15 years agoITS#5809 - fixed again, based on 1.423 (reverted 1.424-1.425)
Howard Chu [Sat, 29 Nov 2008 03:41:33 +0000 (03:41 +0000)]
ITS#5809 - fixed again, based on 1.423 (reverted 1.424-1.425)

15 years agoMake sure consumer is in persist phase before doing modifies
Howard Chu [Sat, 29 Nov 2008 03:37:23 +0000 (03:37 +0000)]
Make sure consumer is in persist phase before doing modifies

15 years agoLet the idletimeout check kill hung writers
Howard Chu [Fri, 28 Nov 2008 23:45:56 +0000 (23:45 +0000)]
Let the idletimeout check kill hung writers

15 years agofix ACI as a consequence of ITS#5804 (this is a hack; would need an API change)
Pierangelo Masarati [Fri, 28 Nov 2008 23:15:03 +0000 (23:15 +0000)]
fix ACI as a consequence of ITS#5804 (this is a hack; would need an API change)

15 years agomore about ITS#5804
Pierangelo Masarati [Fri, 28 Nov 2008 22:50:18 +0000 (22:50 +0000)]
more about ITS#5804

15 years agoITS#5835 change some DEBUG_TRACE messages to DEBUG_CONNS for easier debug
Howard Chu [Fri, 28 Nov 2008 21:09:34 +0000 (21:09 +0000)]
ITS#5835 change some DEBUG_TRACE messages to DEBUG_CONNS for easier debug

15 years agoadd newRDN rewriting; fix rewriteContext names (ITS#5834)
Pierangelo Masarati [Fri, 28 Nov 2008 20:34:02 +0000 (20:34 +0000)]
add newRDN rewriting; fix rewriteContext names (ITS#5834)

15 years agofix previous commit (related to ITS#5804)
Pierangelo Masarati [Fri, 28 Nov 2008 19:34:02 +0000 (19:34 +0000)]
fix previous commit (related to ITS#5804)

15 years agoRemove unneeded locking. Don't wait for memp_trickle to complete,
Ralf Haferkamp [Fri, 28 Nov 2008 16:09:40 +0000 (16:09 +0000)]
Remove unneeded locking. Don't wait for memp_trickle to complete,
loosing an signal doesn't hurt in this case.

15 years ago(ITS#5818) Limits chapter for Admin Guide
Gavin Henry [Tue, 25 Nov 2008 18:10:34 +0000 (18:10 +0000)]
(ITS#5818) Limits chapter for Admin Guide

15 years agoreorder chapters and start of a migration/upgrade section.
Gavin Henry [Tue, 25 Nov 2008 15:14:23 +0000 (15:14 +0000)]
reorder chapters and start of a migration/upgrade section.

15 years agoITS#5768 - add deref.
Howard Chu [Tue, 25 Nov 2008 04:43:38 +0000 (04:43 +0000)]
ITS#5768 - add deref.

15 years agoretry every hour, but don't save it; on the contrary, complain every time syncrepl...
Pierangelo Masarati [Mon, 24 Nov 2008 18:15:52 +0000 (18:15 +0000)]
retry every hour, but don't save it; on the contrary, complain every time syncrepl is configured without retry (ITS#5825)

15 years agoWording.
Gavin Henry [Mon, 24 Nov 2008 17:32:33 +0000 (17:32 +0000)]
Wording.

15 years agoUnique overlay example. Only rwm left to do.
Gavin Henry [Mon, 24 Nov 2008 17:29:53 +0000 (17:29 +0000)]
Unique overlay example. Only rwm left to do.

15 years agosyncprov overlay section.
Gavin Henry [Mon, 24 Nov 2008 16:09:35 +0000 (16:09 +0000)]
syncprov overlay section.

15 years agoITS#5827, release syncop after mod op completes
Howard Chu [Sun, 23 Nov 2008 20:43:39 +0000 (20:43 +0000)]
ITS#5827, release syncop after mod op completes

15 years agoSet sync intervals to 3 seconds, use SLEEP1 and SLEEP2 for sync delays
Howard Chu [Sat, 22 Nov 2008 23:48:17 +0000 (23:48 +0000)]
Set sync intervals to 3 seconds, use SLEEP1 and SLEEP2 for sync delays

15 years agoSet sync intervals to 3 seconds
Howard Chu [Sat, 22 Nov 2008 23:45:10 +0000 (23:45 +0000)]
Set sync intervals to 3 seconds

15 years agoFix typo in prev commit
Howard Chu [Sat, 22 Nov 2008 22:41:11 +0000 (22:41 +0000)]
Fix typo in prev commit

15 years agoInitialize bli_flag
Howard Chu [Sat, 22 Nov 2008 21:08:38 +0000 (21:08 +0000)]
Initialize bli_flag

15 years agodon't leak generated filters (ITS#5826)
Pierangelo Masarati [Sat, 22 Nov 2008 18:38:37 +0000 (18:38 +0000)]
don't leak generated filters (ITS#5826)

15 years agofix previous commit
Pierangelo Masarati [Sat, 22 Nov 2008 18:35:19 +0000 (18:35 +0000)]
fix previous commit

15 years agomake messages more esplicative; fix style
Pierangelo Masarati [Sat, 22 Nov 2008 17:53:14 +0000 (17:53 +0000)]
make messages more esplicative; fix style

15 years agominimal fix for ITS#5825, pending discussion
Pierangelo Masarati [Sat, 22 Nov 2008 16:00:41 +0000 (16:00 +0000)]
minimal fix for ITS#5825, pending discussion

15 years agoFix prev commit
Howard Chu [Fri, 21 Nov 2008 05:15:20 +0000 (05:15 +0000)]
Fix prev commit

15 years agoITS#5824: #if/#elif issues in thread #includes
Hallvard Furuseth [Fri, 21 Nov 2008 05:03:53 +0000 (05:03 +0000)]
ITS#5824: #if/#elif issues in thread #includes

15 years agoAdd ldapexop, add -N from ITS#5812 (conflicts with 1.29)
Howard Chu [Fri, 21 Nov 2008 03:55:55 +0000 (03:55 +0000)]
Add ldapexop, add -N from ITS#5812 (conflicts with 1.29)
Remove -K/-k from chart, Kerberos support was removed 2007/01/09

15 years agoITS#5812 add SASL_NOCANON / -N option
Howard Chu [Fri, 21 Nov 2008 03:30:15 +0000 (03:30 +0000)]
ITS#5812 add SASL_NOCANON / -N option

15 years agoITS#4750 only read LDAP_CONF_FILE if geteuid() != getuid()
Howard Chu [Fri, 21 Nov 2008 02:15:47 +0000 (02:15 +0000)]
ITS#4750 only read LDAP_CONF_FILE if geteuid() != getuid()

15 years agoITS#4750 regenerate
Howard Chu [Fri, 21 Nov 2008 02:14:31 +0000 (02:14 +0000)]
ITS#4750 regenerate

15 years agoITS#4750 check for geteuid()
Howard Chu [Fri, 21 Nov 2008 02:03:57 +0000 (02:03 +0000)]
ITS#4750 check for geteuid()

15 years agodon't alloc on slab (ITS#5820)
Pierangelo Masarati [Thu, 20 Nov 2008 17:22:33 +0000 (17:22 +0000)]
don't alloc on slab (ITS#5820)

15 years agofix typo (ITS#5821)
Pierangelo Masarati [Thu, 20 Nov 2008 16:58:51 +0000 (16:58 +0000)]
fix typo (ITS#5821)

15 years agoremove leading / from command line example.
Gavin Henry [Thu, 20 Nov 2008 12:53:00 +0000 (12:53 +0000)]
remove leading / from command line example.

15 years agofix previous commit (ITS#5819)
Pierangelo Masarati [Wed, 19 Nov 2008 17:08:48 +0000 (17:08 +0000)]
fix previous commit (ITS#5819)

15 years agoclear rc if value must be added (ITS#5819)
Pierangelo Masarati [Wed, 19 Nov 2008 16:02:22 +0000 (16:02 +0000)]
clear rc if value must be added (ITS#5819)

15 years agoboth I.D.s are now submitted to IETF
Pierangelo Masarati [Wed, 19 Nov 2008 13:11:57 +0000 (13:11 +0000)]
both I.D.s are now submitted to IETF

15 years agoimprovements by David Hawes (ITS#5756)
Pierangelo Masarati [Wed, 19 Nov 2008 10:17:27 +0000 (10:17 +0000)]
improvements by David Hawes (ITS#5756)

15 years agoOnly use a db_stat in PATH if it matches our environment.
Rein Tollevik [Tue, 18 Nov 2008 22:16:42 +0000 (22:16 +0000)]
Only use a db_stat in PATH if it matches our environment.

15 years agocheck for bogus params to an LDAP routine (ITS#5817)
Pierangelo Masarati [Tue, 18 Nov 2008 16:27:50 +0000 (16:27 +0000)]
check for bogus params to an LDAP routine (ITS#5817)

15 years agodon't bailout in case of insufficientAccess (ITS#5816)
Pierangelo Masarati [Tue, 18 Nov 2008 01:29:34 +0000 (01:29 +0000)]
don't bailout in case of insufficientAccess (ITS#5816)

15 years agofix length
Pierangelo Masarati [Tue, 18 Nov 2008 00:12:22 +0000 (00:12 +0000)]
fix length

15 years agoFix prev commit
Quanah Gibson-Mount [Mon, 17 Nov 2008 23:45:20 +0000 (23:45 +0000)]
Fix prev commit

15 years agoimprove previous commit (ITS#5814)
Pierangelo Masarati [Sun, 16 Nov 2008 23:58:46 +0000 (23:58 +0000)]
improve previous commit (ITS#5814)

15 years agoadd indexes when supported; syncrepl on configuration should always be refreshAndPersist
Pierangelo Masarati [Sun, 16 Nov 2008 23:06:30 +0000 (23:06 +0000)]
add indexes when supported; syncrepl on configuration should always be refreshAndPersist

15 years agoadd indexes (when supported)
Pierangelo Masarati [Sun, 16 Nov 2008 22:57:38 +0000 (22:57 +0000)]
add indexes (when supported)

15 years agoallow syncrepl to retry
Pierangelo Masarati [Sun, 16 Nov 2008 22:55:32 +0000 (22:55 +0000)]
allow syncrepl to retry

15 years agoITS#5815: Fix typo "#elif defined( MAXHOSTNAMELEN".
Hallvard Furuseth [Sun, 16 Nov 2008 22:52:56 +0000 (22:52 +0000)]
ITS#5815: Fix typo "#elif defined( MAXHOSTNAMELEN".

15 years agos/not|got/(non)present/ (more readable, isn't it?)
Pierangelo Masarati [Sun, 16 Nov 2008 20:33:03 +0000 (20:33 +0000)]
s/not|got/(non)present/ (more readable, isn't it?)

15 years agodon't assert on unprotected data (ITS#5814)
Pierangelo Masarati [Sun, 16 Nov 2008 20:29:26 +0000 (20:29 +0000)]
don't assert on unprotected data (ITS#5814)

15 years agoFix prev commit
Howard Chu [Sun, 16 Nov 2008 09:07:19 +0000 (09:07 +0000)]
Fix prev commit

15 years agoKill slapd before exiting
Hallvard Furuseth [Sun, 16 Nov 2008 04:33:11 +0000 (04:33 +0000)]
Kill slapd before exiting

15 years agoSilence gcc -Wformat: Put rev 1.343's debugmsg in Debug() so -Wformat can check
Hallvard Furuseth [Sun, 16 Nov 2008 03:22:27 +0000 (03:22 +0000)]
Silence gcc -Wformat: Put rev 1.343's debugmsg in Debug() so -Wformat can check

15 years agoC89 rejects ITS#5784 non-constant array init (backend.c 1.402,-controls.c 1.201)
Hallvard Furuseth [Sun, 16 Nov 2008 03:10:15 +0000 (03:10 +0000)]
C89 rejects ITS#5784 non-constant array init (backend.c 1.402,-controls.c 1.201)

15 years agoITS#5788: Add references to subordinate keyword/olcSubordinate attribute.
Hallvard Furuseth [Sun, 16 Nov 2008 01:37:50 +0000 (01:37 +0000)]
ITS#5788: Add references to subordinate keyword/olcSubordinate attribute.

15 years agocleanup prev commit, delete unused vars
Howard Chu [Sun, 16 Nov 2008 01:24:09 +0000 (01:24 +0000)]
cleanup prev commit, delete unused vars

15 years agoITS#5809 fix prev commit - always turn modrdn into modrdn+modify, and
Howard Chu [Sun, 16 Nov 2008 01:21:31 +0000 (01:21 +0000)]
ITS#5809 fix prev commit - always turn modrdn into modrdn+modify, and
only propagate the Modify op.

15 years agoITS#5809 fix 1.421, avoid modrdn falling thru to modify unnecessarily
Howard Chu [Sat, 15 Nov 2008 23:54:23 +0000 (23:54 +0000)]
ITS#5809 fix 1.421, avoid modrdn falling thru to modify unnecessarily

15 years agoAdd a test for attribute value regex substitution. Cf ITS#5804
Emmanuel Dreyfus [Sat, 15 Nov 2008 16:51:56 +0000 (16:51 +0000)]
Add a test for attribute value regex substitution. Cf ITS#5804

15 years agosilence warnings
Pierangelo Masarati [Sat, 15 Nov 2008 15:08:00 +0000 (15:08 +0000)]
silence warnings

15 years agoallow each (back-config) syncrepl test to use the preferred sync type, but allow...
Pierangelo Masarati [Sat, 15 Nov 2008 15:05:12 +0000 (15:05 +0000)]
allow each (back-config) syncrepl test to use the preferred sync type, but allow changing it via the -s switch for ./run

15 years agouse replication specific indexes
Pierangelo Masarati [Sat, 15 Nov 2008 15:02:07 +0000 (15:02 +0000)]
use replication specific indexes

15 years agouse decent checkpoint parameters
Pierangelo Masarati [Sat, 15 Nov 2008 15:01:32 +0000 (15:01 +0000)]
use decent checkpoint parameters

15 years agoadd indexes to meta target
Pierangelo Masarati [Sat, 15 Nov 2008 12:32:27 +0000 (12:32 +0000)]
add indexes to meta target

15 years agoFix warnings an a real bug hidden by the lack of warning...
Emmanuel Dreyfus [Sat, 15 Nov 2008 11:09:03 +0000 (11:09 +0000)]
Fix warnings an a real bug hidden by the lack of warning...

15 years agofix previous commit (related to ITS#5804)
Pierangelo Masarati [Sat, 15 Nov 2008 10:42:18 +0000 (10:42 +0000)]
fix previous commit (related to ITS#5804)

15 years agoDocument that slapo-dds requires rootdn. Cf ITS#5811
Emmanuel Dreyfus [Sat, 15 Nov 2008 10:42:02 +0000 (10:42 +0000)]
Document that slapo-dds requires rootdn. Cf ITS#5811

15 years agoITS#5709 make sure CSNs are generated and queued atomically
Howard Chu [Sat, 15 Nov 2008 08:49:44 +0000 (08:49 +0000)]
ITS#5709 make sure CSNs are generated and queued atomically

15 years agoAdd ACL <who> regex-substitution from attribute value submatches. Cf ITS#5804
Emmanuel Dreyfus [Sat, 15 Nov 2008 07:18:39 +0000 (07:18 +0000)]
Add ACL <who> regex-substitution from attribute value submatches. Cf ITS#5804

15 years agoITS#5809 fewer false detections of renames
Howard Chu [Fri, 14 Nov 2008 23:48:38 +0000 (23:48 +0000)]
ITS#5809 fewer false detections of renames

15 years agoreformat
Hallvard Furuseth [Fri, 14 Nov 2008 18:19:19 +0000 (18:19 +0000)]
reformat

15 years agoITS#5329: back-ldif deadlock with access controls
Hallvard Furuseth [Fri, 14 Nov 2008 18:15:35 +0000 (18:15 +0000)]
ITS#5329: back-ldif deadlock with access controls

15 years agoITS#5809 renames are not exclusive from modifies
Howard Chu [Thu, 13 Nov 2008 22:46:49 +0000 (22:46 +0000)]
ITS#5809 renames are not exclusive from modifies

15 years ago(ITS#5806) slapo-syncprov man page and syncprov-sessionlog
Gavin Henry [Thu, 13 Nov 2008 22:06:21 +0000 (22:06 +0000)]
(ITS#5806) slapo-syncprov man page and syncprov-sessionlog

15 years agoITS#5408: Support back-ldif
Hallvard Furuseth [Wed, 12 Nov 2008 01:00:56 +0000 (01:00 +0000)]
ITS#5408: Support back-ldif

15 years agoITS#5319 - support rename to same DN.
Hallvard Furuseth [Wed, 12 Nov 2008 00:20:48 +0000 (00:20 +0000)]
ITS#5319 - support rename to same DN.

15 years agoITS#5408 part 11 - notice Abandon.
Hallvard Furuseth [Wed, 12 Nov 2008 00:11:53 +0000 (00:11 +0000)]
ITS#5408 part 11 - notice Abandon.

15 years agoITS#5408 part 10 - errors from search and slapcat.
Hallvard Furuseth [Wed, 12 Nov 2008 00:10:01 +0000 (00:10 +0000)]
ITS#5408 part 10 - errors from search and slapcat.
- Tweak error code/message for absent directory, including database directory.
- Catch closedir() error.
- ldif_tool_entry_close(): Free entries and reset entry list.
- Propagate any error to slapcat & co.

15 years agoITS#5408 part 9 - Sorted RDNs.
Hallvard Furuseth [Wed, 12 Nov 2008 00:03:55 +0000 (00:03 +0000)]
ITS#5408 part 9 - Sorted RDNs.
- Parse sorted attrs more carefully:
  Accept only attr={num}val.ldif and attr=val{num}.ldif and only base 10.
  Sort "attr=foo" before "attr=foo{n}".  Truncate at ".ldif" while sorting.
- Make the sort order independent of the LDIF files' order in the directory.

15 years agoITS#5408 part 8 - Rewrite search API, structs bvlist/enumCookie/ldif_tool.
Hallvard Furuseth [Tue, 11 Nov 2008 23:59:43 +0000 (23:59 +0000)]
ITS#5408 part 8 - Rewrite search API, structs bvlist/enumCookie/ldif_tool.
r_enum_search() -> ldif_send_entry() + ldif_readdir() + ldif_search_entry().
enum_tree() -> search_tree().  fullpath() -> fullpath_alloc() + FILL_PATH().
No functionality change except catching malloc and opendir() errors.

15 years agoITS#5408 part 7 - Search operation bugs in r_enum_tree().
Hallvard Furuseth [Tue, 11 Nov 2008 23:49:00 +0000 (23:49 +0000)]
ITS#5408 part 7 - Search operation bugs in r_enum_tree().
- Do not modify op->ors_scope, pass scope parameter instead.
- Save copies of dn/ndn before sending with REP_ENTRY_MODIFIABLE.
- Only the search baseDN may produce noSuchObject.
- More accurate result code.

15 years agoITS#5408 part 6 - referrals.
Hallvard Furuseth [Tue, 11 Nov 2008 23:42:32 +0000 (23:42 +0000)]
ITS#5408 part 6 - referrals.
- Sending continuation references:
  Drop an unnecessary and wrong LDAP_SCOPE_BASE check.  The correct
  check would have been for DN == baseDN.
  Do not rewrite the scope, the caller already did.
- ldif_prepare_create(): Check that parent/newSuperior is not a referral.
- Rewrite ldif_back_rerferrals().  Better error handling.  Always pass
  refs through referral_rewrite().  As in back-bdb, apply manageDSAit
  only to the baseDN and do not use default_referral.

15 years agoITS#5408 part 5 - handle modrdn file error. Move entry/subtree back if needed.
Hallvard Furuseth [Tue, 11 Nov 2008 23:22:24 +0000 (23:22 +0000)]
ITS#5408 part 5 - handle modrdn file error. Move entry/subtree back if needed.
Add move_dir() macro, matching move_file().

15 years agoITS#5408 part 4 - preparing for entry creation. More error handling.
Hallvard Furuseth [Tue, 11 Nov 2008 23:16:22 +0000 (23:16 +0000)]
ITS#5408 part 4 - preparing for entry creation.  More error handling.
- Move mkdir() into ldif_write_entry().  Modrdn lacked this.
- Factor tests for whether to create entry & dir out to ldif_prepare_create().
- Ensure an entry always exists if the corresponding subtree directory does.
- Move get_parent_path() up, accept NULL output param and malloc errors.

15 years agoITS#5408 part 3 - file path tweaks, sanity checks.
Hallvard Furuseth [Tue, 11 Nov 2008 23:06:07 +0000 (23:06 +0000)]
ITS#5408 part 3 - file path tweaks, sanity checks.
- Rename temporary filename patterns from "<rdn>.ldifXXXXX" to "<rdn>.XXXXX".
- Add and start using ldif2dir_len() & co.

15 years agoITS#5408 part 2 - filesystem I/O, file error handling:
Hallvard Furuseth [Tue, 11 Nov 2008 23:00:18 +0000 (23:00 +0000)]
ITS#5408 part 2 - filesystem I/O, file error handling:
- Start moving file handling near the top - move_file(), ldif_tempname().
- Rename get_entry_for_fd() -> ldif_read_entry() and move open() into it.
  Rewrite slurp_file() as ldif_read_file(). Just stat() if output param==NULL.
- Rewrite ldif_write_entry(). Add LDAP_DEBUG_TRACE output.