]> git.sur5r.net Git - openldap/log
openldap
22 years agofix assertion
Pierangelo Masarati [Wed, 16 Jan 2002 10:58:04 +0000 (10:58 +0000)]
fix assertion

22 years agoFix idl_insert_key with USE_INDIRECT_NIDS, wasn't setting NIDS...
Howard Chu [Wed, 16 Jan 2002 09:58:11 +0000 (09:58 +0000)]
Fix idl_insert_key with USE_INDIRECT_NIDS, wasn't setting NIDS...

22 years agodon't auto-detect DCE form; assert the UTF-8 charlen is legal
Pierangelo Masarati [Wed, 16 Jan 2002 09:57:20 +0000 (09:57 +0000)]
don't auto-detect DCE form; assert the UTF-8 charlen is legal

22 years agoFix misplaced #if USE_INDIRECT_NIDS/cont_alloc in idl_delete_key
Howard Chu [Wed, 16 Jan 2002 07:39:00 +0000 (07:39 +0000)]
Fix misplaced #if USE_INDIRECT_NIDS/cont_alloc in idl_delete_key

22 years agoFix last commit
Kurt Zeilenga [Wed, 16 Jan 2002 05:44:21 +0000 (05:44 +0000)]
Fix last commit

22 years agomore cleanup
Kurt Zeilenga [Wed, 16 Jan 2002 04:40:41 +0000 (04:40 +0000)]
more cleanup

22 years agoRemove last uses of dn_validate()
Kurt Zeilenga [Wed, 16 Jan 2002 03:01:19 +0000 (03:01 +0000)]
Remove last uses of dn_validate()

22 years agoRemove unused deprecated DN routines.
Kurt Zeilenga [Wed, 16 Jan 2002 00:16:51 +0000 (00:16 +0000)]
Remove unused deprecated DN routines.
Only dn_validate, dn_normalize, and dn_parent remain (for now).

22 years agoRemove some asserts. Need to re-valid logic
Kurt Zeilenga [Tue, 15 Jan 2002 19:54:21 +0000 (19:54 +0000)]
Remove some asserts.  Need to re-valid logic

22 years agoSwitch the default backend to BDB.
Kurt Zeilenga [Tue, 15 Jan 2002 17:26:44 +0000 (17:26 +0000)]
Switch the default backend to BDB.

22 years agoremove lint
Kurt Zeilenga [Tue, 15 Jan 2002 17:18:18 +0000 (17:18 +0000)]
remove lint

22 years agoChange replace ACL semantics from U-Mich historical behavior.
Kurt Zeilenga [Tue, 15 Jan 2002 16:23:11 +0000 (16:23 +0000)]
Change replace ACL semantics from U-Mich historical behavior.
U-Mich allows someone with selfwrite to use replace all values
of an attribute with a value containing their DN.  Which, of course,
could than be deleted.  This behavior was carried forward in all
versions of OpenLDAP.

The new semantics separate checks for deleting all existing values
and adding new values.  It is more logical and more inline with
the common use of selfwrite.

22 years agoAdded some reference comments for ldap_utf8_charlen2
Howard Chu [Tue, 15 Jan 2002 09:01:44 +0000 (09:01 +0000)]
Added some reference comments for ldap_utf8_charlen2

22 years agoUse LDAP_UTF8_CHARLEN2 to check shortest possible encoding
Howard Chu [Tue, 15 Jan 2002 08:27:19 +0000 (08:27 +0000)]
Use LDAP_UTF8_CHARLEN2 to check shortest possible encoding

22 years agoAdded LDAP_UTF8_CHARLEN2() to validate shortest possible encoding
Howard Chu [Tue, 15 Jan 2002 08:07:46 +0000 (08:07 +0000)]
Added LDAP_UTF8_CHARLEN2() to validate shortest possible encoding
of UTF8 string. (Returns charlen if valid, 0 if not.)

22 years agoMisc. cleanup, remove lint, remove unused deprecated functions, etc.
Kurt Zeilenga [Tue, 15 Jan 2002 07:29:15 +0000 (07:29 +0000)]
Misc. cleanup, remove lint, remove unused deprecated functions, etc.

22 years agoA very basic UTF-8 check
Kurt Zeilenga [Tue, 15 Jan 2002 04:38:05 +0000 (04:38 +0000)]
A very basic UTF-8 check

