]> git.sur5r.net Git - openldap/log
openldap
14 years agoMore ITS#6215 -
Hallvard Furuseth [Wed, 29 Jul 2009 16:49:42 +0000 (16:49 +0000)]
More ITS#6215 -
Speedup & less memory allocation:
  Simplify the work to encode tag, length, integer/enum, sequence/set.
  Drop struct seqorset and allocations of it.  Replace BerElement.ber_sos.
  Drop ber_write(,,,nonzero) support. Callers, if any, need to be rewritten.
  Make ber_log_sos_dump() and ber_sos_dump() stubs, they could no longer work.
Fix ber_write() buffer overrun after ber_start_seqorset().
Check overflow and max sizes, e.g. for functions returning int size.
Some cleanup, and handwaves in the direction of supporting CHAR_BIT>8.
Add/fix comments and a few descriptive types/macros.

14 years agoRemove useless asserts that will be re-assert()ed before the variable is used
Hallvard Furuseth [Wed, 29 Jul 2009 15:06:28 +0000 (15:06 +0000)]
Remove useless asserts that will be re-assert()ed before the variable is used

14 years agoITS#6215: Fix buffer overrun and write through NULL pointer
Hallvard Furuseth [Wed, 29 Jul 2009 14:57:09 +0000 (14:57 +0000)]
ITS#6215: Fix buffer overrun and write through NULL pointer

14 years agoITS#5946 always allow mirrormode to be set to FALSE
Howard Chu [Wed, 29 Jul 2009 09:21:50 +0000 (09:21 +0000)]
ITS#5946 always allow mirrormode to be set to FALSE

14 years agoITS#5942 consolidate server URL match to config_check_my_url().
Howard Chu [Wed, 29 Jul 2009 09:04:39 +0000 (09:04 +0000)]
ITS#5942 consolidate server URL match to config_check_my_url().
In syncrepl, assume consumer pointing to same server but different
searchbase is OK otherwise ignore config.

14 years agoUse distribution hints in searches
Howard Chu [Wed, 29 Jul 2009 00:58:46 +0000 (00:58 +0000)]
Use distribution hints in searches

14 years agoITS#6233 don't advance ptr after storing final NUL.
Howard Chu [Tue, 28 Jul 2009 22:04:13 +0000 (22:04 +0000)]
ITS#6233 don't advance ptr after storing final NUL.

14 years agoITS#6230 fix typos
Howard Chu [Mon, 27 Jul 2009 18:54:56 +0000 (18:54 +0000)]
ITS#6230 fix typos

14 years agoChange AttributeName.an_oc_exclude to an_oc_flags, avoid multiple
Howard Chu [Sun, 26 Jul 2009 00:14:15 +0000 (00:14 +0000)]
Change AttributeName.an_oc_exclude to an_oc_flags, avoid multiple
futile searches for OC matches.

14 years agoITS#6228 fix typo
Howard Chu [Sat, 25 Jul 2009 23:37:24 +0000 (23:37 +0000)]
ITS#6228 fix typo

14 years agofix typo in prev commit
Howard Chu [Sat, 25 Jul 2009 07:19:21 +0000 (07:19 +0000)]
fix typo in prev commit

14 years agoITS#6222 dncache is now unlimited by default (reverting to RE23 behavior)
Howard Chu [Sat, 25 Jul 2009 07:17:52 +0000 (07:17 +0000)]
ITS#6222 dncache is now unlimited by default (reverting to RE23 behavior)

14 years agoITS#6222 dncachesize defaults to 0 == unlimited
Howard Chu [Sat, 25 Jul 2009 07:13:50 +0000 (07:13 +0000)]
ITS#6222 dncachesize defaults to 0 == unlimited

14 years agoITS#6222 need to support unsigned long args too
Howard Chu [Sat, 25 Jul 2009 06:47:00 +0000 (06:47 +0000)]
ITS#6222 need to support unsigned long args too

