]> git.sur5r.net Git - openldap/log
openldap
22 years agoAdd optional len to ber_str2bv
Howard Chu [Wed, 26 Dec 2001 13:45:22 +0000 (13:45 +0000)]
Add optional len to ber_str2bv

22 years agoAdded ldap_xxx2bv schema functions
Howard Chu [Wed, 26 Dec 2001 12:31:44 +0000 (12:31 +0000)]
Added ldap_xxx2bv schema functions

22 years agoFirst pass at converting bind to struct bervals
Howard Chu [Wed, 26 Dec 2001 11:41:38 +0000 (11:41 +0000)]
First pass at converting bind to struct bervals

22 years agomore on attrs array from char* to berval*
Pierangelo Masarati [Wed, 26 Dec 2001 11:23:35 +0000 (11:23 +0000)]
more on attrs array from char* to berval*

22 years agoChanged ber_bvdup to ber_dupbv with destination provided
Howard Chu [Wed, 26 Dec 2001 11:15:28 +0000 (11:15 +0000)]
Changed ber_bvdup to ber_dupbv with destination provided

22 years agoMerged ber_bvstr and ber_bvstrdup into ber_str2bv.
Howard Chu [Wed, 26 Dec 2001 10:06:19 +0000 (10:06 +0000)]
Merged ber_bvstr and ber_bvstrdup into ber_str2bv.

22 years agoFix attrs handling
Howard Chu [Wed, 26 Dec 2001 09:19:57 +0000 (09:19 +0000)]
Fix attrs handling

22 years agoFix attrs handling
Howard Chu [Wed, 26 Dec 2001 08:49:27 +0000 (08:49 +0000)]
Fix attrs handling

22 years agoChanged search attrs to struct berval **.
Howard Chu [Wed, 26 Dec 2001 08:47:04 +0000 (08:47 +0000)]
Changed search attrs to struct berval **.
Use typedefs for all backend functions, to minimize work in future API
updates. (back-*/external.h will never need updating in the future.)

22 years agoAdded missing passwd_back_db_config.
Howard Chu [Wed, 26 Dec 2001 08:32:08 +0000 (08:32 +0000)]
Added missing passwd_back_db_config.

22 years agoChanged search attrs to struct berval **.
Howard Chu [Wed, 26 Dec 2001 08:17:44 +0000 (08:17 +0000)]
Changed search attrs to struct berval **.
Use typedefs for all backend functions, to minimize work in future API
updates. (back-*/external.h will never need updating in the future.)

22 years agoMigrate to dnNormalize
Howard Chu [Wed, 26 Dec 2001 06:21:23 +0000 (06:21 +0000)]
Migrate to dnNormalize

22 years agoMinor cleanup
Howard Chu [Wed, 26 Dec 2001 06:21:06 +0000 (06:21 +0000)]
Minor cleanup

22 years agoFix unterminated string in previous commit. dnNormalize ought to use an
Howard Chu [Wed, 26 Dec 2001 04:51:10 +0000 (04:51 +0000)]
Fix unterminated string in previous commit. dnNormalize ought to use an
ldap_bv2dn function instead of ldap_str2dn and honor the bv_len's...

22 years agoMore struct berval changes, dnNormalize migration...
Howard Chu [Wed, 26 Dec 2001 04:17:49 +0000 (04:17 +0000)]
More struct berval changes, dnNormalize migration...

22 years agoMinor cleanup
Kurt Zeilenga [Tue, 25 Dec 2001 20:02:13 +0000 (20:02 +0000)]
Minor cleanup

22 years agoFix typo
Kurt Zeilenga [Tue, 25 Dec 2001 19:53:59 +0000 (19:53 +0000)]
Fix typo

22 years agoMore struct berval DNs
Kurt Zeilenga [Tue, 25 Dec 2001 19:48:26 +0000 (19:48 +0000)]
More struct berval DNs

22 years agoFIx up replog calls, add replog call to bdb passwd
Kurt Zeilenga [Tue, 25 Dec 2001 18:20:35 +0000 (18:20 +0000)]
FIx up replog calls, add replog call to bdb passwd

22 years agoHave replog() use struct berval DNs
Kurt Zeilenga [Tue, 25 Dec 2001 04:09:09 +0000 (04:09 +0000)]
Have replog() use struct berval DNs

22 years agoFix modrdn
Kurt Zeilenga [Tue, 25 Dec 2001 03:47:35 +0000 (03:47 +0000)]
Fix modrdn

22 years agoAdjust e_name.bv_len on modrdn
Kurt Zeilenga [Tue, 25 Dec 2001 03:03:03 +0000 (03:03 +0000)]
Adjust e_name.bv_len on modrdn

22 years agoMore "char *" to struct berval DN changes
Kurt Zeilenga [Tue, 25 Dec 2001 02:30:01 +0000 (02:30 +0000)]
More "char *" to struct berval DN changes

22 years agoUse struct berval DNs for root DN and update DN
Kurt Zeilenga [Tue, 25 Dec 2001 00:05:26 +0000 (00:05 +0000)]
Use struct berval DNs for root DN and update DN

22 years agoRemove unneeded cheats. hyc found/fixed my bug (in slap.h)
Kurt Zeilenga [Mon, 24 Dec 2001 20:42:05 +0000 (20:42 +0000)]
Remove unneeded cheats.  hyc found/fixed my bug (in slap.h)