22 years agoFix ldap_utf8_lentab to detect illegal two-byte sequences.
Howard Chu [Tue, 15 Jan 2002 03:31:37 +0000 (03:31 +0000)]
Fix ldap_utf8_lentab to detect illegal two-byte sequences.

22 years agorm noautosubtypes
Kurt Zeilenga [Tue, 15 Jan 2002 02:47:06 +0000 (02:47 +0000)]
rm noautosubtypes

22 years agoDeleted autosubtypes support.
Howard Chu [Tue, 15 Jan 2002 01:50:09 +0000 (01:50 +0000)]
Deleted autosubtypes support.

22 years agoRevert previous commit again. autosubtypes are gone for good.
Howard Chu [Tue, 15 Jan 2002 01:49:53 +0000 (01:49 +0000)]
Revert previous commit again. autosubtypes are gone for good.

22 years agoMore fixes for autosubtype index generation
Howard Chu [Mon, 14 Jan 2002 20:49:06 +0000 (20:49 +0000)]
More fixes for autosubtype index generation

22 years agoFix previous commit
Howard Chu [Mon, 14 Jan 2002 20:26:51 +0000 (20:26 +0000)]
Fix previous commit

22 years agoRevert previous commit
Howard Chu [Mon, 14 Jan 2002 20:13:25 +0000 (20:13 +0000)]
Revert previous commit

22 years agofix format
Pierangelo Masarati [Mon, 14 Jan 2002 19:48:09 +0000 (19:48 +0000)]
fix format

22 years agomake temporary RDN and AVA arrays rescalable if needed
Pierangelo Masarati [Mon, 14 Jan 2002 19:44:04 +0000 (19:44 +0000)]
make temporary RDN and AVA arrays rescalable if needed

22 years agofix typo
Pierangelo Masarati [Mon, 14 Jan 2002 19:42:59 +0000 (19:42 +0000)]
fix typo

22 years agoquick fix that in pretty mode escapes with hexpair the specials ',', '+' and '\'
Pierangelo Masarati [Mon, 14 Jan 2002 19:33:13 +0000 (19:33 +0000)]
quick fix that in pretty mode escapes with hexpair the specials ',', '+' and '\'

22 years agoAdd a default case with assert() just in case.
Kurt Zeilenga [Mon, 14 Jan 2002 17:25:13 +0000 (17:25 +0000)]
Add a default case with assert() just in case.

22 years agoITS#1530 no value replace ACL fix
Kurt Zeilenga [Mon, 14 Jan 2002 17:19:05 +0000 (17:19 +0000)]
ITS#1530 no value replace ACL fix

22 years agoIn DN_SUBTREE use idl_allids instead of explicit malloc.
Howard Chu [Mon, 14 Jan 2002 11:52:53 +0000 (11:52 +0000)]
In DN_SUBTREE use idl_allids instead of explicit malloc.

22 years agorevert previous commit: do accept '\00'
Pierangelo Masarati [Mon, 14 Jan 2002 11:09:14 +0000 (11:09 +0000)]
revert previous commit: do accept '\00'

22 years agoaccept '\<special>' anywhere in the string
Pierangelo Masarati [Mon, 14 Jan 2002 10:50:02 +0000 (10:50 +0000)]
accept '\<special>' anywhere in the string

22 years agoFix subtype indexing. Really really made it the default.
Howard Chu [Mon, 14 Jan 2002 10:37:08 +0000 (10:37 +0000)]
Fix subtype indexing. Really really made it the default.

22 years agofix behavior on improperly escaped illegal hexpair; do not accept '\00'
Pierangelo Masarati [Mon, 14 Jan 2002 09:56:54 +0000 (09:56 +0000)]
fix behavior on improperly escaped illegal hexpair; do not accept '\00'

22 years agoMisc cleanup
Kurt Zeilenga [Mon, 14 Jan 2002 03:42:24 +0000 (03:42 +0000)]
Misc cleanup

22 years agoRenamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
Howard Chu [Mon, 14 Jan 2002 01:43:17 +0000 (01:43 +0000)]
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
liblber:ber_bvarray_{add,free}.

22 years agoRenamed subdirectories to hide rm warnings
Howard Chu [Sun, 13 Jan 2002 23:52:17 +0000 (23:52 +0000)]
Renamed subdirectories to hide rm warnings

22 years agoModify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
Howard Chu [Sun, 13 Jan 2002 23:23:23 +0000 (23:23 +0000)]
Modify performance patch from Gertjan van Wingerde <gwingerde@home.nl>

