]> git.sur5r.net Git - openldap/log
openldap
21 years agoTweak previous commit
Howard Chu [Fri, 31 Jan 2003 19:44:52 +0000 (19:44 +0000)]
Tweak previous commit

21 years agoFix subtree and matched search in back-hdb
Howard Chu [Fri, 31 Jan 2003 19:43:14 +0000 (19:43 +0000)]
Fix subtree and matched search in back-hdb

21 years agoFix for LDAP_SLAPI not def'd
Howard Chu [Fri, 31 Jan 2003 18:46:17 +0000 (18:46 +0000)]
Fix for LDAP_SLAPI not def'd

21 years agoDate PADL copyright notice
Luke Howard [Fri, 31 Jan 2003 01:06:30 +0000 (01:06 +0000)]
Date PADL copyright notice

21 years agocleanup
Pierangelo Masarati [Fri, 31 Jan 2003 00:02:51 +0000 (00:02 +0000)]
cleanup

21 years agoRemove FIXME stuff (ITS#2243)
Kurt Zeilenga [Thu, 30 Jan 2003 23:14:10 +0000 (23:14 +0000)]
Remove FIXME stuff (ITS#2243)

21 years agoFix includes for VPATH builds
Howard Chu [Thu, 30 Jan 2003 22:58:39 +0000 (22:58 +0000)]
Fix includes for VPATH builds

21 years agoChange lutil_detach() to not close the descriptors before dup2(), try to
Hallvard Furuseth [Thu, 30 Jan 2003 22:44:53 +0000 (22:44 +0000)]
Change lutil_detach() to not close the descriptors before dup2(), try to
open /dev/null and then / in read-only mode if opening /dev/null failed,
and skip the dup2()s as well if open() failed.

21 years agoDisallow multiple suffixes by default. Otherwise subtree index optimization
Howard Chu [Thu, 30 Jan 2003 22:00:16 +0000 (22:00 +0000)]
Disallow multiple suffixes by default. Otherwise subtree index optimization
breaks. #define BDB_MULTIPLE_SUFFIXES if you want multiple suffix support.
If you use it, subtree indexing will slow down by factor of 2.

21 years agodo not treat extensibleObject as special; add comment about referral
Pierangelo Masarati [Thu, 30 Jan 2003 21:21:20 +0000 (21:21 +0000)]
do not treat extensibleObject as special; add comment about referral

21 years agoITS#2285 string_expand for acl set
Howard Chu [Thu, 30 Jan 2003 20:59:47 +0000 (20:59 +0000)]
ITS#2285 string_expand for acl set

21 years agoCheck for slapi_filter_dup() success in nested filters
Luke Howard [Thu, 30 Jan 2003 13:07:18 +0000 (13:07 +0000)]
Check for slapi_filter_dup() success in nested filters

21 years agoTerminate f_sub_any array
Luke Howard [Thu, 30 Jan 2003 13:06:34 +0000 (13:06 +0000)]
Terminate f_sub_any array

21 years agoAdded slapi_filter_dup() API from Sun ONE DS 5.x
Luke Howard [Thu, 30 Jan 2003 13:04:36 +0000 (13:04 +0000)]
Added slapi_filter_dup() API from Sun ONE DS 5.x

21 years agoImplemented slapi_filter_apply() API
Luke Howard [Thu, 30 Jan 2003 12:24:53 +0000 (12:24 +0000)]
Implemented slapi_filter_apply() API

21 years agoAdded slapi_filter_apply() API from Sun ONE DS 5.x
Luke Howard [Thu, 30 Jan 2003 12:24:32 +0000 (12:24 +0000)]
Added slapi_filter_apply() API from Sun ONE DS 5.x

21 years agohide actual value/valueset
Pierangelo Masarati [Thu, 30 Jan 2003 09:54:56 +0000 (09:54 +0000)]
hide actual value/valueset

21 years agoFix ITS#2161, the check is meaningless anyway.
Howard Chu [Thu, 30 Jan 2003 00:28:36 +0000 (00:28 +0000)]
Fix ITS#2161, the check is meaningless anyway.

21 years agoEnsure that, when an entry is actually being added to the directory,
Luke Howard [Wed, 29 Jan 2003 22:43:19 +0000 (22:43 +0000)]
Ensure that, when an entry is actually being added to the directory,
the entry specified by SLAPI_ADD_ENTRY contains the attributes to be
added.

21 years agodoPostSearchPluginFNs() should return void for clarity; postoperation
Luke Howard [Wed, 29 Jan 2003 22:42:13 +0000 (22:42 +0000)]
doPostSearchPluginFNs() should return void for clarity; postoperation
plugins have no mechanism by which they may signal an error condition
to the client.

21 years agocleanup
Pierangelo Masarati [Wed, 29 Jan 2003 19:05:40 +0000 (19:05 +0000)]
cleanup

21 years agoallow special objectClasses to violate constraint (as suggested by Hallvard, who...
Pierangelo Masarati [Wed, 29 Jan 2003 18:01:15 +0000 (18:01 +0000)]
allow special objectClasses to violate constraint (as suggested by Hallvard, who needs aliases :)

21 years agobail out is now the default; use noSuchAttribute as error code, as suggested by Kurt
Pierangelo Masarati [Wed, 29 Jan 2003 17:01:04 +0000 (17:01 +0000)]
bail out is now the default; use noSuchAttribute as error code, as suggested by Kurt

21 years agocheck for RDN attrs/vals when adding an entry (ITS#2243; need to choose whether to...
Pierangelo Masarati [Wed, 29 Jan 2003 15:54:24 +0000 (15:54 +0000)]
check for RDN attrs/vals when adding an entry (ITS#2243; need to choose whether to bail out or to add the RDN attr/vals to the entry; FIXME: is constraintViolation a reasonable error?

21 years agosilence warning
Pierangelo Masarati [Mon, 27 Jan 2003 21:57:32 +0000 (21:57 +0000)]
silence warning

21 years agoslapi header cleanup
Pierangelo Masarati [Mon, 27 Jan 2003 21:53:23 +0000 (21:53 +0000)]
slapi header cleanup

21 years agosilence warning
Pierangelo Masarati [Mon, 27 Jan 2003 21:51:33 +0000 (21:51 +0000)]
silence warning

21 years agotrim unused var
Pierangelo Masarati [Mon, 27 Jan 2003 21:49:32 +0000 (21:49 +0000)]
trim unused var

21 years agoslapi header cleanup
Pierangelo Masarati [Mon, 27 Jan 2003 21:35:34 +0000 (21:35 +0000)]
slapi header cleanup

21 years agocleanup null mapping detection
Pierangelo Masarati [Mon, 27 Jan 2003 21:34:25 +0000 (21:34 +0000)]
cleanup null mapping detection

21 years agoLDAP cancel misc patch
Jong Hyuk Choi [Mon, 27 Jan 2003 17:08:51 +0000 (17:08 +0000)]
LDAP cancel misc patch

21 years agocleanup
Pierangelo Masarati [Mon, 27 Jan 2003 16:48:55 +0000 (16:48 +0000)]
cleanup

21 years agocleanup objectclass detection
Pierangelo Masarati [Mon, 27 Jan 2003 16:46:02 +0000 (16:46 +0000)]
cleanup objectclass detection

21 years agoclean up mapping api
Pierangelo Masarati [Mon, 27 Jan 2003 16:39:56 +0000 (16:39 +0000)]
clean up mapping api

21 years agobring in slapi_cl.h
Pierangelo Masarati [Mon, 27 Jan 2003 16:39:22 +0000 (16:39 +0000)]
bring in slapi_cl.h

21 years agofix objectclass mapping (to nothing)
Pierangelo Masarati [Mon, 27 Jan 2003 16:07:10 +0000 (16:07 +0000)]
fix objectclass mapping (to nothing)

21 years agoreworking of slapi headers
Pierangelo Masarati [Mon, 27 Jan 2003 14:44:39 +0000 (14:44 +0000)]
reworking of slapi headers

21 years agoEnsure that global plugins are called after backend-specific plugins
Luke Howard [Mon, 27 Jan 2003 13:15:21 +0000 (13:15 +0000)]
Ensure that global plugins are called after backend-specific plugins
(this was the intention of the existing code but it was buggy, and it
made sense to implement this logic inside getAllPluginFuncs() rather
than doPluginFNs() - not all plugin users call the latter)

21 years agomore Sun ONE DS 5.x harmonisation
Luke Howard [Sun, 26 Jan 2003 01:10:19 +0000 (01:10 +0000)]
more Sun ONE DS 5.x harmonisation

21 years agoFilter structure typo fix
Luke Howard [Sat, 25 Jan 2003 13:38:32 +0000 (13:38 +0000)]
Filter structure typo fix

21 years agoNew filter SLAPI
Luke Howard [Sat, 25 Jan 2003 13:36:28 +0000 (13:36 +0000)]
New filter SLAPI

21 years agoSun ONE DS 5.x filter harmonisation
Luke Howard [Sat, 25 Jan 2003 13:36:12 +0000 (13:36 +0000)]
Sun ONE DS 5.x filter harmonisation

21 years agoLDAP cancel operation
Jong Hyuk Choi [Sat, 25 Jan 2003 00:36:50 +0000 (00:36 +0000)]
LDAP cancel operation

21 years agoFix typo in comment.
Hallvard Furuseth [Fri, 24 Jan 2003 20:12:50 +0000 (20:12 +0000)]
Fix typo in comment.

21 years agoinclude ac/ headers
Pierangelo Masarati [Fri, 24 Jan 2003 12:33:12 +0000 (12:33 +0000)]
include ac/ headers

21 years agoGrammar cleanup
Luke Howard [Fri, 24 Jan 2003 11:56:27 +0000 (11:56 +0000)]
Grammar cleanup

21 years agoFix memory smasher in slapi_x_modifications2ldapmods()
Luke Howard [Fri, 24 Jan 2003 11:09:20 +0000 (11:09 +0000)]
Fix memory smasher in slapi_x_modifications2ldapmods()

21 years agoFix uninitialized sl_is_udp
Luke Howard [Fri, 24 Jan 2003 11:08:54 +0000 (11:08 +0000)]
Fix uninitialized sl_is_udp

21 years agoCheck for pPB == NULL (courtesy Pierangelo)
Luke Howard [Fri, 24 Jan 2003 10:29:24 +0000 (10:29 +0000)]
Check for pPB == NULL (courtesy Pierangelo)

21 years agosync with slapd/slapi/slapi_utils.h
Luke Howard [Fri, 24 Jan 2003 09:56:18 +0000 (09:56 +0000)]
sync with slapd/slapi/slapi_utils.h

21 years agoSupport slapi_entry_first_attr()/slapi_entry_next_attr() API
Luke Howard [Fri, 24 Jan 2003 09:23:06 +0000 (09:23 +0000)]
Support slapi_entry_first_attr()/slapi_entry_next_attr() API

21 years agoinclude unistd.h for F_LOCK
Luke Howard [Fri, 24 Jan 2003 09:08:43 +0000 (09:08 +0000)]
include unistd.h for F_LOCK

21 years agoMatching rule constants for future support
Luke Howard [Fri, 24 Jan 2003 09:00:18 +0000 (09:00 +0000)]
Matching rule constants for future support

21 years agosync with slapd/slapi/slapi.h
Luke Howard [Fri, 24 Jan 2003 08:52:14 +0000 (08:52 +0000)]
sync with slapd/slapi/slapi.h

21 years agoDon't free active thread list
Luke Howard [Fri, 24 Jan 2003 08:20:55 +0000 (08:20 +0000)]
Don't free active thread list

21 years agoFix filter iteration bug
Luke Howard [Fri, 24 Jan 2003 07:51:26 +0000 (07:51 +0000)]
Fix filter iteration bug

21 years agoPlug memory leak
Luke Howard [Fri, 24 Jan 2003 06:57:12 +0000 (06:57 +0000)]
Plug memory leak

21 years agoAdded ldap_pvt_thread_self() and ldap_pvt_thread_pool_context() API.
Luke Howard [Fri, 24 Jan 2003 06:49:13 +0000 (06:49 +0000)]
Added ldap_pvt_thread_self() and ldap_pvt_thread_pool_context() API.

21 years agos/ldap_pvt_thread_pool_getcontext/ldap_pvt_thread_pool_context
Luke Howard [Fri, 24 Jan 2003 06:41:06 +0000 (06:41 +0000)]
s/ldap_pvt_thread_pool_getcontext/ldap_pvt_thread_pool_context

21 years agofix typo
Luke Howard [Fri, 24 Jan 2003 05:57:20 +0000 (05:57 +0000)]
fix typo

21 years agoSync with slapd/slapi/slapi_utils.h
Luke Howard [Fri, 24 Jan 2003 05:56:47 +0000 (05:56 +0000)]
Sync with slapd/slapi/slapi_utils.h

21 years agoSupport Sun DS 5.x thread abstraction layer
Luke Howard [Fri, 24 Jan 2003 05:19:57 +0000 (05:19 +0000)]
Support Sun DS 5.x thread abstraction layer

21 years agoDelete redundant ch_free().
Howard Chu [Fri, 24 Jan 2003 04:26:04 +0000 (04:26 +0000)]
Delete redundant ch_free().

21 years agoHonour PermitModify control when adding or deleting values. This code needs
Luke Howard [Fri, 24 Jan 2003 01:43:09 +0000 (01:43 +0000)]
Honour PermitModify control when adding or deleting values. This code needs
review although, with the control disabled, it should not affect existing
code paths.

21 years agofix logging and uninitialized value warning
Pierangelo Masarati [Thu, 23 Jan 2003 22:55:01 +0000 (22:55 +0000)]
fix logging and uninitialized value warning

21 years agocleanup versioning
Pierangelo Masarati [Thu, 23 Jan 2003 22:45:17 +0000 (22:45 +0000)]
cleanup versioning

21 years agofix ITS#2289 (don't use shared data for search state; use msgid instead)
Pierangelo Masarati [Thu, 23 Jan 2003 22:07:33 +0000 (22:07 +0000)]
fix ITS#2289 (don't use shared data for search state; use msgid instead)

21 years agoTest PermitModify and NoReferrals controls (note that PermitModify is
Luke Howard [Thu, 23 Jan 2003 15:22:20 +0000 (15:22 +0000)]
Test PermitModify and NoReferrals controls (note that PermitModify is
ignored for the moment - will be fixed shortly)

21 years agoLDAPv3 over UDP disposition is now compatible with Active Directory
Luke Howard [Thu, 23 Jan 2003 15:12:53 +0000 (15:12 +0000)]
LDAPv3 over UDP disposition is now compatible with Active Directory
Stubs for PermitModify/NoReferrals controls; implementation coming soon

21 years agoPass normalized DN to select_backend()
Luke Howard [Thu, 23 Jan 2003 14:25:13 +0000 (14:25 +0000)]
Pass normalized DN to select_backend()

21 years agoAdded PermitModify/NoReferrals controls
Luke Howard [Thu, 23 Jan 2003 11:36:12 +0000 (11:36 +0000)]
Added PermitModify/NoReferrals controls

21 years agoReference slapi_search_internal() due to linker error -- need to fix this
Luke Howard [Thu, 23 Jan 2003 11:29:52 +0000 (11:29 +0000)]
Reference slapi_search_internal() due to linker error -- need to fix this
properly XXX

21 years agoInstall object type plugins
Luke Howard [Thu, 23 Jan 2003 09:22:32 +0000 (09:22 +0000)]
Install object type plugins

21 years agoAllow plugin to retrieve desired attribute list and state of manageDSAit control
Luke Howard [Thu, 23 Jan 2003 08:45:28 +0000 (08:45 +0000)]
Allow plugin to retrieve desired attribute list and state of manageDSAit control
Support search preop/rewrite/postop plugins for root DSE and subschema

21 years agoFix typo
Howard Chu [Thu, 23 Jan 2003 03:35:31 +0000 (03:35 +0000)]
Fix typo

21 years agoFix ITS#2280, reject sequences with invalid lengths
Howard Chu [Thu, 23 Jan 2003 02:19:59 +0000 (02:19 +0000)]
Fix ITS#2280, reject sequences with invalid lengths

21 years agoITS#2275: PROTOS ber_get_next() fix
Kurt Zeilenga [Wed, 22 Jan 2003 22:29:11 +0000 (22:29 +0000)]
ITS#2275: PROTOS ber_get_next() fix
Needs review!!!!

21 years agoReturn 0 or 1 from is_entry_*(), to kill 'signed vs. unsigned' warnings.
Hallvard Furuseth [Wed, 22 Jan 2003 22:01:21 +0000 (22:01 +0000)]
Return 0 or 1 from is_entry_*(), to kill 'signed vs. unsigned' warnings.

21 years agos/AUTHZ/BIND/ for consistency with other Statslog() messages
Kurt Zeilenga [Wed, 22 Jan 2003 21:37:04 +0000 (21:37 +0000)]
s/AUTHZ/BIND/ for consistency with other Statslog() messages

21 years agoSync with slapd/slapi
Luke Howard [Wed, 22 Jan 2003 15:48:22 +0000 (15:48 +0000)]
Sync with slapd/slapi

21 years agoClarification regarding compute search filter rewriting: only
Luke Howard [Wed, 22 Jan 2003 15:46:45 +0000 (15:46 +0000)]
Clarification regarding compute search filter rewriting: only
SLAPI_SEARCH_FILTER needs to be updated

21 years agoTo conform to the SLAPI spec, slapi_filter_get_ava() should not duplicate
Luke Howard [Wed, 22 Jan 2003 15:07:23 +0000 (15:07 +0000)]
To conform to the SLAPI spec, slapi_filter_get_ava() should not duplicate
for caller

21 years agoCheck for modified filter after calling search rewriter plugin
Luke Howard [Wed, 22 Jan 2003 14:57:35 +0000 (14:57 +0000)]
Check for modified filter after calling search rewriter plugin

21 years agoCall rewrite function after preop plugins (not before) - confirmed with Sun
Luke Howard [Wed, 22 Jan 2003 14:54:12 +0000 (14:54 +0000)]
Call rewrite function after preop plugins (not before) - confirmed with Sun

21 years agoUse ber_dupbv() to avoid crashing on binary values
Luke Howard [Wed, 22 Jan 2003 14:53:03 +0000 (14:53 +0000)]
Use ber_dupbv() to avoid crashing on binary values

21 years agoAdded some OpenLDAP extensions for determining ldapi:// sock/peername
Luke Howard [Wed, 22 Jan 2003 14:41:51 +0000 (14:41 +0000)]
Added some OpenLDAP extensions for determining ldapi:// sock/peername
and whether connection is UDP

21 years agoCall search rewriter callback before first preop search plugin
Luke Howard [Wed, 22 Jan 2003 13:51:27 +0000 (13:51 +0000)]
Call search rewriter callback before first preop search plugin

21 years agoSLAPI fixes (better documentation)
Luke Howard [Wed, 22 Jan 2003 13:38:38 +0000 (13:38 +0000)]
SLAPI fixes (better documentation)

21 years agoAlign with new SLAPI extensions in servers/slapd/slapi
Luke Howard [Wed, 22 Jan 2003 13:36:11 +0000 (13:36 +0000)]
Align with new SLAPI extensions in servers/slapd/slapi

21 years agoFirst pass at replacing proprietary OpenLDAP virtual attribute API
Luke Howard [Wed, 22 Jan 2003 13:06:46 +0000 (13:06 +0000)]
First pass at replacing proprietary OpenLDAP virtual attribute API
(which existed briefly for a day!) with Sun ONE DS 5.x computed
attribute API

21 years agoMore DS 5.x harmonisation
Luke Howard [Wed, 22 Jan 2003 10:00:27 +0000 (10:00 +0000)]
More DS 5.x harmonisation

21 years agoAdded slapi_entry_attr_get_charptr() API
Luke Howard [Wed, 22 Jan 2003 09:35:48 +0000 (09:35 +0000)]
Added slapi_entry_attr_get_charptr() API

21 years agoNew DS 5.x memory management API memory management API memory management API memory...
Luke Howard [Wed, 22 Jan 2003 09:30:47 +0000 (09:30 +0000)]
New DS 5.x memory management API memory management API memory management API memory management API

21 years agoAdded slapi_access_allowed() and slapi_acl_check_mods() API for Sun ONE
Luke Howard [Wed, 22 Jan 2003 09:00:06 +0000 (09:00 +0000)]
Added slapi_access_allowed() and slapi_acl_check_mods() API for Sun ONE
DS 5.x compat
This required exposing the mods array conversion functions so they
are now in slapi/slapi_utils.[ch]

21 years agoITS#2267: SASL empty cred fix
Kurt Zeilenga [Tue, 21 Jan 2003 17:31:55 +0000 (17:31 +0000)]
ITS#2267: SASL empty cred fix

21 years agoFixed crashed in slapi_value_free
Luke Howard [Tue, 21 Jan 2003 15:44:04 +0000 (15:44 +0000)]
Fixed crashed in slapi_value_free

21 years agoMake sure slapi_valueset_add_value() copies the input value
Luke Howard [Tue, 21 Jan 2003 15:32:43 +0000 (15:32 +0000)]
Make sure slapi_valueset_add_value() copies the input value

21 years agoEnsure AttributeDescriptions are initialized to NULL before calling slap_str2ad()
Luke Howard [Tue, 21 Jan 2003 15:24:28 +0000 (15:24 +0000)]
Ensure AttributeDescriptions are initialized to NULL before calling slap_str2ad()

21 years agoAllow coalesce pblock types.
Luke Howard [Tue, 21 Jan 2003 15:21:55 +0000 (15:21 +0000)]
Allow coalesce pblock types.
Take care with pblock values that need to be duplicated

21 years agoPut #endif in correct place when commenting out backend directive check
Luke Howard [Tue, 21 Jan 2003 15:14:07 +0000 (15:14 +0000)]
Put #endif in correct place when commenting out backend directive check
for plugins (now that global plugins are nominally supported)