22 years agoupdate comment
Kurt Zeilenga [Mon, 24 Dec 2001 20:29:59 +0000 (20:29 +0000)]
update comment
make tests (0-4) now works! (w/ dnNormalize/dnMatch cheats)

22 years agoFix SEGV when no newSuperior is specified
Howard Chu [Mon, 24 Dec 2001 20:27:00 +0000 (20:27 +0000)]
Fix SEGV when no newSuperior is specified

22 years agoThis really should work... but it's no more broken than last commit
Kurt Zeilenga [Mon, 24 Dec 2001 20:20:29 +0000 (20:20 +0000)]
This really should work... but it's no more broken than last commit

22 years agoFix uninitialized struct berval* to avoid assert in dnNormalize
Howard Chu [Mon, 24 Dec 2001 20:12:30 +0000 (20:12 +0000)]
Fix uninitialized struct berval* to avoid assert in dnNormalize

22 years agoAdd some cheats to dnNormalize and dnMatch to workaround
Kurt Zeilenga [Mon, 24 Dec 2001 20:07:19 +0000 (20:07 +0000)]
Add some cheats to dnNormalize and dnMatch to workaround
ava normalization issues.

22 years agoFix typo in e_ndn macro
Howard Chu [Mon, 24 Dec 2001 20:03:54 +0000 (20:03 +0000)]
Fix typo in e_ndn macro

22 years agoMisc cleanup, but doesn't fix tests.
Kurt Zeilenga [Mon, 24 Dec 2001 19:21:42 +0000 (19:21 +0000)]
Misc cleanup, but doesn't fix tests.

22 years agohex escape everything requires escape (uncomment #define PRETTY_ESCAPE to revert...
Pierangelo Masarati [Mon, 24 Dec 2001 19:17:10 +0000 (19:17 +0000)]
hex escape everything requires escape (uncomment #define PRETTY_ESCAPE to revert to previous behavior)

22 years agoMissed a dnPretty ber_val NULL...
Kurt Zeilenga [Mon, 24 Dec 2001 18:53:33 +0000 (18:53 +0000)]
Missed a dnPretty ber_val NULL...

22 years agomore re-engineering; now rdn_attrs() and so are written in terms of ldap_str2rdn...
Pierangelo Masarati [Mon, 24 Dec 2001 18:42:51 +0000 (18:42 +0000)]
more re-engineering; now rdn_attrs() and so are written in terms of ldap_str2rdn; some functions are deprecated

22 years agoback out previous change
Pierangelo Masarati [Mon, 24 Dec 2001 18:39:41 +0000 (18:39 +0000)]
back out previous change

22 years agoRequire the struct berval **out argument of dnPretty/dnNormalize
Kurt Zeilenga [Mon, 24 Dec 2001 18:38:20 +0000 (18:38 +0000)]
Require the struct berval **out argument of dnPretty/dnNormalize
point to a NULL pointer, that is assert( *out == NULL ).
Eventually, we'll allow **out to point to a preallocated
struct berval (to avoid unnecessary allocation).

22 years agoFix up frontend side of modrdn. Need to rework backend side (especially
Kurt Zeilenga [Mon, 24 Dec 2001 18:02:49 +0000 (18:02 +0000)]
Fix up frontend side of modrdn.  Need to rework backend side (especially
to adjust ber_lens as needed).

22 years agoUse e_nname.bv_len
Howard Chu [Mon, 24 Dec 2001 17:52:07 +0000 (17:52 +0000)]
Use e_nname.bv_len

22 years agoe_name.bv_len stuff in entry_decode
Howard Chu [Mon, 24 Dec 2001 17:37:22 +0000 (17:37 +0000)]
e_name.bv_len stuff in entry_decode

22 years agocomment for future optimization
Pierangelo Masarati [Mon, 24 Dec 2001 17:27:26 +0000 (17:27 +0000)]
comment for future optimization

22 years agoBasic ename.bv_len work.
Kurt Zeilenga [Mon, 24 Dec 2001 17:24:18 +0000 (17:24 +0000)]
Basic ename.bv_len work.

22 years agotrim spurious e_ndn also from back-meta
Pierangelo Masarati [Mon, 24 Dec 2001 17:24:07 +0000 (17:24 +0000)]
trim spurious e_ndn also from back-meta

22 years agoAvoid conflict with e_ndn macro
Howard Chu [Mon, 24 Dec 2001 17:06:46 +0000 (17:06 +0000)]
Avoid conflict with e_ndn macro

22 years agoFix DN struct berval issue
Kurt Zeilenga [Mon, 24 Dec 2001 17:01:08 +0000 (17:01 +0000)]
Fix DN struct berval issue

22 years agoEvery quick mod to use a struct berval for e_dn/e_ndn. No bv_len yet.
Kurt Zeilenga [Mon, 24 Dec 2001 16:53:47 +0000 (16:53 +0000)]
Every quick mod to use a struct berval for e_dn/e_ndn.  No bv_len yet.

22 years agoChanged suffix_alias() to use struct berval * in-place.
Howard Chu [Mon, 24 Dec 2001 16:29:18 +0000 (16:29 +0000)]
Changed suffix_alias() to use struct berval * in-place.

22 years agore-engineered some dn related functions with ldap_dn* functions; helpers should be...
Pierangelo Masarati [Mon, 24 Dec 2001 15:48:35 +0000 (15:48 +0000)]
re-engineered some dn related functions with ldap_dn* functions; helpers should be used instead of deprecated functions in code

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