]> git.sur5r.net Git - openldap/log
openldap
22 years agoEntry rwlock is no longer needed as concurrency is managed LDBM_POST_GIANT_RWLOCK
Kurt Zeilenga [Tue, 29 Jan 2002 20:05:55 +0000 (20:05 +0000)]
Entry rwlock is no longer needed as concurrency is managed
by the giant rwlock.

22 years agoFix giant lock handling on entry release
Kurt Zeilenga [Tue, 29 Jan 2002 19:43:17 +0000 (19:43 +0000)]
Fix giant lock handling on entry release

22 years agorevert constification of slap_init_user()
Kurt Zeilenga [Tue, 29 Jan 2002 19:01:15 +0000 (19:01 +0000)]
revert constification of slap_init_user()

22 years agoAdd giant lock code back in... (it's my flakey devbox that needed work)
Kurt Zeilenga [Tue, 29 Jan 2002 17:58:36 +0000 (17:58 +0000)]
Add giant lock code back in... (it's my flakey devbox that needed work)

22 years agoBack out giant lock code, needs more work
Kurt Zeilenga [Tue, 29 Jan 2002 17:49:37 +0000 (17:49 +0000)]
Back out giant lock code, needs more work

22 years agoAdd GIANT rwlock! This should resolve nasty concurrency issues.
Kurt Zeilenga [Tue, 29 Jan 2002 17:27:20 +0000 (17:27 +0000)]
Add GIANT rwlock!  This should resolve nasty concurrency issues.

22 years agoAdd time.c
Kurt Zeilenga [Tue, 29 Jan 2002 17:25:04 +0000 (17:25 +0000)]
Add time.c

22 years agoadded local time under 'lang' (lang-x-local)
Pierangelo Masarati [Tue, 29 Jan 2002 17:23:26 +0000 (17:23 +0000)]
added local time under 'lang' (lang-x-local)

22 years agoadd Time subsystem
Pierangelo Masarati [Tue, 29 Jan 2002 12:15:13 +0000 (12:15 +0000)]
add Time subsystem

22 years agofix uninitialized last (NULL) entry in BerVarray
Pierangelo Masarati [Tue, 29 Jan 2002 08:58:34 +0000 (08:58 +0000)]
fix uninitialized last (NULL) entry in BerVarray

22 years agoInitial ldapcompare(1) implementation. Adapted from patch
Kurt Zeilenga [Tue, 29 Jan 2002 07:33:11 +0000 (07:33 +0000)]
Initial ldapcompare(1) implementation.  Adapted from patch
submitted by Jeff Costlow <j.costlow@f5.com> (ITS#1560).

Portions:
Copyright 2002, F5 Networks, Inc, All rights reserved.
This software is not subject to any license of F5 Networks.

This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself.

22 years agoSome misc cleanup
Kurt Zeilenga [Tue, 29 Jan 2002 06:06:20 +0000 (06:06 +0000)]
Some misc cleanup

22 years agodisable debug checks
Kurt Zeilenga [Tue, 29 Jan 2002 05:05:25 +0000 (05:05 +0000)]
disable debug checks

22 years agoBDB_ALIASES and BDB_SUBENTRIES cleanup
Kurt Zeilenga [Tue, 29 Jan 2002 04:53:47 +0000 (04:53 +0000)]
BDB_ALIASES and BDB_SUBENTRIES cleanup

22 years agoAdd search no-op support.
Kurt Zeilenga [Tue, 29 Jan 2002 04:33:19 +0000 (04:33 +0000)]
Add search no-op support.

22 years agoFix Debug() statement
Kurt Zeilenga [Tue, 29 Jan 2002 00:05:30 +0000 (00:05 +0000)]
Fix Debug() statement

22 years agoAdd first cut BDB no-op control support.
Kurt Zeilenga [Tue, 29 Jan 2002 00:02:27 +0000 (00:02 +0000)]
Add first cut BDB no-op control support.

22 years agoDelete CDB (no transactions) support
Kurt Zeilenga [Mon, 28 Jan 2002 22:57:50 +0000 (22:57 +0000)]
Delete CDB (no transactions) support

22 years agoFix typo in last commit
Kurt Zeilenga [Mon, 28 Jan 2002 21:33:57 +0000 (21:33 +0000)]
Fix typo in last commit

22 years agoInitial ldapwhoami implementation
Kurt Zeilenga [Mon, 28 Jan 2002 21:24:40 +0000 (21:24 +0000)]
Initial ldapwhoami implementation

22 years agoCheck the ldif file without actually creating the db (but inits the files;
Pierangelo Masarati [Mon, 28 Jan 2002 20:36:29 +0000 (20:36 +0000)]
Check the ldif file without actually creating the db (but inits the files;
maybe I should trim this also).  Useful to check LARGE ldif files which
will require TONS on indices without failing at the very last entry for
a silly typo after 45 min. or more :)

22 years agouses URL extensions to set socket permissions other than default
Pierangelo Masarati [Mon, 28 Jan 2002 20:26:55 +0000 (20:26 +0000)]
uses URL extensions to set socket permissions other than default

URL Syntax:

ldapi://[<path>[/????[!]x-mod=<mod>]]

where <path> is the URL-encoded path of the socket (i.e. use %2F instead
of '/' for UNIX filenames!) and <mod> is 3*[w|-] (all we need is write
permission to the socket, read/execute permissions are ignored; however,
they're set when opening the listener).  The critical flag (the optional
'!' if not used ignores the result of the chmod() operation.

22 years agoAdd whoami extended operation. LDBM_PRE_GIANT_RWLOCK
Kurt Zeilenga [Mon, 28 Jan 2002 20:25:30 +0000 (20:25 +0000)]
Add whoami extended operation.
Add no-op control (needs backend implementation)
Updated modify password extended option API
Kludged control infrastructure to support frontend only controls

22 years agoRemove lint
Kurt Zeilenga [Mon, 28 Jan 2002 20:22:57 +0000 (20:22 +0000)]
Remove lint

22 years agoprovisions for user-supplied permissions
Pierangelo Masarati [Mon, 28 Jan 2002 17:57:53 +0000 (17:57 +0000)]
provisions for user-supplied permissions

22 years agoanother round at cleaning it up: better naming, more attributes and so
Pierangelo Masarati [Mon, 28 Jan 2002 17:21:52 +0000 (17:21 +0000)]
another round at cleaning it up: better naming, more attributes and so

22 years agobeautify listener monitor
Pierangelo Masarati [Mon, 28 Jan 2002 14:01:16 +0000 (14:01 +0000)]
beautify listener monitor

22 years agoChanged Access.a_sockurl_pat, Connection.c_listener_url etc.
Howard Chu [Mon, 28 Jan 2002 11:41:07 +0000 (11:41 +0000)]
Changed Access.a_sockurl_pat, Connection.c_listener_url etc.
to struct bervals

22 years agoSome more struct berval conversions
Howard Chu [Mon, 28 Jan 2002 10:11:36 +0000 (10:11 +0000)]
Some more struct berval conversions

22 years agoMisc updates
Kurt Zeilenga [Sun, 27 Jan 2002 20:08:49 +0000 (20:08 +0000)]
Misc updates

22 years agoAdded TLSVerifyClient configuration notes
Howard Chu [Sun, 27 Jan 2002 04:49:32 +0000 (04:49 +0000)]
Added TLSVerifyClient configuration notes

22 years agoSend a warning to the client if we try to use a bad cert.
Howard Chu [Sun, 27 Jan 2002 03:48:08 +0000 (03:48 +0000)]
Send a warning to the client if we try to use a bad cert.

22 years agoExtended TLS_REQCERT/TLSVerifyClient syntax to 4 states: never,allow,try,
Howard Chu [Sun, 27 Jan 2002 02:56:18 +0000 (02:56 +0000)]
Extended TLS_REQCERT/TLSVerifyClient syntax to 4 states: never,allow,try,
and hard/demand.

22 years agoAdd language tag/range option I-D
Kurt Zeilenga [Sun, 27 Jan 2002 00:14:23 +0000 (00:14 +0000)]
Add language tag/range option I-D

22 years agoDon't free langbuf.
Kurt Zeilenga [Sat, 26 Jan 2002 23:44:53 +0000 (23:44 +0000)]
Don't free langbuf.

22 years agoBack out unintended commit
Kurt Zeilenga [Sat, 26 Jan 2002 23:36:39 +0000 (23:36 +0000)]
Back out unintended commit

22 years agoLanguage Tag and Range Support <draft-zeilenga-ldap-rfc2596-xx.txt>
Kurt Zeilenga [Sat, 26 Jan 2002 23:14:51 +0000 (23:14 +0000)]
Language Tag and Range Support <draft-zeilenga-ldap-rfc2596-xx.txt>
Based upon code submitted by Steve Omrani <somrani@us.ibm.com> (ITS#1525)

22 years agoFix result
Howard Chu [Sat, 26 Jan 2002 15:06:53 +0000 (15:06 +0000)]
Fix result

22 years agoEliminated dn_normalize. No more migration.
Howard Chu [Sat, 26 Jan 2002 14:51:45 +0000 (14:51 +0000)]
Eliminated dn_normalize. No more migration.

22 years agoappropriately detect index delete failure
Pierangelo Masarati [Sat, 26 Jan 2002 14:33:31 +0000 (14:33 +0000)]
appropriately detect index delete failure

22 years agoChanged slap_authz_info.sai_mech to struct berval.
Howard Chu [Sat, 26 Jan 2002 13:57:41 +0000 (13:57 +0000)]
Changed slap_authz_info.sai_mech to struct berval.
Changed sasl_* to use struct bervals.

22 years agoFix, errno was incorrect after SSL_read returned 0 bytes, caused slapd to
Howard Chu [Sat, 26 Jan 2002 13:43:22 +0000 (13:43 +0000)]
Fix, errno was incorrect after SSL_read returned 0 bytes, caused slapd to
close the connection prematurely.

22 years agoChanged dnParent to void instead of int. (It always returned success...)
Howard Chu [Sat, 26 Jan 2002 08:44:59 +0000 (08:44 +0000)]
Changed dnParent to void instead of int. (It always returned success...)

22 years agoRemove deprecated routines and a little lint.
Kurt Zeilenga [Sat, 26 Jan 2002 07:32:13 +0000 (07:32 +0000)]
Remove deprecated routines and a little lint.

22 years agoChanged be_issuffix and dnParent to struct bervals
Howard Chu [Sat, 26 Jan 2002 06:52:59 +0000 (06:52 +0000)]
Changed be_issuffix and dnParent to struct bervals

22 years agoChanged dnParent to struct bervals
Howard Chu [Sat, 26 Jan 2002 06:52:24 +0000 (06:52 +0000)]
Changed dnParent to struct bervals

22 years agoFix previous commit
Howard Chu [Sat, 26 Jan 2002 06:52:11 +0000 (06:52 +0000)]
Fix previous commit

22 years agoChanged be_issuffix and dnParent to struct bervals
Howard Chu [Sat, 26 Jan 2002 06:40:56 +0000 (06:40 +0000)]
Changed be_issuffix and dnParent to struct bervals

22 years agoChanged be_issuffix and dnParent to take struct bervals.
Howard Chu [Sat, 26 Jan 2002 05:27:28 +0000 (05:27 +0000)]
Changed be_issuffix and dnParent to take struct bervals.
Changed dn_rdnlen, assumes an already pretty/normalized DN.
Added slap_empty_bv, a zero-length non-NULL berval.

22 years agoMissed one db.bv_val in Debug statement
Kurt Zeilenga [Sat, 26 Jan 2002 01:04:20 +0000 (01:04 +0000)]
Missed one db.bv_val in Debug statement

22 years agoStraighten out some argument passing... cache code need more cleanup,
Kurt Zeilenga [Sat, 26 Jan 2002 01:01:10 +0000 (01:01 +0000)]
Straighten out some argument passing... cache code need more cleanup,
uses deprecated routines...

22 years agoInitialize backend ssf set from global.
Kurt Zeilenga [Fri, 25 Jan 2002 21:35:40 +0000 (21:35 +0000)]
Initialize backend ssf set from global.

22 years agoMore updates. Need to add lber-sockbuf.3 ...
Howard Chu [Fri, 25 Jan 2002 12:34:57 +0000 (12:34 +0000)]
More updates. Need to add lber-sockbuf.3 ...

22 years agoEntry caching. Based on ITS#1545 from Jong Hyuk Choi, jongchoi@us.ibm.com
Howard Chu [Fri, 25 Jan 2002 07:19:01 +0000 (07:19 +0000)]
Entry caching. Based on ITS#1545 from Jong Hyuk Choi, jongchoi@us.ibm.com

22 years agoAdded Entry->e_bv for entry_decode
Howard Chu [Fri, 25 Jan 2002 07:11:52 +0000 (07:11 +0000)]
Added Entry->e_bv for entry_decode

22 years agoMinor cleanup, no need to zero fields in calloc'd memory
Howard Chu [Fri, 25 Jan 2002 07:07:55 +0000 (07:07 +0000)]
Minor cleanup, no need to zero fields in calloc'd memory

22 years agoAdd BDB compatibility check. Require Berkeley DB 3.3 or greater.
Kurt Zeilenga [Wed, 23 Jan 2002 19:08:07 +0000 (19:08 +0000)]
Add BDB compatibility check.  Require Berkeley DB 3.3 or greater.

22 years agoallow trailing '\' to continue a config line (ITS#1551)
Pierangelo Masarati [Wed, 23 Jan 2002 16:28:48 +0000 (16:28 +0000)]
allow trailing '\' to continue a config line (ITS#1551)

22 years agocheck on escaped rdn separator not needed any more
Pierangelo Masarati [Tue, 22 Jan 2002 08:30:32 +0000 (08:30 +0000)]
check on escaped rdn separator not needed any more

22 years agofinal dn_parent elimination in back-bdb
Pierangelo Masarati [Tue, 22 Jan 2002 08:18:12 +0000 (08:18 +0000)]
final dn_parent elimination in back-bdb

22 years agoas a temporary hack, return result without rewriting match
Pierangelo Masarati [Tue, 22 Jan 2002 08:17:02 +0000 (08:17 +0000)]
as a temporary hack, return result without rewriting match

22 years agoUpdated todo list
Ralf Haferkamp [Mon, 21 Jan 2002 23:02:44 +0000 (23:02 +0000)]
Updated todo list

22 years agoSet lock detector to DEFAULT, not NORUN.
Kurt Zeilenga [Mon, 21 Jan 2002 08:19:28 +0000 (08:19 +0000)]
Set lock detector to DEFAULT, not NORUN.
Clean up some error handling

22 years agoUpdate for BDB
Kurt Zeilenga [Mon, 21 Jan 2002 06:36:10 +0000 (06:36 +0000)]
Update for BDB

22 years agoset hostname via a variable, may need tweaking in some environments
Kurt Zeilenga [Mon, 21 Jan 2002 06:35:04 +0000 (06:35 +0000)]
set hostname via a variable, may need tweaking in some environments

22 years agoDB4 changes
Kurt Zeilenga [Mon, 21 Jan 2002 03:37:32 +0000 (03:37 +0000)]
DB4 changes

22 years agoMisc thread cleanup
Kurt Zeilenga [Mon, 21 Jan 2002 03:12:40 +0000 (03:12 +0000)]
Misc thread cleanup

22 years agoMore (blind) cthread changes
Kurt Zeilenga [Mon, 21 Jan 2002 02:32:34 +0000 (02:32 +0000)]
More (blind) cthread changes

22 years agoReally Fix typos
Kurt Zeilenga [Mon, 21 Jan 2002 02:23:20 +0000 (02:23 +0000)]
Really Fix typos

22 years agoCorrect cthread typos
Kurt Zeilenga [Mon, 21 Jan 2002 02:07:27 +0000 (02:07 +0000)]
Correct cthread typos

22 years agoFix typo in last commit
Kurt Zeilenga [Sun, 20 Jan 2002 22:31:10 +0000 (22:31 +0000)]
Fix typo in last commit

22 years agoFix cthread header test
Kurt Zeilenga [Sun, 20 Jan 2002 22:25:08 +0000 (22:25 +0000)]
Fix cthread header test

22 years agoITS#1541 fix.
Kurt Zeilenga [Sun, 20 Jan 2002 17:27:53 +0000 (17:27 +0000)]
ITS#1541 fix.

22 years agoMisc updates
Kurt Zeilenga [Sun, 20 Jan 2002 03:32:48 +0000 (03:32 +0000)]
Misc updates

22 years agoMostly up to date.
Howard Chu [Sun, 20 Jan 2002 01:10:51 +0000 (01:10 +0000)]
Mostly up to date.

22 years agoUpdate collective attribute schema
Kurt Zeilenga [Sat, 19 Jan 2002 22:33:07 +0000 (22:33 +0000)]
Update collective attribute schema

22 years agoAdd mods.c
Kurt Zeilenga [Sat, 19 Jan 2002 19:58:47 +0000 (19:58 +0000)]
Add mods.c

22 years agoMove {add,replace,delete}_value() routines to frontend and share.
Kurt Zeilenga [Sat, 19 Jan 2002 19:54:48 +0000 (19:54 +0000)]
Move {add,replace,delete}_value() routines to frontend and share.
Add error detail reporting.

22 years agofix ad_cmp
Pierangelo Masarati [Sat, 19 Jan 2002 15:42:59 +0000 (15:42 +0000)]
fix ad_cmp

22 years agoModify ad_cmp() macro to support use as an ordering function.
Kurt Zeilenga [Sat, 19 Jan 2002 06:42:59 +0000 (06:42 +0000)]
Modify ad_cmp() macro to support use as an ordering function.

22 years agoAdd more reads/searches to pound a little harder
Kurt Zeilenga [Sat, 19 Jan 2002 06:04:38 +0000 (06:04 +0000)]
Add more reads/searches to pound a little harder

22 years agoFix modify/replace.
Kurt Zeilenga [Sat, 19 Jan 2002 05:55:18 +0000 (05:55 +0000)]
Fix modify/replace.

22 years agoCleanup prototypes
Kurt Zeilenga [Sat, 19 Jan 2002 05:13:14 +0000 (05:13 +0000)]
Cleanup prototypes

22 years agoFix previous commit
Howard Chu [Sat, 19 Jan 2002 04:59:39 +0000 (04:59 +0000)]
Fix previous commit

22 years agoReset Entry->e_ocflags to 0 if objectClass attr is modified.
Howard Chu [Sat, 19 Jan 2002 04:51:42 +0000 (04:51 +0000)]
Reset Entry->e_ocflags to 0 if objectClass attr is modified.
(Only an issue with entry caching...)

22 years agoCleanup lint
Howard Chu [Sat, 19 Jan 2002 04:50:26 +0000 (04:50 +0000)]
Cleanup lint

22 years agoFix previous commit
Howard Chu [Sat, 19 Jan 2002 04:32:43 +0000 (04:32 +0000)]
Fix previous commit

22 years agoDon't free bv_vals that were passed to ber_bvarray_add.
Howard Chu [Sat, 19 Jan 2002 04:28:45 +0000 (04:28 +0000)]
Don't free bv_vals that were passed to ber_bvarray_add.

22 years agoUse calloc for new Entries, take care of new e_ocflags field
Howard Chu [Sat, 19 Jan 2002 04:28:07 +0000 (04:28 +0000)]
Use calloc for new Entries, take care of new e_ocflags field

22 years agoFix previous commit
Howard Chu [Sat, 19 Jan 2002 03:50:37 +0000 (03:50 +0000)]
Fix previous commit

22 years agoDefined some ObjectClass->soc_flags values, changed is_entry_*objectclass
Howard Chu [Sat, 19 Jan 2002 02:58:00 +0000 (02:58 +0000)]
Defined some ObjectClass->soc_flags values, changed is_entry_*objectclass
macros to use flags

22 years agoFix up duplicate error reporting
Kurt Zeilenga [Sat, 19 Jan 2002 02:20:46 +0000 (02:20 +0000)]
Fix up duplicate error reporting

22 years agoAdd checks for duplicate values.
Kurt Zeilenga [Sat, 19 Jan 2002 01:56:57 +0000 (01:56 +0000)]
Add checks for duplicate values.

22 years agoAdd checks for duplicate values
Kurt Zeilenga [Sat, 19 Jan 2002 01:56:35 +0000 (01:56 +0000)]
Add checks for duplicate values

22 years agoRemove some lint.
Kurt Zeilenga [Sat, 19 Jan 2002 01:54:56 +0000 (01:54 +0000)]
Remove some lint.

22 years agoLimit slurpd friendly code to replication user.
Kurt Zeilenga [Fri, 18 Jan 2002 22:01:29 +0000 (22:01 +0000)]
Limit slurpd friendly code to replication user.

22 years agoAdd a fourth add thread
Kurt Zeilenga [Fri, 18 Jan 2002 17:55:05 +0000 (17:55 +0000)]
Add a fourth add thread

22 years agoFix compilation error
Kurt Zeilenga [Fri, 18 Jan 2002 17:04:29 +0000 (17:04 +0000)]
Fix compilation error

22 years agoAdded ldap_pvt_thread_yield() after txn_abort
Howard Chu [Fri, 18 Jan 2002 13:34:50 +0000 (13:34 +0000)]
Added ldap_pvt_thread_yield() after txn_abort

22 years agoAdded "fewest" lockdetect keyword, to abort txn with fewest locks
Howard Chu [Fri, 18 Jan 2002 13:32:01 +0000 (13:32 +0000)]
Added "fewest" lockdetect keyword, to abort txn with fewest locks