]> git.sur5r.net Git - openldap/log
openldap
22 years agoFix syntax errors caused by struct berval changes...
Kurt Zeilenga [Wed, 26 Dec 2001 21:25:04 +0000 (21:25 +0000)]
Fix syntax errors caused by struct berval changes...

22 years agolint removal
Kurt Zeilenga [Wed, 26 Dec 2001 21:05:56 +0000 (21:05 +0000)]
lint removal

22 years agoUpdate referral handling to use struct berval DNs.
Kurt Zeilenga [Wed, 26 Dec 2001 20:59:24 +0000 (20:59 +0000)]
Update referral handling to use struct berval DNs.

22 years agonot needed any longer
Pierangelo Masarati [Wed, 26 Dec 2001 20:53:49 +0000 (20:53 +0000)]
not needed any longer

22 years agosome char* to berval fixes
Pierangelo Masarati [Wed, 26 Dec 2001 20:47:41 +0000 (20:47 +0000)]
some char* to berval fixes

22 years agoMove search, modify, and modrdn APIs to struct berval DNs.
Kurt Zeilenga [Wed, 26 Dec 2001 19:50:40 +0000 (19:50 +0000)]
Move search, modify, and modrdn APIs to struct berval DNs.
Much clean up is needed.

22 years agoZap configinfo and cleanup unused defaults
Kurt Zeilenga [Wed, 26 Dec 2001 19:10:13 +0000 (19:10 +0000)]
Zap configinfo and cleanup unused defaults

22 years agoZap configinfo
Kurt Zeilenga [Wed, 26 Dec 2001 19:09:34 +0000 (19:09 +0000)]
Zap configinfo

22 years agomove compare and delete to struct berval DNs
Kurt Zeilenga [Wed, 26 Dec 2001 19:05:26 +0000 (19:05 +0000)]
move compare and delete to struct berval DNs

22 years agostruct berval DN changes
Kurt Zeilenga [Wed, 26 Dec 2001 18:04:06 +0000 (18:04 +0000)]
struct berval DN changes

22 years agoFix typo
Kurt Zeilenga [Wed, 26 Dec 2001 17:51:07 +0000 (17:51 +0000)]
Fix typo

22 years agomodify be_referral to use struct berval DNs.
Kurt Zeilenga [Wed, 26 Dec 2001 17:40:34 +0000 (17:40 +0000)]
modify be_referral to use struct berval DNs.

22 years agoRemove lint.
Kurt Zeilenga [Wed, 26 Dec 2001 16:52:26 +0000 (16:52 +0000)]
Remove lint.

22 years agoMisc cleanup and dn_normalize() zapping
Kurt Zeilenga [Wed, 26 Dec 2001 16:42:35 +0000 (16:42 +0000)]
Misc cleanup and dn_normalize() zapping
Fix nameAndOptionalIdentifer syntax.

22 years agoReplace strcat with slap_strcopy
Howard Chu [Wed, 26 Dec 2001 16:25:18 +0000 (16:25 +0000)]
Replace strcat with slap_strcopy

22 years agoRemoved obsolete dn_normalize calls
Howard Chu [Wed, 26 Dec 2001 16:24:18 +0000 (16:24 +0000)]
Removed obsolete dn_normalize calls

22 years agoUse dnNormalize
Howard Chu [Wed, 26 Dec 2001 16:23:32 +0000 (16:23 +0000)]
Use dnNormalize

22 years agoMoved bdb_strcopy to slap_strcopy
Howard Chu [Wed, 26 Dec 2001 15:52:46 +0000 (15:52 +0000)]
Moved bdb_strcopy to slap_strcopy

22 years agoMinor struct berval tweaks
Howard Chu [Wed, 26 Dec 2001 15:29:17 +0000 (15:29 +0000)]
Minor struct berval tweaks

22 years agoChanged get_limits to struct berval*
Howard Chu [Wed, 26 Dec 2001 15:28:01 +0000 (15:28 +0000)]
Changed get_limits to struct berval*

22 years agoPrecompute syn_oidlen and mr_oidlen
Howard Chu [Wed, 26 Dec 2001 14:36:02 +0000 (14:36 +0000)]
Precompute syn_oidlen and mr_oidlen

22 years agoChanged ma_rule_text to struct berval.
Howard Chu [Wed, 26 Dec 2001 13:47:10 +0000 (13:47 +0000)]
Changed ma_rule_text to struct berval.
Changed get_filter to struct bervals

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