14 years agoMore cleanup
Howard Chu [Sat, 25 Jul 2009 00:09:56 +0000 (00:09 +0000)]
More cleanup

14 years agoMinor cleanup
Howard Chu [Sat, 25 Jul 2009 00:06:46 +0000 (00:06 +0000)]
Minor cleanup

14 years agotest whether the current entry matches the current uri filter (ITS#6077); also, don...
Pierangelo Masarati [Fri, 24 Jul 2009 22:00:53 +0000 (22:00 +0000)]
test whether the current entry matches the current uri filter (ITS#6077); also, don't leak DN when adding a base fails

14 years agoRevert prev commit, agi_mutex is needed sometimes. Need to eliminate the
Howard Chu [Fri, 24 Jul 2009 07:12:02 +0000 (07:12 +0000)]
Revert prev commit, agi_mutex is needed sometimes. Need to eliminate the
unnecessary cases still.

14 years agoDelete unnecessary agi_mutex
Howard Chu [Fri, 24 Jul 2009 06:59:40 +0000 (06:59 +0000)]
Delete unnecessary agi_mutex

14 years agoFix db_open, delete unused variables. More cleanup is needed.
Howard Chu [Fri, 24 Jul 2009 06:47:05 +0000 (06:47 +0000)]
Fix db_open, delete unused variables. More cleanup is needed.

14 years agoITS#6145 free/close before exit
Howard Chu [Wed, 22 Jul 2009 07:19:41 +0000 (07:19 +0000)]
ITS#6145 free/close before exit

14 years agoITS#4643 never use native getpass(), it's deprecated/unsafe
Howard Chu [Wed, 22 Jul 2009 06:34:37 +0000 (06:34 +0000)]
ITS#4643 never use native getpass(), it's deprecated/unsafe

14 years agoITS#6214 use the main thread's context so cleanup can occur
Howard Chu [Wed, 22 Jul 2009 04:39:57 +0000 (04:39 +0000)]
ITS#6214 use the main thread's context so cleanup can occur

14 years agoITS#6220 don't check write timeouts when global_writetimeout isn't set
Howard Chu [Tue, 21 Jul 2009 02:04:46 +0000 (02:04 +0000)]
ITS#6220 don't check write timeouts when global_writetimeout isn't set

14 years agoMissing #include
Ralf Haferkamp [Fri, 17 Jul 2009 16:21:14 +0000 (16:21 +0000)]
Missing #include

14 years agocheck the value of the olcSubordinate attribute
Pierangelo Masarati [Thu, 16 Jul 2009 15:41:05 +0000 (15:41 +0000)]
check the value of the olcSubordinate attribute

14 years agosubordinate needs a suffix (ITS#6216)
Pierangelo Masarati [Thu, 16 Jul 2009 15:28:22 +0000 (15:28 +0000)]
subordinate needs a suffix (ITS#6216)

14 years agoShould work now when using custom SLAPD_BASEPORT setting (ITS#6213)
Ralf Haferkamp [Tue, 14 Jul 2009 13:35:56 +0000 (13:35 +0000)]
Should work now when using custom SLAPD_BASEPORT setting (ITS#6213)

14 years agoExternal vars need to be wrapped for Windows
Howard Chu [Tue, 14 Jul 2009 00:52:45 +0000 (00:52 +0000)]
External vars need to be wrapped for Windows

14 years agoAdd sssvlv overlay
Howard Chu [Mon, 13 Jul 2009 18:56:03 +0000 (18:56 +0000)]
Add sssvlv overlay

14 years agocleanup space/tab
Howard Chu [Mon, 13 Jul 2009 18:46:36 +0000 (18:46 +0000)]
cleanup space/tab

14 years agoAdd vlv error code
Howard Chu [Mon, 13 Jul 2009 18:45:43 +0000 (18:45 +0000)]
Add vlv error code

14 years agoAdd sssvlv overlay
Howard Chu [Mon, 13 Jul 2009 15:45:49 +0000 (15:45 +0000)]
Add sssvlv overlay

14 years agosssvlv and seqmod should be off by default
Howard Chu [Mon, 13 Jul 2009 15:45:25 +0000 (15:45 +0000)]
sssvlv and seqmod should be off by default

14 years agoFix handling for empty results
Howard Chu [Mon, 13 Jul 2009 15:22:46 +0000 (15:22 +0000)]
Fix handling for empty results

14 years agoFix result when no VLV match
Howard Chu [Mon, 13 Jul 2009 15:15:27 +0000 (15:15 +0000)]
Fix result when no VLV match

14 years agoMinor cleanup
Howard Chu [Mon, 13 Jul 2009 15:00:19 +0000 (15:00 +0000)]
Minor cleanup

14 years agoAdd sssvlv
Howard Chu [Mon, 13 Jul 2009 14:45:54 +0000 (14:45 +0000)]
Add sssvlv

14 years agoAdd sssvlv overlay
Howard Chu [Mon, 13 Jul 2009 14:27:04 +0000 (14:27 +0000)]
Add sssvlv overlay

14 years agoAdd sssvlv config
Howard Chu [Mon, 13 Jul 2009 14:20:31 +0000 (14:20 +0000)]
Add sssvlv config

14 years agoAdd sssvlv to build system
Howard Chu [Mon, 13 Jul 2009 13:35:30 +0000 (13:35 +0000)]
Add sssvlv to build system

14 years agoAdded VLV support
Howard Chu [Mon, 13 Jul 2009 13:33:01 +0000 (13:33 +0000)]
Added VLV support

14 years agoITS#6203 fix startup
Howard Chu [Mon, 13 Jul 2009 13:24:12 +0000 (13:24 +0000)]
ITS#6203 fix startup

14 years agoFix prev commit
Howard Chu [Mon, 13 Jul 2009 13:14:07 +0000 (13:14 +0000)]
Fix prev commit

14 years agoAdd VLV Error
Howard Chu [Mon, 13 Jul 2009 13:13:38 +0000 (13:13 +0000)]
Add VLV Error

14 years agoAdd VLV support
Howard Chu [Mon, 13 Jul 2009 12:41:02 +0000 (12:41 +0000)]
Add VLV support

14 years agoMore VLV stuff
Howard Chu [Mon, 13 Jul 2009 12:40:35 +0000 (12:40 +0000)]
More VLV stuff

14 years agovlv implemented, untested
Howard Chu [Mon, 13 Jul 2009 10:59:09 +0000 (10:59 +0000)]
vlv implemented, untested

14 years agocsnOrderingMatch should have a normalizer
Howard Chu [Mon, 13 Jul 2009 09:39:39 +0000 (09:39 +0000)]
csnOrderingMatch should have a normalizer

14 years agoUndef SLAP_CONTROL_X_SORTEDRESULTS, use sssvlv overlay now.
Howard Chu [Mon, 13 Jul 2009 08:43:06 +0000 (08:43 +0000)]
Undef SLAP_CONTROL_X_SORTEDRESULTS, use sssvlv overlay now.
Will unifdef all relevant code later...

14 years agoServer Side Sorting (also with PagedResults). VLV still in progress.
Howard Chu [Mon, 13 Jul 2009 08:39:22 +0000 (08:39 +0000)]
Server Side Sorting (also with PagedResults). VLV still in progress.

14 years agoCleanup sss result string
Howard Chu [Mon, 13 Jul 2009 08:28:11 +0000 (08:28 +0000)]
Cleanup sss result string

14 years agoFix typo in 1.250 fake sorted results control
Howard Chu [Mon, 13 Jul 2009 02:42:38 +0000 (02:42 +0000)]
Fix typo in 1.250 fake sorted results control

14 years agoFix typo in derefcrit control
Howard Chu [Mon, 13 Jul 2009 01:57:25 +0000 (01:57 +0000)]
Fix typo in derefcrit control

14 years agoFor ITS#5810: Show which backend is being tested
Hallvard Furuseth [Wed, 8 Jul 2009 16:20:53 +0000 (16:20 +0000)]
For ITS#5810: Show which backend is being tested

14 years agoITS#6195 must normalize cookies before comparing them
Howard Chu [Wed, 8 Jul 2009 00:55:27 +0000 (00:55 +0000)]
ITS#6195 must normalize cookies before comparing them

14 years agoITS#6101, did not always (re)set rs->sr_sasldata before send_ldap_sasl()
Hallvard Furuseth [Tue, 7 Jul 2009 22:31:35 +0000 (22:31 +0000)]
ITS#6101, did not always (re)set rs->sr_sasldata before send_ldap_sasl()

14 years agoITS#5892 return -1 from ldif_read_record on error
Howard Chu [Tue, 7 Jul 2009 22:30:55 +0000 (22:30 +0000)]
ITS#5892 return -1 from ldif_read_record on error

14 years agoITS#6101, reset rs->sr_rspdata in send_ldap_disconnect()
Hallvard Furuseth [Tue, 7 Jul 2009 22:30:28 +0000 (22:30 +0000)]
ITS#6101, reset rs->sr_rspdata in send_ldap_disconnect()

14 years agoITS#5892 make sure ldif error messages are displayed
Howard Chu [Tue, 7 Jul 2009 21:51:27 +0000 (21:51 +0000)]
ITS#5892 make sure ldif error messages are displayed

14 years agoITS#6101: Move sru_search first in union SlapReply.sr_un, for initialization.
Hallvard Furuseth [Tue, 7 Jul 2009 21:11:39 +0000 (21:11 +0000)]
ITS#6101: Move sru_search first in union SlapReply.sr_un, for initialization.

14 years agoITS#6197 - normalize & speed up ldap_err2string/ldap_perror():
Hallvard Furuseth [Tue, 7 Jul 2009 20:05:09 +0000 (20:05 +0000)]
ITS#6197 - normalize & speed up ldap_err2string/ldap_perror():

Use same result code -> string mapping for both, removing ldap_int_error():
- Classify unknown error codes as API/extension/etc like _err2string did.
- Pass all strings through _(), i.e. the optional gettext, as _perror did.

Also use a switch instead of linear search for the code->string mapping.
Hopefully the compiler will optimize that.  Though the extra gettext,
if anyone uses it, probably counters that speedup.

14 years agoSilence warning. Also avoids pointless umask(0) when umask already is 0.
Hallvard Furuseth [Mon, 6 Jul 2009 23:19:52 +0000 (23:19 +0000)]
Silence warning.  Also avoids pointless umask(0) when umask already is 0.

14 years agoITS#5836 more for 1.432, writetimeout wasn't taking effect if
Howard Chu [Mon, 6 Jul 2009 21:02:28 +0000 (21:02 +0000)]
ITS#5836 more for 1.432, writetimeout wasn't taking effect if
idletimeout wasn't also set. Also, timeout check would keep getting
pushed back if multiple writers were waiting.

14 years agoITS#6091,6092,6093,5369 remove @GSSAPI_LIBS@. configure no longer sets it.
Hallvard Furuseth [Mon, 6 Jul 2009 19:52:14 +0000 (19:52 +0000)]
ITS#6091,6092,6093,5369 remove @GSSAPI_LIBS@. configure no longer sets it.

14 years agoregenerate without gssapi
Howard Chu [Sun, 5 Jul 2009 01:45:29 +0000 (01:45 +0000)]
regenerate without gssapi

14 years agoITS#6091,6092,6093,5369 remove gssapi from configure, should never be used.
Howard Chu [Sun, 5 Jul 2009 01:42:26 +0000 (01:42 +0000)]
ITS#6091,6092,6093,5369 remove gssapi from configure, should never be used.
leave code in place for now.

14 years agoITS#5696 des_set_key -> des_set_key_and_parity
Howard Chu [Fri, 3 Jul 2009 22:19:52 +0000 (22:19 +0000)]
ITS#5696 des_set_key -> des_set_key_and_parity

14 years agoerror out when adding multiple olcIndex values for the same attribute (ITS#6196)
Ralf Haferkamp [Fri, 3 Jul 2009 14:29:40 +0000 (14:29 +0000)]
error out when adding multiple olcIndex values for the same attribute (ITS#6196)

14 years agoCleanup ciphernum
Howard Chu [Fri, 3 Jul 2009 02:06:24 +0000 (02:06 +0000)]
Cleanup ciphernum

14 years agoAcknowledge richm
Howard Chu [Thu, 2 Jul 2009 23:19:44 +0000 (23:19 +0000)]
Acknowledge richm

14 years agoITS#5696 enable MozNSS support
Howard Chu [Thu, 2 Jul 2009 23:14:59 +0000 (23:14 +0000)]
ITS#5696 enable MozNSS support

14 years agoITS#5696 Additional MozNSS support from rmeggins@redhat.com
Howard Chu [Thu, 2 Jul 2009 23:10:23 +0000 (23:10 +0000)]
ITS#5696 Additional MozNSS support from rmeggins@redhat.com

14 years agoHandle IPv6 localhost address
Hallvard Furuseth [Thu, 2 Jul 2009 15:26:52 +0000 (15:26 +0000)]
Handle IPv6 localhost address

14 years agoGive more time to sync after restart
Howard Chu [Thu, 2 Jul 2009 00:31:48 +0000 (00:31 +0000)]
Give more time to sync after restart

14 years agoITS#6192 add all digests. Also stop using SSLeay-compatible function
Howard Chu [Wed, 1 Jul 2009 23:46:36 +0000 (23:46 +0000)]
ITS#6192 add all digests. Also stop using SSLeay-compatible function
names, we're only concerned with OpenSSL these days.

14 years agoITS#6191 fix typo in URI for adding back-ldap
Howard Chu [Wed, 1 Jul 2009 13:12:45 +0000 (13:12 +0000)]
ITS#6191 fix typo in URI for adding back-ldap

14 years agoEnable cn=config, add test for policy state forwarding
Howard Chu [Wed, 1 Jul 2009 07:46:06 +0000 (07:46 +0000)]
Enable cn=config, add test for policy state forwarding
from consumer to provider

14 years agoMore for 1.124 - forwarded updates need Relax control since state attrs
Howard Chu [Wed, 1 Jul 2009 07:39:22 +0000 (07:39 +0000)]
More for 1.124 - forwarded updates need Relax control since state attrs
are no-user-mod.

14 years agoITS#5836 add -S "swamp" mode: send requests without reading replies
Howard Chu [Wed, 1 Jul 2009 03:19:07 +0000 (03:19 +0000)]
ITS#5836 add -S "swamp" mode: send requests without reading replies

14 years agoITS#5836, #6089 fix c_writers counting
Howard Chu [Wed, 1 Jul 2009 03:01:08 +0000 (03:01 +0000)]
ITS#5836, #6089 fix c_writers counting

14 years agoITS#6084 handle pwdAccountLockedTime values set into the future (i.e.,
Howard Chu [Tue, 30 Jun 2009 12:12:53 +0000 (12:12 +0000)]
ITS#6084 handle pwdAccountLockedTime values set into the future (i.e.,
lame way of setting an expiration date.)

14 years agoFix prev commit
Howard Chu [Tue, 30 Jun 2009 11:54:45 +0000 (11:54 +0000)]
Fix prev commit

14 years agoITS#6082 return checker module's error message to client
Howard Chu [Tue, 30 Jun 2009 11:51:13 +0000 (11:51 +0000)]
ITS#6082 return checker module's error message to client

14 years agoFix check_password with {cleartext} passwords
Howard Chu [Tue, 30 Jun 2009 11:24:11 +0000 (11:24 +0000)]
Fix check_password with {cleartext} passwords

14 years agoITS#6168 actually use pwdLockout setting
Howard Chu [Tue, 30 Jun 2009 11:18:57 +0000 (11:18 +0000)]
ITS#6168 actually use pwdLockout setting

14 years agoITS#6168 actually use pwdLockout setting
Howard Chu [Tue, 30 Jun 2009 11:04:16 +0000 (11:04 +0000)]
ITS#6168 actually use pwdLockout setting

14 years agoAdd ppolicy_forward_updates
Howard Chu [Tue, 30 Jun 2009 10:49:47 +0000 (10:49 +0000)]
Add ppolicy_forward_updates

14 years agoAdd ppolicy_forward_updates: if configured, ppolicy state changes due to
Howard Chu [Tue, 30 Jun 2009 10:41:51 +0000 (10:41 +0000)]
Add ppolicy_forward_updates: if configured, ppolicy state changes due to
Binds are performed using the frontend, to allow them to trigger the
updateref on a consumer, which can then be forwarded by the chain overlay.
Setting is ignored if server is not a consumer.

14 years agoAdd delays to allow refint to complete
Howard Chu [Mon, 29 Jun 2009 23:25:19 +0000 (23:25 +0000)]
Add delays to allow refint to complete

14 years agoFix Debug format in last commit
Hallvard Furuseth [Sun, 28 Jun 2009 21:23:59 +0000 (21:23 +0000)]
Fix Debug format in last commit

14 years agoITS#6189 delay resetting the SLAP_C_BINDING state until the Bind handler
Howard Chu [Sun, 28 Jun 2009 03:37:20 +0000 (03:37 +0000)]
ITS#6189 delay resetting the SLAP_C_BINDING state until the Bind handler
has fully returned to the connection manager. This may result in
"deferring operation: binding" messages being logged again (ITS#3850) but
it should not cause any hangs.

14 years agoITS#6185 use more retries
Howard Chu [Fri, 26 Jun 2009 05:41:57 +0000 (05:41 +0000)]
ITS#6185 use more retries

14 years agoITS#5535 replace private _kadm5_*_key functions with public hdb funcs
Howard Chu [Fri, 26 Jun 2009 04:08:47 +0000 (04:08 +0000)]
ITS#5535 replace private _kadm5_*_key functions with public hdb funcs

14 years agoITS#6188 add stub for ldap_pvt_thread_pool_retract()
Howard Chu [Thu, 25 Jun 2009 23:15:38 +0000 (23:15 +0000)]
ITS#6188 add stub for ldap_pvt_thread_pool_retract()

14 years agoITS#5829 document the default modulepath
Howard Chu [Tue, 23 Jun 2009 23:33:29 +0000 (23:33 +0000)]
ITS#5829 document the default modulepath

14 years agoITS#5658 hppa fixes
Howard Chu [Tue, 23 Jun 2009 23:12:15 +0000 (23:12 +0000)]
ITS#5658 hppa fixes

14 years agoITS#6179 regex in <setstyle> is deprecated, use expand.
Rein Tollevik [Tue, 23 Jun 2009 21:20:28 +0000 (21:20 +0000)]
ITS#6179 regex in <setstyle> is deprecated, use expand.

14 years agoITS#6179 Don't require dn.regex in <who> to use expand style in <by>.
Rein Tollevik [Tue, 23 Jun 2009 21:17:57 +0000 (21:17 +0000)]
ITS#6179 Don't require dn.regex in <who> to use expand style in <by>.

14 years agoITS#6183 Configuration examples should not be in ACL section
Gavin Henry [Fri, 19 Jun 2009 21:12:12 +0000 (21:12 +0000)]
ITS#6183 Configuration examples should not be in ACL section