22 years agoModify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
Howard Chu [Sun, 13 Jan 2002 23:21:03 +0000 (23:21 +0000)]
Modify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
with minor adjustments.

22 years agoTurn on BDB_IDL_MULTI by default
Howard Chu [Sun, 13 Jan 2002 22:26:29 +0000 (22:26 +0000)]
Turn on BDB_IDL_MULTI by default

22 years agoTurn on USE_INDIRECT_NIDS by default
Howard Chu [Sun, 13 Jan 2002 22:25:51 +0000 (22:25 +0000)]
Turn on USE_INDIRECT_NIDS by default

22 years agoUse supertype index
Kurt Zeilenga [Sun, 13 Jan 2002 20:49:10 +0000 (20:49 +0000)]
Use supertype index

22 years agoReally fix previous commit
Kurt Zeilenga [Sun, 13 Jan 2002 20:30:17 +0000 (20:30 +0000)]
Really fix previous commit

22 years agoFix compile error
Kurt Zeilenga [Sun, 13 Jan 2002 20:19:40 +0000 (20:19 +0000)]
Fix compile error

22 years agoClean up last patch
Kurt Zeilenga [Sun, 13 Jan 2002 20:06:53 +0000 (20:06 +0000)]
Clean up last patch

22 years agoInstall system schema checks
Kurt Zeilenga [Sun, 13 Jan 2002 19:38:12 +0000 (19:38 +0000)]
Install system schema checks

22 years agoZap connection_internal_*
Kurt Zeilenga [Sun, 13 Jan 2002 18:05:16 +0000 (18:05 +0000)]
Zap connection_internal_*

22 years agoFix mutex leak in previous commit
Howard Chu [Sun, 13 Jan 2002 17:17:29 +0000 (17:17 +0000)]
Fix mutex leak in previous commit

22 years agoChanged to use search callbacks instead of connection_internal_open
Howard Chu [Sun, 13 Jan 2002 17:12:43 +0000 (17:12 +0000)]
Changed to use search callbacks instead of connection_internal_open

22 years agoReworked callback layout, added send_search_entry callback
Howard Chu [Sun, 13 Jan 2002 16:40:37 +0000 (16:40 +0000)]
Reworked callback layout, added send_search_entry callback

22 years agoMore updates
Howard Chu [Sun, 13 Jan 2002 14:45:29 +0000 (14:45 +0000)]
More updates

22 years agoMinor updates, mention extended requests, server and client controls.
Howard Chu [Sun, 13 Jan 2002 12:55:55 +0000 (12:55 +0000)]
Minor updates, mention extended requests, server and client controls.
Please review and comment.

22 years agoMisc cleanup, lint removal, and minor optimizations
Kurt Zeilenga [Sun, 13 Jan 2002 05:00:59 +0000 (05:00 +0000)]
Misc cleanup, lint removal, and minor optimizations

22 years agoRewrote ber_get_next, fixed byte-order dependency on ber_tag and optimized
Howard Chu [Sun, 13 Jan 2002 03:00:45 +0000 (03:00 +0000)]
Rewrote ber_get_next, fixed byte-order dependency on ber_tag and optimized

22 years agoFix grammar errors
Kurt Zeilenga [Sun, 13 Jan 2002 02:56:36 +0000 (02:56 +0000)]
Fix grammar errors

22 years agoMinor updates
Kurt Zeilenga [Sun, 13 Jan 2002 02:54:30 +0000 (02:54 +0000)]
Minor updates

22 years agoconsistently use dn_match macro throughout slapd
Pierangelo Masarati [Sat, 12 Jan 2002 18:17:13 +0000 (18:17 +0000)]
consistently use dn_match macro throughout slapd

22 years agoFix SASL leak and clobber bug
Kurt Zeilenga [Sat, 12 Jan 2002 17:46:27 +0000 (17:46 +0000)]
Fix SASL leak and clobber bug
Fix TLS critical rev logic bug
Suggested fixes reported by Roman.Kagan@itep.ru

22 years agoclarify macro name: dn_match = 1 if match, 0 otherwise
Pierangelo Masarati [Sat, 12 Jan 2002 17:42:44 +0000 (17:42 +0000)]
clarify macro name: dn_match = 1 if match, 0 otherwise

