Commit Graph

365 Commits

Author SHA1 Message Date
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
45fbb173b7 Pass op to slap_mods_check() 2006-12-24 06:55:02 +00:00
Howard Chu
6020a6d81d ITS#4337 implement modrdn for back-config 2006-12-24 00:56:37 +00:00
Howard Chu
2a9afa55a7 Avoid unnecessary calls to oc_bvfind 2006-11-27 19:59:59 +00:00
Howard Chu
78172aa0cf Entry/Attribute struct caching, to minimize malloc fragmentation
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Kurt Zeilenga
d3e288dffe s/managedit/relax/
#unifdef -DSLAP_RELAX
2006-08-22 23:31:46 +00:00
Luke Howard
88b499b93d s/ber_tag_t/int where appropriate
Note about possible ITS#4158 breakage for SLAPI_CONN_DN
2006-06-12 08:40:39 +00:00
Luke Howard
e752b0b9af Don't call search rewriter plugins for internal operations 2006-06-11 10:10:32 +00:00
Luke Howard
0e5ff3dbd0 Add internal bind/unbind/search/compare/abandon plugin types 2006-06-11 09:54:15 +00:00
Luke Howard
60b25fb095 Add internal bind/unbind/search/compare/abandon plugin types 2006-06-11 09:47:54 +00:00
Luke Howard
71827d002d Add SLAPI_X_OPERATION_NO_SUBORDINATE_GLUE for exposing o_no_subordinate_glue 2006-06-11 06:50:53 +00:00
Luke Howard
1ebfd26ca3 Fix broken referral handling in slapi_send_ldap_result() 2006-06-11 06:49:58 +00:00
Luke Howard
60b9c90fad Fix typo when comparing local sock name 2006-06-10 07:37:06 +00:00
Luke Howard
2941bd8a9e Handle unknown attributes in SLAPI_SEARCH_ATTRS 2006-06-09 15:54:59 +00:00
Luke Howard
ea45b5b322 fix previous commit 2006-06-09 15:52:44 +00:00
Luke Howard
f4c5bddd9c Ignore unknown attributes in slapi_send_ldap_search_entry()
(mirrors code in slapi_pblock.c)
2006-06-09 15:42:33 +00:00
Howard Chu
58099cc045 coverity cleanup 2006-05-16 22:16:27 +00:00
Howard Chu
1135d19f16 ITS#4466 fix typo, uninit'd var 2006-05-16 22:16:13 +00:00
Luke Howard
51a65afb86 SLAPI_PLUGIN_{PRE,POST}_RESULT_FN should also be called for
REP_SASL and REP_EXTENDED in addition to REP_RESULT -- the
distinction is not present in FDS
2006-04-28 08:39:29 +00:00
Luke Howard
fa1f4d3c38 slapi_ch_bvdup() should be implemented in terms of ber_dupbv() 2006-03-01 16:29:31 +00:00
Luke Howard
cd18c6cb4d Fix slapi_valueset_count() for no value case 2006-02-27 05:21:11 +00:00
Luke Howard
8c674299bf Fix memory smasher in slapi_valueset_free() 2006-02-27 03:44:40 +00:00
Luke Howard
8a3e5eb1b8 Add SLAPI_OPERATION_MSGID
Add SLAPI_IS_INTERNAL_OPERATION
2006-02-20 09:30:28 +00:00
Luke Howard
ec023f9777 remove c_pb, it is no longer needed 2006-02-16 00:14:38 +00:00
Luke Howard
dab5803a59 Use bi_db_{open,close} to run SLAPI start/close plugins 2006-02-14 09:20:50 +00:00
Luke Howard
4954adb7c1 formatting cleanup 2006-02-10 07:40:23 +00:00
Luke Howard
0c0abfe917 slapi_filter_dup() can now use filter_dup() 2006-01-23 21:23:36 +00:00
Luke Howard
90a6c71d32 ITS#4291 2006-01-08 14:11:29 +00:00
Luke Howard
e60724422b ITS#4311 2006-01-08 14:07:19 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Luke Howard
3f6daa4680 Initialize sml_type
Don't clobber sml_type when converting SLAPI mods
2006-01-01 14:25:09 +00:00
Luke Howard
b6fffd1417 Add orr_modlist member to request structure, containing a list of
modifications to be applied by the backend atomically with a modify
RDN request.

Handle updating of RDN values in frontend.

Code that calls a backend's be_modrdn should call slap_modrdn2mods(op, rs)
before invoking the backend and cleanup with slap_mods_free( op->orr_modlist, 1 ).
See do_modrdn() for an example.
2006-01-01 09:23:24 +00:00
Luke Howard
dc166c08b8 Fix regression in SLAPI ACL plugins, call with frontendDB pblock 2005-12-24 17:15:13 +00:00
Luke Howard
d4c9c3b60e Use local SSF for internal SLAPI operations (probably need to do same
in connection_fake_init()) too)
2005-12-24 13:16:48 +00:00
Luke Howard
c723a77e1c Fix crasher in slapi_over_unmerge_controls() (if called from cleanup handler
where merge controls was not called)
2005-12-24 09:20:06 +00:00
Kurt Zeilenga
48cb85865d Remove some unnecessary #ifdefs 2005-11-26 07:38:18 +00:00
Pierangelo Masarati
cbdaf8058f silence warning 2005-11-10 00:33:19 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Luke Howard
06600b9a1d fix slapi_sdn_isempty() logic 2005-08-26 10:46:56 +00:00
Hallvard Furuseth
45d60c21dd slapi_rdn_set_<sdn/rdn>: Void functions, so return nothing - not even void. 2005-08-26 02:26:50 +00:00
Luke Howard
a99305da41 Allow slapi_sdn_get_parent() to work if only normalized DN is available 2005-08-24 05:11:58 +00:00
Luke Howard
53a15b6820 Use be_match() instead of testing pointer equivalence 2005-08-18 04:12:54 +00:00
Luke Howard
d174f6720a Add read-only SLAPI_X_ADD_STRUCTURAL_CLASS pblock extension.
This is necessary to compensate for a regression in the SLAPI
implementation since it moved to an overlay: global add preop
plugins no longer have access to operational attributes,
because slap_mods_opattrs() is called by fe_op_add(), invoked
after the global SLAPI overlay.

(Some of our plugins need to the structural object class of the
to-be-added entry.)

I suppose an option would be to have the SLAPI overlay
optimistically call slap_mods_opattrs() (as long as this can be
called idempotently). If there are any other ideas let me know.
2005-08-17 07:25:27 +00:00
Luke Howard
3647cba131 ITS#3924
Also, fix slapi_dn_parent() crasher
2005-08-09 05:28:58 +00:00
Pierangelo Masarati
eae2233d0c don't leak in case of attribute not found 2005-08-09 03:39:12 +00:00
Luke Howard
2e36d49a73 Fix slapi_str2entry()/slapi_entry2str() allocation 2005-08-09 02:56:21 +00:00
Luke Howard
6461a5b7fd ITS#3924 2005-08-09 02:12:18 +00:00
Hallvard Furuseth
3142c03e5a Fix typo in previous commit (slapi_dn.c -> slapi_dn.lo) 2005-08-08 14:30:34 +00:00
Luke Howard
d463430295 Remove slapi_x_be_select() 2005-08-08 13:26:02 +00:00
Luke Howard
d96f3615b3 New file - slapi_dn.c 2005-08-08 13:25:24 +00:00