]> git.sur5r.net Git - openldap/log
openldap
22 years agoWorks... now to test our filter parser!
Kurt Zeilenga [Fri, 28 Dec 2001 04:33:57 +0000 (04:33 +0000)]
Works...  now to test our filter parser!

22 years agoMore struct beral conversion
Howard Chu [Fri, 28 Dec 2001 04:20:08 +0000 (04:20 +0000)]
More struct beral conversion

22 years agoAdd ftest (filter test) to the mix, needs work.
Kurt Zeilenga [Fri, 28 Dec 2001 03:39:05 +0000 (03:39 +0000)]
Add ftest (filter test) to the mix, needs work.
Misc cleanup of other tests.
Add *.dsp files for tests

22 years agoMark more stuff as deprecated and remove some unused deprecated
Kurt Zeilenga [Thu, 27 Dec 2001 23:01:17 +0000 (23:01 +0000)]
Mark more stuff as deprecated and remove some unused deprecated
routines.

22 years agocleanup
Kurt Zeilenga [Thu, 27 Dec 2001 23:01:09 +0000 (23:01 +0000)]
cleanup

22 years ago:)
Pierangelo Masarati [Thu, 27 Dec 2001 18:10:25 +0000 (18:10 +0000)]
:)

22 years agodnExtractRDN should take a struct berval DN.
Kurt Zeilenga [Thu, 27 Dec 2001 17:17:01 +0000 (17:17 +0000)]
dnExtractRDN should take a struct berval DN.

22 years agostruct bervals for DN; fix in send children
Pierangelo Masarati [Thu, 27 Dec 2001 15:16:12 +0000 (15:16 +0000)]
struct bervals for DN; fix in send children

22 years agosmall improvement and prototyping
Pierangelo Masarati [Thu, 27 Dec 2001 15:15:30 +0000 (15:15 +0000)]
small improvement and prototyping

22 years agocleanup
Pierangelo Masarati [Thu, 27 Dec 2001 13:54:22 +0000 (13:54 +0000)]
cleanup

22 years agoconversion to berval DN
Pierangelo Masarati [Thu, 27 Dec 2001 12:17:54 +0000 (12:17 +0000)]
conversion to berval DN

22 years agogroup and attribute conversion to berval DN
Pierangelo Masarati [Thu, 27 Dec 2001 12:17:28 +0000 (12:17 +0000)]
group and attribute conversion to berval DN

22 years agomatched_dn may be null
Pierangelo Masarati [Thu, 27 Dec 2001 12:16:58 +0000 (12:16 +0000)]
matched_dn may be null

22 years agoFix memory leak in str2entry
Howard Chu [Thu, 27 Dec 2001 10:25:50 +0000 (10:25 +0000)]
Fix memory leak in str2entry

22 years agoMore struct berval DN changes
Kurt Zeilenga [Thu, 27 Dec 2001 07:13:13 +0000 (07:13 +0000)]
More struct berval DN changes
decrease dependency on dn_validate/dn_normalize

22 years agoDon't enable IPv6 if --disable-ipv6
Kurt Zeilenga [Thu, 27 Dec 2001 02:22:13 +0000 (02:22 +0000)]
Don't enable IPv6 if --disable-ipv6

22 years agoClean up a few globals
Kurt Zeilenga [Thu, 27 Dec 2001 02:03:57 +0000 (02:03 +0000)]
Clean up a few globals

22 years agoMore struct berval fixes
Howard Chu [Thu, 27 Dec 2001 01:38:15 +0000 (01:38 +0000)]
More struct berval fixes

22 years agoMore struct berval fixes for modrdn
Howard Chu [Thu, 27 Dec 2001 01:10:52 +0000 (01:10 +0000)]
More struct berval fixes for modrdn

22 years agoTrim RFCs
Kurt Zeilenga [Thu, 27 Dec 2001 01:09:58 +0000 (01:09 +0000)]
Trim RFCs

22 years agoTrim RFCs
Kurt Zeilenga [Thu, 27 Dec 2001 01:02:40 +0000 (01:02 +0000)]
Trim RFCs

22 years agoZap some old I-Ds which are not terrible relevant anymore.
Kurt Zeilenga [Thu, 27 Dec 2001 01:00:24 +0000 (01:00 +0000)]
Zap some old I-Ds which are not terrible relevant anymore.
Note that old I-Ds can always be found on www.watersprings.com

22 years agoMore struct berval fixes for modrdn
Howard Chu [Thu, 27 Dec 2001 00:58:14 +0000 (00:58 +0000)]
More struct berval fixes for modrdn

22 years agoMisc updates
Kurt Zeilenga [Thu, 27 Dec 2001 00:55:42 +0000 (00:55 +0000)]
Misc updates

22 years agoa misc. few updates...
Kurt Zeilenga [Thu, 27 Dec 2001 00:42:04 +0000 (00:42 +0000)]
a misc. few updates...

22 years agoMisc cleanup
Kurt Zeilenga [Thu, 27 Dec 2001 00:31:55 +0000 (00:31 +0000)]
Misc cleanup

22 years agoQuick struct berval DN support for defer alias API.
Kurt Zeilenga [Thu, 27 Dec 2001 00:26:59 +0000 (00:26 +0000)]
Quick struct berval DN support for defer alias API.
Underlying code needs work.

22 years agoadd group.c
Kurt Zeilenga [Thu, 27 Dec 2001 00:18:09 +0000 (00:18 +0000)]
add group.c

22 years agoQuick patch to support struct berval dn2entry changes
Kurt Zeilenga [Thu, 27 Dec 2001 00:10:44 +0000 (00:10 +0000)]
Quick patch to support struct berval dn2entry changes

22 years agoUpdate groups to use struct berval DNs.
Kurt Zeilenga [Wed, 26 Dec 2001 23:49:19 +0000 (23:49 +0000)]
Update groups to use struct berval DNs.

22 years agoMore struct berval DNs changes
Kurt Zeilenga [Wed, 26 Dec 2001 23:43:28 +0000 (23:43 +0000)]
More struct berval DNs changes

22 years agoChanged Filter.f_dn to struct berval*
Howard Chu [Wed, 26 Dec 2001 23:37:59 +0000 (23:37 +0000)]
Changed Filter.f_dn to struct berval*

22 years agoAdditional struct berval DN changes...
Kurt Zeilenga [Wed, 26 Dec 2001 23:26:55 +0000 (23:26 +0000)]
Additional struct berval DN changes...

22 years agoSome more (incomplete) struct berval conversion
Howard Chu [Wed, 26 Dec 2001 23:26:17 +0000 (23:26 +0000)]
Some more (incomplete) struct berval conversion

22 years agoFix modrdn and other misc cleanup
Kurt Zeilenga [Wed, 26 Dec 2001 23:03:36 +0000 (23:03 +0000)]
Fix modrdn and other misc cleanup

22 years agoUpdate to new API (struct berval DNs)
Kurt Zeilenga [Wed, 26 Dec 2001 22:59:28 +0000 (22:59 +0000)]
Update to new API (struct berval DNs)

22 years agoUpdate to new struct berval DN API
Kurt Zeilenga [Wed, 26 Dec 2001 22:53:54 +0000 (22:53 +0000)]
Update to new struct berval DN API

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