22 years agosome memory handling cleanup: check that memory is freed by who allocated it, or...
Pierangelo Masarati [Sat, 12 Jan 2002 17:35:01 +0000 (17:35 +0000)]
some memory handling cleanup: check that memory is freed by who allocated it, or at least put a FIXME where not

22 years agocleanup
Pierangelo Masarati [Sat, 12 Jan 2002 16:11:40 +0000 (16:11 +0000)]
cleanup

22 years agocleanup and better dn handling
Pierangelo Masarati [Sat, 12 Jan 2002 16:04:15 +0000 (16:04 +0000)]
cleanup and better dn handling

22 years agoslap_strncopy function
Pierangelo Masarati [Sat, 12 Jan 2002 16:02:51 +0000 (16:02 +0000)]
slap_strncopy function

22 years agoerror message from be_entry_put tool backend function
Pierangelo Masarati [Sat, 12 Jan 2002 16:00:51 +0000 (16:00 +0000)]
error message from be_entry_put tool backend function

22 years agomonitor objectclass definition
Pierangelo Masarati [Sat, 12 Jan 2002 11:36:23 +0000 (11:36 +0000)]
monitor objectclass definition

22 years agoMisc updates to the todo list
Kurt Zeilenga [Sat, 12 Jan 2002 04:14:32 +0000 (04:14 +0000)]
Misc updates to the todo list

22 years agoMore cleanup in ldap_pvt_tls_destroy()
Howard Chu [Sat, 12 Jan 2002 02:31:41 +0000 (02:31 +0000)]
More cleanup in ldap_pvt_tls_destroy()

22 years agoFix ldap_start_tls_s, don't check for TLS present on a non-existent sockbuf
Howard Chu [Sat, 12 Jan 2002 02:25:22 +0000 (02:25 +0000)]
Fix ldap_start_tls_s, don't check for TLS present on a non-existent sockbuf

22 years agoFix struct initialization in ber_scanf() for ANSI C conformance
Howard Chu [Sat, 12 Jan 2002 02:23:04 +0000 (02:23 +0000)]
Fix struct initialization in ber_scanf() for ANSI C conformance

22 years agoAdd ITS#1508 fix to allow ACIs to grant anonymous users access.
Kurt Zeilenga [Fri, 11 Jan 2002 23:48:22 +0000 (23:48 +0000)]
Add ITS#1508 fix to allow ACIs to grant anonymous users access.

22 years agoAdditional system schema checks
Kurt Zeilenga [Fri, 11 Jan 2002 20:47:24 +0000 (20:47 +0000)]
Additional system schema checks

22 years agoAdd collective attribute system schema support.
Kurt Zeilenga [Fri, 11 Jan 2002 20:28:05 +0000 (20:28 +0000)]
Add collective attribute system schema support.

22 years agoMore system schema checks
Kurt Zeilenga [Fri, 11 Jan 2002 19:11:46 +0000 (19:11 +0000)]
More system schema checks

22 years agoAdd some basic system schema checks.
Kurt Zeilenga [Fri, 11 Jan 2002 18:56:01 +0000 (18:56 +0000)]
Add some basic system schema checks.

22 years agoAdd system schema flags to backends supporting system schema.
Kurt Zeilenga [Fri, 11 Jan 2002 18:26:17 +0000 (18:26 +0000)]
Add system schema flags to backends supporting system schema.

22 years agoRemove lint.
Kurt Zeilenga [Fri, 11 Jan 2002 18:03:28 +0000 (18:03 +0000)]
Remove lint.

22 years agoAdd Backend to system schema check routines
Kurt Zeilenga [Fri, 11 Jan 2002 18:00:22 +0000 (18:00 +0000)]
Add Backend to system schema check routines

22 years agoof course this is required by listener monitor
Pierangelo Masarati [Fri, 11 Jan 2002 11:48:46 +0000 (11:48 +0000)]
of course this is required by listener monitor

22 years agolistener monitor
Pierangelo Masarati [Fri, 11 Jan 2002 11:43:35 +0000 (11:43 +0000)]
listener monitor

22 years agoneed this outside for back monitor ...
Pierangelo Masarati [Fri, 11 Jan 2002 10:46:58 +0000 (10:46 +0000)]
need this outside for back monitor ...

22 years agoadded structural objectclass; reworked obejctclasses to use 'monitor' and 'extensible...
Pierangelo Masarati [Fri, 11 Jan 2002 10:27:58 +0000 (10:27 +0000)]
added structural objectclass; reworked obejctclasses to use 'monitor' and 'extensibleObject'; minor cleanup

