]> git.sur5r.net Git - openldap/log
openldap
22 years agobetter rdn exploding
Pierangelo Masarati [Mon, 24 Dec 2001 15:47:06 +0000 (15:47 +0000)]
better rdn exploding

22 years agoChanged Access->a_set_pat and acl->acl_dn_pat to struct berval to eliminate
Howard Chu [Mon, 24 Dec 2001 15:43:27 +0000 (15:43 +0000)]
Changed Access->a_set_pat and acl->acl_dn_pat to struct berval to eliminate
strlen() from acl processing.

22 years agoop->o_ndn berval fixes for SLAPD_ACI_ENABLED
Howard Chu [Mon, 24 Dec 2001 15:18:02 +0000 (15:18 +0000)]
op->o_ndn berval fixes for SLAPD_ACI_ENABLED

22 years agoChanged sai_dn, sai_ndn to struct berval. (Affects op->o_dn,o_ndn,
Howard Chu [Mon, 24 Dec 2001 15:11:01 +0000 (15:11 +0000)]
Changed sai_dn, sai_ndn to struct berval. (Affects op->o_dn,o_ndn,
conn->c_dn,c_ndn, Access->a_dn_pat)

22 years agoFix typo in berval commit
Howard Chu [Mon, 24 Dec 2001 13:47:47 +0000 (13:47 +0000)]
Fix typo in berval commit

22 years agobug in explode dn (caused most test failures when requesting client-side sorted results)
Pierangelo Masarati [Mon, 24 Dec 2001 10:31:11 +0000 (10:31 +0000)]
bug in explode dn (caused most test failures when requesting client-side sorted results)

22 years agoSome minor bugs for dntest ""
Kurt Zeilenga [Mon, 24 Dec 2001 07:22:25 +0000 (07:22 +0000)]
Some minor bugs for dntest ""

22 years agocannot assert la_private == NULL on free
Kurt Zeilenga [Mon, 24 Dec 2001 07:03:14 +0000 (07:03 +0000)]
cannot assert la_private == NULL on free

22 years agoClean up some symbol scoping
Kurt Zeilenga [Mon, 24 Dec 2001 06:36:44 +0000 (06:36 +0000)]
Clean up some symbol scoping

22 years agoDelete USE_LDAP_DN_PARSING
Kurt Zeilenga [Mon, 24 Dec 2001 06:02:59 +0000 (06:02 +0000)]
Delete USE_LDAP_DN_PARSING

22 years agoMisc DN cleanup, no functional changes
Kurt Zeilenga [Mon, 24 Dec 2001 06:00:02 +0000 (06:00 +0000)]
Misc DN cleanup, no functional changes

22 years agoMake note of deprecated DN routines. Need to write
Kurt Zeilenga [Mon, 24 Dec 2001 04:39:15 +0000 (04:39 +0000)]
Make note of deprecated DN routines.  Need to write
"struct berval" versions

22 years agoImprove error message
Kurt Zeilenga [Mon, 24 Dec 2001 04:03:27 +0000 (04:03 +0000)]
Improve error message

22 years agoDelete ldap_build_filter(), it's broke.
Kurt Zeilenga [Mon, 24 Dec 2001 03:49:54 +0000 (03:49 +0000)]
Delete ldap_build_filter(), it's broke.
Clean up headers.

22 years agoMinor cleanup, rename ldapava_free_*() routines and
Kurt Zeilenga [Sun, 23 Dec 2001 22:46:37 +0000 (22:46 +0000)]
Minor cleanup, rename ldapava_free_*() routines and
don't expose symbols of ava helper routines

22 years agoZap dn_match(), cleanup up prototype header
Kurt Zeilenga [Sun, 23 Dec 2001 20:23:15 +0000 (20:23 +0000)]
Zap dn_match(), cleanup up prototype header

22 years agoMinor cleanup
Kurt Zeilenga [Sun, 23 Dec 2001 20:20:15 +0000 (20:20 +0000)]
Minor cleanup

22 years agoleast escaping in dnPretty (hope my wife doesn't catch me in front of the laptop :)
Pierangelo Masarati [Sun, 23 Dec 2001 09:26:44 +0000 (09:26 +0000)]
least escaping in dnPretty (hope my wife doesn't catch me in front of the laptop :)

22 years agosmall bug exploited by malformed DCE format
Pierangelo Masarati [Sun, 23 Dec 2001 09:04:44 +0000 (09:04 +0000)]
small bug exploited by malformed DCE format

22 years agoMove dnValidate, dnNormalize, dnPretty to dn.c
Kurt Zeilenga [Sun, 23 Dec 2001 01:19:46 +0000 (01:19 +0000)]
Move dnValidate, dnNormalize, dnPretty to dn.c

22 years agouse dnPretty instead of dn_pretty
Kurt Zeilenga [Sun, 23 Dec 2001 00:43:57 +0000 (00:43 +0000)]
use dnPretty instead of dn_pretty

22 years agoUpdate BER decoding of PDU to use "o" (struct berval) instead of
Kurt Zeilenga [Sat, 22 Dec 2001 21:52:58 +0000 (21:52 +0000)]
Update BER decoding of PDU to use "o" (struct berval) instead of
"a" (char **)... another step towards BerValue DNs.

22 years agoZap man pages of deprecated routines
Kurt Zeilenga [Sat, 22 Dec 2001 20:51:27 +0000 (20:51 +0000)]
Zap man pages of deprecated routines

22 years agoFix up builds
Kurt Zeilenga [Sat, 22 Dec 2001 20:17:19 +0000 (20:17 +0000)]
Fix up builds

22 years agoAdd a couple of FIXME comments
Kurt Zeilenga [Sat, 22 Dec 2001 19:21:32 +0000 (19:21 +0000)]
Add a couple of FIXME comments

22 years agoadded operations and sent stats to back-monitor; minor cleanup
Pierangelo Masarati [Sat, 22 Dec 2001 19:14:10 +0000 (19:14 +0000)]
added operations and sent stats to back-monitor; minor cleanup

22 years agoError in exclusion set macros
Stig Venaas [Sat, 22 Dec 2001 17:17:52 +0000 (17:17 +0000)]
Error in exclusion set macros

22 years agoallegedly unnecessary selection of first database to return rootDSE or subschema...
Pierangelo Masarati [Sat, 22 Dec 2001 14:25:54 +0000 (14:25 +0000)]
allegedly unnecessary selection of first database to return rootDSE or subschema entries; note that the same happens in access_allowed()

22 years agobetter handling of on-the-fly operational attrs by means of helpers
Pierangelo Masarati [Sat, 22 Dec 2001 14:24:13 +0000 (14:24 +0000)]
better handling of on-the-fly operational attrs by means of helpers

22 years agoadded hasSubordinates to back-monitor
Pierangelo Masarati [Sat, 22 Dec 2001 12:28:02 +0000 (12:28 +0000)]
added hasSubordinates to back-monitor

22 years agoadded backend-side support for on-the-fly operational attributes; added hasSubordinat...
Pierangelo Masarati [Sat, 22 Dec 2001 11:50:16 +0000 (11:50 +0000)]
added backend-side support for on-the-fly operational attributes; added hasSubordinates to schema and back-ldbm

22 years agotemporary variable erroneously inside #ifdef (ITS#1503)
Pierangelo Masarati [Fri, 21 Dec 2001 10:15:24 +0000 (10:15 +0000)]
temporary variable erroneously inside #ifdef (ITS#1503)

22 years agodisallow bind_v2 is now default
Kurt Zeilenga [Fri, 21 Dec 2001 04:45:04 +0000 (04:45 +0000)]
disallow bind_v2 is now default

22 years agoLDAPv2 disallow and other flag changes
Kurt Zeilenga [Fri, 21 Dec 2001 04:44:34 +0000 (04:44 +0000)]
LDAPv2 disallow and other flag changes
Fix compile errors

22 years agozap tmplout
Kurt Zeilenga [Fri, 21 Dec 2001 04:38:36 +0000 (04:38 +0000)]
zap tmplout

22 years agoZap tmplout
Kurt Zeilenga [Fri, 21 Dec 2001 03:28:48 +0000 (03:28 +0000)]
Zap tmplout

22 years agoFix cache debugging (ITS#1501) based upon patch provided by
Kurt Zeilenga [Thu, 20 Dec 2001 20:11:03 +0000 (20:11 +0000)]
Fix cache debugging (ITS#1501) based upon patch provided by
Will Day <willday@rom.oit.gatech.edu>.

22 years agoReq't documents should be born historic...
Kurt Zeilenga [Thu, 20 Dec 2001 18:21:55 +0000 (18:21 +0000)]
Req't documents should be born historic...

22 years agoZap RFCs being moved to Historical status
Kurt Zeilenga [Thu, 20 Dec 2001 18:20:34 +0000 (18:20 +0000)]
Zap RFCs being moved to Historical status

22 years agoMisc updates
Kurt Zeilenga [Thu, 20 Dec 2001 16:49:46 +0000 (16:49 +0000)]
Misc updates

22 years agoFix - don't free constant database names
Howard Chu [Thu, 20 Dec 2001 08:47:32 +0000 (08:47 +0000)]
Fix - don't free constant database names

22 years agoRemove ttest
Kurt Zeilenga [Thu, 20 Dec 2001 07:29:33 +0000 (07:29 +0000)]
Remove ttest

22 years agoconcurrency tests should be using LDAPv3
Kurt Zeilenga [Thu, 20 Dec 2001 05:58:08 +0000 (05:58 +0000)]
concurrency tests should be using LDAPv3

22 years agoFix typo in last commit
Kurt Zeilenga [Thu, 20 Dec 2001 05:27:55 +0000 (05:27 +0000)]
Fix typo in last commit

22 years agoMinor cleanup
Kurt Zeilenga [Thu, 20 Dec 2001 03:00:53 +0000 (03:00 +0000)]
Minor cleanup

22 years agomisc cleanup
Kurt Zeilenga [Thu, 20 Dec 2001 01:43:03 +0000 (01:43 +0000)]
misc cleanup

22 years agoAdd abstract object class checks and a bit of structuralObjectClass
Kurt Zeilenga [Thu, 20 Dec 2001 01:41:44 +0000 (01:41 +0000)]
Add abstract object class checks and a bit of structuralObjectClass
optimization.

22 years agoFix error in last commit
Kurt Zeilenga [Thu, 20 Dec 2001 00:44:26 +0000 (00:44 +0000)]
Fix error in last commit

22 years agoAdd better error reporting.
Kurt Zeilenga [Thu, 20 Dec 2001 00:34:36 +0000 (00:34 +0000)]
Add better error reporting.
Handle multiple SUP objectClasses.

22 years agoFix minor error in error text handling
Kurt Zeilenga [Wed, 19 Dec 2001 23:41:31 +0000 (23:41 +0000)]
Fix minor error in error text handling
Fix invalid structural object class chains in test schema

22 years agoPatch slapadd(8) to provide a structuralObjectClass if missing
Kurt Zeilenga [Wed, 19 Dec 2001 22:41:00 +0000 (22:41 +0000)]
Patch slapadd(8) to provide a structuralObjectClass if missing
from input.  This likely needs to be done by the frontend instead.
Add structuralObjectClass to the root and subschema dses.

22 years agoAdd structuralObjectClass support and a bit of const'ification
Kurt Zeilenga [Wed, 19 Dec 2001 22:08:24 +0000 (22:08 +0000)]
Add structuralObjectClass support and a bit of const'ification

22 years agoBack out last change
Kurt Zeilenga [Wed, 19 Dec 2001 21:55:52 +0000 (21:55 +0000)]
Back out last change

22 years agodsparse still needed by filter templates (which are used by ud(1)).
Kurt Zeilenga [Wed, 19 Dec 2001 21:53:30 +0000 (21:53 +0000)]
dsparse still needed by filter templates (which are used by ud(1)).

22 years agoRemove srchpref and disptmpl stuff.
Kurt Zeilenga [Wed, 19 Dec 2001 21:46:34 +0000 (21:46 +0000)]
Remove srchpref and disptmpl stuff.

22 years agoMore cleanup
Kurt Zeilenga [Wed, 19 Dec 2001 21:37:41 +0000 (21:37 +0000)]
More cleanup

22 years agoUndocument 'schemacheck off'
Kurt Zeilenga [Wed, 19 Dec 2001 21:28:34 +0000 (21:28 +0000)]
Undocument 'schemacheck off'

22 years agoMisc cleanup
Kurt Zeilenga [Wed, 19 Dec 2001 21:23:49 +0000 (21:23 +0000)]
Misc cleanup

22 years agomisc cleanup
Kurt Zeilenga [Wed, 19 Dec 2001 21:23:11 +0000 (21:23 +0000)]
misc cleanup

22 years agoconst'ify and remove lint
Kurt Zeilenga [Wed, 19 Dec 2001 21:22:04 +0000 (21:22 +0000)]
const'ify and remove lint

22 years agoDon't const pointers to structures.
Kurt Zeilenga [Wed, 19 Dec 2001 21:20:46 +0000 (21:20 +0000)]
Don't const pointers to structures.

22 years agoRemove lint
Kurt Zeilenga [Wed, 19 Dec 2001 21:19:41 +0000 (21:19 +0000)]
Remove lint

22 years agoMinor adjustments... no rlookups by default, rm maxpathlen
Kurt Zeilenga [Wed, 19 Dec 2001 01:55:51 +0000 (01:55 +0000)]
Minor adjustments...  no rlookups by default, rm maxpathlen

22 years agofrom jon@symas.com - sync with portable.h.in 1.191
Howard Chu [Wed, 19 Dec 2001 00:38:42 +0000 (00:38 +0000)]
from jon@symas.com - sync with portable.h.in 1.191

22 years agoAdd mkstemp() detection
Kurt Zeilenga [Tue, 18 Dec 2001 23:44:06 +0000 (23:44 +0000)]
Add mkstemp() detection

22 years agominor cleanup from jon@symas.com
Howard Chu [Tue, 18 Dec 2001 05:17:06 +0000 (05:17 +0000)]
minor cleanup from jon@symas.com

22 years agomore cleanup from jon@symas.com
Howard Chu [Tue, 18 Dec 2001 04:52:55 +0000 (04:52 +0000)]
more cleanup from jon@symas.com

22 years agoBDB_MULTI still needs the dupsort function.
Howard Chu [Tue, 18 Dec 2001 04:41:40 +0000 (04:41 +0000)]
BDB_MULTI still needs the dupsort function.

22 years agofrom jon@symas.com - minor cleanup
Howard Chu [Tue, 18 Dec 2001 04:02:17 +0000 (04:02 +0000)]
from jon@symas.com - minor cleanup

22 years agoJust use mkstemp unconditionally; liblutil will fill in if the system doesn't.
Howard Chu [Tue, 18 Dec 2001 03:04:32 +0000 (03:04 +0000)]
Just use mkstemp unconditionally; liblutil will fill in if the system doesn't.

22 years agoFix typo in previous commit
Howard Chu [Tue, 18 Dec 2001 02:55:38 +0000 (02:55 +0000)]
Fix typo in previous commit

22 years agoAdd checks for mkstemp and mktemp. Tweak utils.c:mkstemp to honor the
Howard Chu [Tue, 18 Dec 2001 02:54:49 +0000 (02:54 +0000)]
Add checks for mkstemp and mktemp. Tweak utils.c:mkstemp to honor the
HAVE_MKTEMP macro in addition to HAVE_MKSTEMP

22 years agoEmulate mkstemp() using mktemp() if mkstemp() is not found by configure
Howard Chu [Tue, 18 Dec 2001 02:48:20 +0000 (02:48 +0000)]
Emulate mkstemp() using mktemp() if mkstemp() is not found by configure

22 years agoRegenerate configure and fix AC header inclusion
Kurt Zeilenga [Tue, 18 Dec 2001 02:25:21 +0000 (02:25 +0000)]
Regenerate configure and fix AC header inclusion

22 years agoSome index clarifications
Kurt Zeilenga [Tue, 18 Dec 2001 02:24:09 +0000 (02:24 +0000)]
Some index clarifications

22 years agoMove Windows sleep macro from acconfig.h to ac/unistd.h
Howard Chu [Tue, 18 Dec 2001 02:03:23 +0000 (02:03 +0000)]
Move Windows sleep macro from acconfig.h to ac/unistd.h

22 years agostdlib.h should be included as <ac/stdlib.h>
Kurt Zeilenga [Tue, 18 Dec 2001 01:24:31 +0000 (01:24 +0000)]
stdlib.h should be included as <ac/stdlib.h>

22 years agoRegenerate at hyc's request
Kurt Zeilenga [Tue, 18 Dec 2001 01:09:00 +0000 (01:09 +0000)]
Regenerate at hyc's request

22 years agoMinor cleanup
Howard Chu [Tue, 18 Dec 2001 00:29:43 +0000 (00:29 +0000)]
Minor cleanup

22 years agoRevert previous commit.
Howard Chu [Tue, 18 Dec 2001 00:20:58 +0000 (00:20 +0000)]
Revert previous commit.

22 years agofrom jon@symas.com - misc cleanup
Howard Chu [Tue, 18 Dec 2001 00:16:15 +0000 (00:16 +0000)]
from jon@symas.com - misc cleanup

22 years agoWe "understand" localhost to be same as the local hostname as
Kurt Zeilenga [Mon, 17 Dec 2001 23:56:16 +0000 (23:56 +0000)]
We "understand" localhost to be same as the local hostname as
returned by gethostname().

22 years agofrom jon@symas.com - minor cleanup
Howard Chu [Mon, 17 Dec 2001 22:48:29 +0000 (22:48 +0000)]
from jon@symas.com - minor cleanup

22 years agofix from jon@symas.com - missing arguments to Debug/LDAP_LOG
Howard Chu [Mon, 17 Dec 2001 22:47:36 +0000 (22:47 +0000)]
fix from jon@symas.com - missing arguments to Debug/LDAP_LOG

22 years agofix from jon@symas.com - inet_ntoa on uninitialized sockaddr
Howard Chu [Mon, 17 Dec 2001 22:46:59 +0000 (22:46 +0000)]
fix from jon@symas.com - inet_ntoa on uninitialized sockaddr

22 years agofix from jon@symas.com - don't free uninitialized bv_val
Howard Chu [Mon, 17 Dec 2001 22:46:08 +0000 (22:46 +0000)]
fix from jon@symas.com - don't free uninitialized bv_val

22 years agofrom jon@symas.com - misc Windows cleanup
Howard Chu [Mon, 17 Dec 2001 22:42:55 +0000 (22:42 +0000)]
from jon@symas.com - misc Windows cleanup

22 years ago from jon@symas.com - misc MSVC cleanup
Howard Chu [Mon, 17 Dec 2001 22:40:10 +0000 (22:40 +0000)]
 from jon@symas.com - misc MSVC cleanup

22 years ago from jon@symas.com - fix unterminated comment
Howard Chu [Mon, 17 Dec 2001 22:38:15 +0000 (22:38 +0000)]
 from jon@symas.com - fix unterminated comment

22 years ago from jon@symas.com; include ldap_log.h for proper declarations, remove
Howard Chu [Mon, 17 Dec 2001 22:37:47 +0000 (22:37 +0000)]
 from jon@symas.com; include ldap_log.h for proper declarations, remove
 unused variable

22 years agoFix ITS#1497 use strcmp instead of strncmp
Howard Chu [Mon, 17 Dec 2001 21:56:24 +0000 (21:56 +0000)]
Fix ITS#1497 use strcmp instead of strncmp

22 years agoSilence a warning for Windows build
Howard Chu [Mon, 17 Dec 2001 21:42:48 +0000 (21:42 +0000)]
Silence a warning for Windows build

22 years agoUse a 4-byte constant for the presence index key. Set the index db hash
Howard Chu [Sun, 16 Dec 2001 14:21:47 +0000 (14:21 +0000)]
Use a 4-byte constant for the presence index key. Set the index db hash
function to simply pass thru the key value, which is already a hash value.

22 years agoUse DB_HASH instead of DB_BTREE for index databases. Since index keys are
Howard Chu [Sat, 15 Dec 2001 23:21:37 +0000 (23:21 +0000)]
Use DB_HASH instead of DB_BTREE for index databases. Since index keys are
mainly 4-byte hashes already, there is no locality-of-reference to exploit
as a Btree. About a 7% performance gain.

22 years agoRevert previous checkin, DB_NODUPDATA is not valid on db->set_flags().
Howard Chu [Sat, 15 Dec 2001 23:00:46 +0000 (23:00 +0000)]
Revert previous checkin, DB_NODUPDATA is not valid on db->set_flags().
It must be specified on individual put() operations (and already is).

22 years agoAdded atexit handler to free global_opts->ldo_defludp.
Howard Chu [Sat, 15 Dec 2001 13:43:49 +0000 (13:43 +0000)]
Added atexit handler to free global_opts->ldo_defludp.

22 years agoAdded acl_destroy, acl_free.
Howard Chu [Sat, 15 Dec 2001 12:41:53 +0000 (12:41 +0000)]
Added acl_destroy, acl_free.

22 years agoDon't copy and leak user; it's an env var so just use it directly.
Howard Chu [Sat, 15 Dec 2001 12:07:40 +0000 (12:07 +0000)]
Don't copy and leak user; it's an env var so just use it directly.

22 years agoMore thorough backend_destroy. Added config_destroy. Destroy slap_listeners.
Howard Chu [Sat, 15 Dec 2001 12:05:58 +0000 (12:05 +0000)]
More thorough backend_destroy. Added config_destroy. Destroy slap_listeners.
Plugged other small leaks.

22 years agoClose some stdio fopen leaks.
Howard Chu [Sat, 15 Dec 2001 09:19:07 +0000 (09:19 +0000)]
Close some stdio fopen leaks.