Howard Chu
9355dca9af
Consolidated slap_callbacks into one function. Removed send_search_result.
2003-04-01 04:12:18 +00:00
Howard Chu
e8c58b4e7f
Major API change - (SLAP_OP_BLOCKS) All request parameters are
...
consolidated into the Operation structure. All reply parameters
are consolidated into the new SlapReply structure. Most operations
now have identical call signatures... Changes are not #ifdef'd,
revert to -r NO_SLAP_OP_BLOCKS if necessary to back out.
2003-03-30 09:03:54 +00:00
Howard Chu
99950e4fe4
Deleted BackendInfo->bi_acl_attribute, bi_acl_group.
...
Replaced with bi_entry_get_rw.
Implemented for back-bdb, back-ldbm, back-ldap.
2003-03-26 11:50:03 +00:00
Howard Chu
dfe3b4fb2f
SLAP_NVALUES - quick hack, just set a->a_nvals = a->a_vals. will need to
...
fix this if ACLs are expected to work on the local slapd.
2003-03-24 02:59:43 +00:00
Pierangelo Masarati
fc87692576
fix ITS#2362 and other leaks/unhandled massaged DN memory
2003-03-11 18:09:38 +00:00
Pierangelo Masarati
bf35f8e37f
improved filter mapping/rewrite; improved result rewriting; improved attribute/objectclass mapping configuration
2003-03-01 11:08:53 +00:00
Howard Chu
9f0598034e
Fix do/don't send result logic
2003-02-19 00:01:22 +00:00
Howard Chu
532eea87c9
Added passwd_exop, added matchedDN rewrite for results.
2003-02-16 09:22:44 +00:00
Howard Chu
0b6772492f
Use extended async APIs to allow direct parsing of results. Otherwise
...
they will be interleaved in LDAP*. Avoid setting any options on the handle.
2003-02-14 05:23:45 +00:00
Howard Chu
202cf8af75
Implemented connection pooling. Requires libldap_r to allow multiple threads
...
to access the same LDAP* handle.
2003-02-13 23:29:56 +00:00
Howard Chu
b228caa723
Revert previous, wasn't broken.
2003-02-13 23:19:51 +00:00
Howard Chu
568829d821
Fix uninit'd timeout value
2003-02-13 10:24:32 +00:00
Pierangelo Masarati
45f4e3602b
clean up mapping api
2003-01-27 16:39:56 +00:00
Pierangelo Masarati
a62249ed27
fix objectclass mapping (to nothing)
2003-01-27 16:07:10 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Pierangelo Masarati
59aea47963
improve limits handling and consistency; return "Admin limit exceeded" instead of "Unwilling to perform"
2002-11-21 12:58:59 +00:00
Pierangelo Masarati
a9c902a7ca
improve error messages
2002-11-10 18:16:43 +00:00
Pierangelo Masarati
b0dfd89e1b
added referral support to back-{ldap,meta}; need to allow send_serch_reference() handle NULL entry pointer
2002-08-31 10:35:23 +00:00
Pierangelo Masarati
7e2317c842
add server side controls to back-ldap and back-meta
2002-08-29 14:39:31 +00:00
Pierangelo Masarati
c4a8a3dce5
better error handling when returning results
2002-08-13 17:00:33 +00:00
Pierangelo Masarati
b063a50891
same as for back-meta
2002-08-10 14:25:41 +00:00
Kurt Zeilenga
838643d5ad
operationsError != Internal Error
...
hence, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/
2002-07-31 22:49:02 +00:00
Julius Enarusai
6107ba67d2
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
2002-07-11 20:33:24 +00:00
Howard Chu
640bc864fa
Use specific msg id instead of ANY to retrieve search results
2002-05-03 14:23:55 +00:00
Pierangelo Masarati
b9d74aba5f
broken berval after successful rewrite
2002-05-02 11:42:11 +00:00
Pierangelo Masarati
c030dbfefd
massage dn-valued attributes also when compiled without --enable-rewrite
2002-05-01 17:53:32 +00:00
Pierangelo Masarati
c1edf76e20
use BerVarray for suffix_massaging stuff
2002-05-01 17:45:03 +00:00
Pierangelo Masarati
d3058532c9
honor limits if below soft limit
2002-04-29 10:12:50 +00:00
Howard Chu
98df4006b1
ITS#1733 eliminate o_abandonmutex
2002-04-11 08:08:42 +00:00
Howard Chu
fd810bb35e
Silence a warning about ldap_debug
2002-02-11 09:38:49 +00:00
Howard Chu
ac1332cdb8
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
...
liblber:ber_bvarray_{add,free}.
2002-01-14 01:43:17 +00:00
Howard Chu
92481f7057
Modify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
2002-01-13 23:23:23 +00:00
Pierangelo Masarati
e89d7b1280
some memory handling cleanup: check that memory is freed by who allocated it, or at least put a FIXME where not
2002-01-12 17:35:01 +00:00
Howard Chu
ec46a2f33a
Use 'm' ber_scanf format where convenient
2002-01-06 06:11:01 +00:00
Pierangelo Masarati
e5beebd6a3
more cleanup
2002-01-05 18:31:38 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Pierangelo Masarati
847f0f5b8f
misc fix/improvements
2002-01-04 19:11:55 +00:00
Pierangelo Masarati
10352caec1
fix rewrite iteration
2002-01-04 17:51:46 +00:00
Howard Chu
05b2332caa
struct berval fixes, fix memory leak in ldap_send_entry
2002-01-04 00:49:34 +00:00
Pierangelo Masarati
3e230c7f91
trivial fixes
2002-01-03 16:28:21 +00:00
Howard Chu
bcdfdb968f
Changed AttributeName back into an array instead of a linked list.
...
Fixed bug in do_search eating up controls.
2002-01-03 05:38:26 +00:00
Pierangelo Masarati
09348fcd85
minor fixes
2002-01-02 17:56:48 +00:00
Howard Chu
f52cc9bab5
Change struct berval ** to BVarray
2002-01-02 11:00:36 +00:00
Howard Chu
743c402265
Changed search attrs from struct berval ** to AttributeName *
2001-12-31 11:35:52 +00:00
Pierangelo Masarati
6d046b1681
fix rewrite stuff
2001-12-29 14:18:31 +00:00
Howard Chu
975a5e9a24
Added dnPretty2/dnNormalize2 using preallocated destination berval
2001-12-29 04:48:00 +00:00
Howard Chu
6b413395fd
More struct beral conversion
2001-12-28 04:20:08 +00:00
Pierangelo Masarati
e2fdaed3c7
some char* to berval fixes
2001-12-26 20:47:41 +00:00
Howard Chu
d0add35348
Changed get_limits to struct berval*
2001-12-26 15:28:01 +00:00
Howard Chu
d00fe773ae
Fix attrs handling
2001-12-26 09:19:57 +00:00