22 years agoAdded test for backend glue. Tests using slapadd/ldapsearch then starts
Howard Chu [Fri, 11 Jan 2002 09:26:01 +0000 (09:26 +0000)]
Added test for backend glue. Tests using slapadd/ldapsearch then starts
over using ldapadd/ldapsearch. Order of results is significant, and
differs from order in data/test-ordered.ldif (thus data/test-glued.ldif
is needed.)

22 years agoAdded config and data files for testing backend glue
Howard Chu [Fri, 11 Jan 2002 09:23:31 +0000 (09:23 +0000)]
Added config and data files for testing backend glue

22 years agoFix loop in glue_tool_sync
Howard Chu [Fri, 11 Jan 2002 09:04:34 +0000 (09:04 +0000)]
Fix loop in glue_tool_sync

22 years agoCleanup lint
Howard Chu [Fri, 11 Jan 2002 06:56:24 +0000 (06:56 +0000)]
Cleanup lint

22 years agoFlip some bits in the backend flags mask
Kurt Zeilenga [Fri, 11 Jan 2002 02:31:47 +0000 (02:31 +0000)]
Flip some bits in the backend flags mask

22 years agoFix the bits
Kurt Zeilenga [Thu, 10 Jan 2002 22:54:24 +0000 (22:54 +0000)]
Fix the bits

22 years agoAdded a missing attribute: tokenGroupsGlobalAndUniversal. It exists
Jon Leichter [Thu, 10 Jan 2002 22:38:17 +0000 (22:38 +0000)]
Added a missing attribute: tokenGroupsGlobalAndUniversal. It exists
in Active Directory.

22 years agoRework backend (lastmod + glue + system schema) flags
Kurt Zeilenga [Thu, 10 Jan 2002 22:34:11 +0000 (22:34 +0000)]
Rework backend (lastmod + glue + system schema) flags

22 years agoreadahead is only needed on UDP, don't use it on TCP. (Save unneeded memcpy)
Howard Chu [Thu, 10 Jan 2002 22:00:17 +0000 (22:00 +0000)]
readahead is only needed on UDP, don't use it on TCP. (Save unneeded memcpy)

22 years agoFix str2anlist declaration, str is not const. (gets overwritten if
Howard Chu [Thu, 10 Jan 2002 20:25:23 +0000 (20:25 +0000)]
Fix str2anlist declaration, str is not const. (gets overwritten if
there is an error.)

22 years agofix for backend-dependent schema check
Pierangelo Masarati [Thu, 10 Jan 2002 20:12:25 +0000 (20:12 +0000)]
fix for backend-dependent schema check

22 years agoUse NULL for be parameter to entry_schema_check() for now.
Kurt Zeilenga [Thu, 10 Jan 2002 19:48:43 +0000 (19:48 +0000)]
Use NULL for be parameter to entry_schema_check() for now.

22 years agoAdd Backend argument to entry_schema_check() to support system schema
Kurt Zeilenga [Thu, 10 Jan 2002 19:37:03 +0000 (19:37 +0000)]
Add Backend argument to entry_schema_check() to support system schema
checks (in addition to user application schema checks).

22 years agoFix lint in previous commit
Howard Chu [Thu, 10 Jan 2002 18:55:13 +0000 (18:55 +0000)]
Fix lint in previous commit

22 years agoAdd start of subentry support... still need to sort out
Kurt Zeilenga [Thu, 10 Jan 2002 18:18:37 +0000 (18:18 +0000)]
Add start of subentry support... still need to sort out
administrativeRole restricts.

22 years agoRemove references to dead schema
Kurt Zeilenga [Thu, 10 Jan 2002 13:13:32 +0000 (13:13 +0000)]
Remove references to dead schema

22 years agoMention that objectClass names are valid in the attrs=<attrlist> clause.
Howard Chu [Thu, 10 Jan 2002 10:02:51 +0000 (10:02 +0000)]
Mention that objectClass names are valid in the attrs=<attrlist> clause.

22 years agoAdded an_oc to AttributeName for caching ObjectClass lookups.
Howard Chu [Thu, 10 Jan 2002 09:54:14 +0000 (09:54 +0000)]
Added an_oc to AttributeName for caching ObjectClass lookups.
Added error checking to str2anlist; if the attr name doesn't match
any attribute or objectclass the offending attr name is displayed.