Luke Howard
dfc7d338a6
Add sendreference callback
2003-02-01 07:04:13 +00:00
Howard Chu
6038e912dd
Fix statslog of big attr names
2003-01-31 20:38:25 +00:00
Howard Chu
945c9fb1c7
Tweak previous commit
2003-01-31 19:44:52 +00:00
Howard Chu
f838a4bb53
Fix subtree and matched search in back-hdb
2003-01-31 19:43:14 +00:00
Howard Chu
5e7655d68d
Fix for LDAP_SLAPI not def'd
2003-01-31 18:46:17 +00:00
Luke Howard
e212e59e28
Date PADL copyright notice
2003-01-31 01:06:30 +00:00
Pierangelo Masarati
e3dfb8e317
cleanup
2003-01-31 00:02:51 +00:00
Kurt Zeilenga
e6255466da
Remove FIXME stuff (ITS#2243)
2003-01-30 23:14:10 +00:00
Howard Chu
3250cc8d19
Fix includes for VPATH builds
2003-01-30 22:58:39 +00:00
Howard Chu
23c575805a
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.
2003-01-30 22:00:16 +00:00
Pierangelo Masarati
e3b9e0a565
do not treat extensibleObject as special; add comment about referral
2003-01-30 21:21:20 +00:00
Howard Chu
cbf7b063e3
ITS#2285 string_expand for acl set
2003-01-30 20:59:47 +00:00
Luke Howard
c464b299d8
Check for slapi_filter_dup() success in nested filters
2003-01-30 13:07:18 +00:00
Luke Howard
afc8ec976b
Terminate f_sub_any array
2003-01-30 13:06:34 +00:00
Luke Howard
1be73d766c
Added slapi_filter_dup() API from Sun ONE DS 5.x
2003-01-30 13:04:36 +00:00
Luke Howard
a0da326c97
Implemented slapi_filter_apply() API
2003-01-30 12:24:53 +00:00
Luke Howard
13c48d1f76
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.
2003-01-29 22:43:19 +00:00
Luke Howard
e86fe9ade8
doPostSearchPluginFNs() should return void for clarity; postoperation
...
plugins have no mechanism by which they may signal an error condition
to the client.
2003-01-29 22:42:13 +00:00
Pierangelo Masarati
4010870f62
cleanup
2003-01-29 19:05:40 +00:00
Pierangelo Masarati
ffc343a485
allow special objectClasses to violate constraint (as suggested by Hallvard, who needs aliases :)
2003-01-29 18:01:15 +00:00
Pierangelo Masarati
683c237a54
bail out is now the default; use noSuchAttribute as error code, as suggested by Kurt
2003-01-29 17:01:04 +00:00
Pierangelo Masarati
6b5611cbac
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?
2003-01-29 15:54:24 +00:00
Pierangelo Masarati
07ad8cefed
silence warning
2003-01-27 21:57:32 +00:00
Pierangelo Masarati
c3847a6136
slapi header cleanup
2003-01-27 21:53:23 +00:00
Pierangelo Masarati
e38e50646b
silence warning
2003-01-27 21:51:33 +00:00
Pierangelo Masarati
ffde204880
trim unused var
2003-01-27 21:49:32 +00:00
Pierangelo Masarati
49c1ba60b7
slapi header cleanup
2003-01-27 21:35:34 +00:00
Pierangelo Masarati
71e35141e1
cleanup null mapping detection
2003-01-27 21:34:25 +00:00
Jong Hyuk Choi
4f64bd9402
LDAP cancel misc patch
2003-01-27 17:08:51 +00:00
Pierangelo Masarati
57e0ac008c
cleanup
2003-01-27 16:48:55 +00:00
Pierangelo Masarati
985dc00b30
cleanup objectclass detection
2003-01-27 16:46:02 +00:00
Pierangelo Masarati
45f4e3602b
clean up mapping api
2003-01-27 16:39:56 +00:00
Pierangelo Masarati
c1f84b5031
bring in slapi_cl.h
2003-01-27 16:39:22 +00:00
Pierangelo Masarati
a62249ed27
fix objectclass mapping (to nothing)
2003-01-27 16:07:10 +00:00
Pierangelo Masarati
d1cc80694f
reworking of slapi headers
2003-01-27 14:44:39 +00:00
Luke Howard
7c41666c5e
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)
2003-01-27 13:15:21 +00:00
Luke Howard
f989cfddb9
more Sun ONE DS 5.x harmonisation
2003-01-26 01:10:19 +00:00
Luke Howard
3652613cd8
Sun ONE DS 5.x filter harmonisation
2003-01-25 13:36:12 +00:00
Jong Hyuk Choi
0c43007e55
LDAP cancel operation
2003-01-25 00:36:50 +00:00
Hallvard Furuseth
bf8bbc27fe
Fix typo in comment.
2003-01-24 20:12:50 +00:00
Pierangelo Masarati
a9cde92376
include ac/ headers
2003-01-24 12:33:12 +00:00
Luke Howard
9e6a9876b2
Grammar cleanup
2003-01-24 11:56:27 +00:00
Luke Howard
24e14748aa
Fix memory smasher in slapi_x_modifications2ldapmods()
2003-01-24 11:09:20 +00:00
Luke Howard
1e8fd55cfb
Fix uninitialized sl_is_udp
2003-01-24 11:08:54 +00:00
Luke Howard
498420dc26
Check for pPB == NULL (courtesy Pierangelo)
2003-01-24 10:29:24 +00:00
Luke Howard
fc55ee9edc
Support slapi_entry_first_attr()/slapi_entry_next_attr() API
2003-01-24 09:23:06 +00:00
Luke Howard
f709f86bed
include unistd.h for F_LOCK
2003-01-24 09:08:43 +00:00
Luke Howard
45289b09a7
Matching rule constants for future support
2003-01-24 09:00:18 +00:00
Luke Howard
a67c669583
Fix filter iteration bug
2003-01-24 07:51:26 +00:00
Luke Howard
66d38ab10a
Plug memory leak
2003-01-24 06:57:12 +00:00
Luke Howard
146c0085d3
s/ldap_pvt_thread_pool_getcontext/ldap_pvt_thread_pool_context
2003-01-24 06:41:06 +00:00
Luke Howard
562b7fb8d9
fix typo
2003-01-24 05:57:20 +00:00
Luke Howard
6a54a9db0f
Support Sun DS 5.x thread abstraction layer
2003-01-24 05:19:57 +00:00
Howard Chu
eb459f4339
Delete redundant ch_free().
2003-01-24 04:26:04 +00:00
Luke Howard
819d4093ae
Honour PermitModify control when adding or deleting values. This code needs
...
review although, with the control disabled, it should not affect existing
code paths.
2003-01-24 01:43:09 +00:00
Pierangelo Masarati
8d9629e1de
fix logging and uninitialized value warning
2003-01-23 22:55:01 +00:00
Pierangelo Masarati
5a771fcac0
cleanup versioning
2003-01-23 22:45:17 +00:00
Pierangelo Masarati
d8756a1c98
fix ITS#2289 (don't use shared data for search state; use msgid instead)
2003-01-23 22:07:33 +00:00
Luke Howard
7759f75d76
Test PermitModify and NoReferrals controls (note that PermitModify is
...
ignored for the moment - will be fixed shortly)
2003-01-23 15:22:20 +00:00
Luke Howard
eec370af52
LDAPv3 over UDP disposition is now compatible with Active Directory
...
Stubs for PermitModify/NoReferrals controls; implementation coming soon
2003-01-23 15:12:53 +00:00
Luke Howard
2c40905b77
Pass normalized DN to select_backend()
2003-01-23 14:25:13 +00:00
Luke Howard
8621f955b2
Reference slapi_search_internal() due to linker error -- need to fix this
...
properly XXX
2003-01-23 11:29:52 +00:00
Luke Howard
8c18022b41
Install object type plugins
2003-01-23 09:22:32 +00:00
Luke Howard
0650e6ad52
Allow plugin to retrieve desired attribute list and state of manageDSAit control
...
Support search preop/rewrite/postop plugins for root DSE and subschema
2003-01-23 08:45:28 +00:00
Hallvard Furuseth
e384faf927
Return 0 or 1 from is_entry_*(), to kill 'signed vs. unsigned' warnings.
2003-01-22 22:01:21 +00:00
Kurt Zeilenga
58bff46c7c
s/AUTHZ/BIND/ for consistency with other Statslog() messages
2003-01-22 21:37:04 +00:00
Luke Howard
12af6de4cf
Clarification regarding compute search filter rewriting: only
...
SLAPI_SEARCH_FILTER needs to be updated
2003-01-22 15:46:45 +00:00
Luke Howard
3dad7cae7b
To conform to the SLAPI spec, slapi_filter_get_ava() should not duplicate
...
for caller
2003-01-22 15:07:23 +00:00
Luke Howard
561ab80de0
Check for modified filter after calling search rewriter plugin
2003-01-22 14:57:35 +00:00
Luke Howard
2aeec166ff
Call rewrite function after preop plugins (not before) - confirmed with Sun
2003-01-22 14:54:12 +00:00
Luke Howard
5b4b062dba
Use ber_dupbv() to avoid crashing on binary values
2003-01-22 14:53:03 +00:00
Luke Howard
265261bf60
Added some OpenLDAP extensions for determining ldapi:// sock/peername
...
and whether connection is UDP
2003-01-22 14:41:51 +00:00
Luke Howard
214b79e740
Call search rewriter callback before first preop search plugin
2003-01-22 13:51:27 +00:00
Luke Howard
2bc4da9378
SLAPI fixes (better documentation)
2003-01-22 13:38:38 +00:00
Luke Howard
faf8d43a6f
First pass at replacing proprietary OpenLDAP virtual attribute API
...
(which existed briefly for a day!) with Sun ONE DS 5.x computed
attribute API
2003-01-22 13:06:46 +00:00
Luke Howard
c76d37313b
More DS 5.x harmonisation
2003-01-22 10:00:27 +00:00
Luke Howard
921d62c2ae
Added slapi_entry_attr_get_charptr() API
2003-01-22 09:35:48 +00:00
Luke Howard
2107a4c1b3
New DS 5.x memory management API memory management API memory management API memory management API
2003-01-22 09:30:47 +00:00
Luke Howard
293c765c11
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]
2003-01-22 09:00:06 +00:00
Luke Howard
fb22bdeb58
Fixed crashed in slapi_value_free
2003-01-21 15:44:04 +00:00
Luke Howard
4fbd922a09
Make sure slapi_valueset_add_value() copies the input value
2003-01-21 15:32:43 +00:00
Luke Howard
e26749d76b
Ensure AttributeDescriptions are initialized to NULL before calling slap_str2ad()
2003-01-21 15:24:28 +00:00
Luke Howard
6469f164a8
Allow coalesce pblock types.
...
Take care with pblock values that need to be duplicated
2003-01-21 15:21:55 +00:00
Luke Howard
7d5978b4aa
Put #endif in correct place when commenting out backend directive check
...
for plugins (now that global plugins are nominally supported)
2003-01-21 15:14:07 +00:00
Luke Howard
17b761cf96
Allow global plugins.
2003-01-21 15:11:35 +00:00
Luke Howard
1e32bdbd69
Allow plugins not associated with a specific backend
2003-01-21 15:09:58 +00:00
Luke Howard
5883b270b8
If no plugins are registered, have front-end silently ignore
2003-01-21 14:52:33 +00:00
Luke Howard
8dd11efd39
Don't crash if no backend
2003-01-21 14:44:51 +00:00
Luke Howard
8de6186e54
Added OpenLDAP-specific SLAPI for getting entry ID
2003-01-21 14:08:58 +00:00
Luke Howard
97b9eb2e55
Set opattr plugin-specific pblock parameters to NULL after coalescing
...
returned attributes
2003-01-21 14:06:22 +00:00
Luke Howard
0edb0803d2
Add support for virtual operational attribute plugin type
2003-01-21 14:00:25 +00:00
Luke Howard
f327941341
Reserve pblock IDs for opattr plugin
2003-01-21 13:51:53 +00:00
Luke Howard
053672c6c0
Added Slapi_AttrSet accessors in order to implement virtual operational
...
attribute plugin
2003-01-21 13:48:37 +00:00
Luke Howard
e09f30179b
First round of DS 5.x SLAPI functions
2003-01-21 12:16:53 +00:00
Luke Howard
f1fdb34fbe
Added slapi_attr_get_flags() and slapi_attr_flag_is_set() API for
...
Sun ONE harmonisation.
2003-01-21 10:12:08 +00:00
Luke Howard
6f26183f20
Confusingly, make SLAPI_OPERATION_AUTHTYPE return a pointer to
...
SLAPI_CONN_AUTHMETHOD. From my understanding of the Sun ONE API
this is the correct behaviour.
2003-01-21 09:50:59 +00:00
Luke Howard
68ed72e4c7
Return LDAP_PARAM_ERROR when NULL passed to internal SLAPI functions
2003-01-21 09:48:28 +00:00
Luke Howard
ff263ec6a7
Return LDAP_OTHER instead of LDAP_OPERATIONS_ERROR for internal SLAPI
...
failure
2003-01-21 09:42:26 +00:00
Luke Howard
4a9213f752
Distinguish between AUTHTYPE and AUTHMETHOD (latter is static storage)
...
for Sun ONE harmonisation
2003-01-21 09:39:56 +00:00
Luke Howard
30d946959e
Set SLAPI_BIND_CREDENTIALS for bind preoperation plugin
2003-01-21 08:35:48 +00:00