Howard Chu
fd810bb35e
Silence a warning about ldap_debug
2002-02-11 09:38:49 +00:00
Pierangelo Masarati
f83fd25872
as a temporary hack, return result without rewriting match
2002-01-22 08:17:02 +00:00
Howard Chu
44f0efb44f
Defined some ObjectClass->soc_flags values, changed is_entry_*objectclass
...
macros to use flags
2002-01-19 02:58:00 +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
fafce1601e
consistently use dn_match macro throughout slapd
2002-01-12 18:17:13 +00:00
Pierangelo Masarati
3bddc61a2a
clarify macro name: dn_match = 1 if match, 0 otherwise
2002-01-12 17:42:44 +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
Pierangelo Masarati
39a652d2de
cleanup and better dn handling
2002-01-12 16:04:15 +00:00
Howard Chu
ec46a2f33a
Use 'm' ber_scanf format where convenient
2002-01-06 06:11:01 +00:00
Howard Chu
ce7d8d26f2
Changed conn->c_cdn to struct berval.
2002-01-06 03:26:09 +00:00
Pierangelo Masarati
e5beebd6a3
more cleanup
2002-01-05 18:31:38 +00:00
Howard Chu
225fa32d8f
BVarray fixes for ldap_dnattr_rewrite
2002-01-05 11:41:23 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Pierangelo Masarati
b28c3953d4
more fixes/updates
2002-01-04 19:23:10 +00:00
Pierangelo Masarati
847f0f5b8f
misc fix/improvements
2002-01-04 19:11:55 +00:00
Pierangelo Masarati
cdc1e149ca
fix attribute mapping bug
2002-01-04 18:03:43 +00:00
Pierangelo Masarati
4f4f5dc93f
move mapping in a separate file
2002-01-04 18:01:56 +00:00
Pierangelo Masarati
10352caec1
fix rewrite iteration
2002-01-04 17:51:46 +00:00
Pierangelo Masarati
bd535be5cb
hide mapping initialization
2002-01-04 17:51:20 +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
Kurt Zeilenga
38d800637f
Use AC_MEMCPY instead of memcpy
...
Use sizeof instead of strlen
2002-01-02 16:58:37 +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
Howard Chu
185ff129b5
Change struct berval * to struct berval in various structures
2001-12-29 15:01:10 +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
7d63865e9f
group and attribute conversion to berval DN
2001-12-27 12:17:28 +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
d474789d0d
First pass at converting bind to struct bervals
2001-12-26 11:41:38 +00:00
Howard Chu
d00fe773ae
Fix attrs handling
2001-12-26 09:19:57 +00:00
Howard Chu
68b1bbb89d
Changed search attrs to struct berval **.
...
Use typedefs for all backend functions, to minimize work in future API
updates. (back-*/external.h will never need updating in the future.)
2001-12-26 08:17:44 +00:00
Kurt Zeilenga
2dd27b0786
More struct berval DNs
2001-12-25 19:48:26 +00:00
Howard Chu
6e3ec13e05
Avoid conflict with e_ndn macro
2001-12-24 17:06:46 +00:00
Howard Chu
2f3399265c
Changed sai_dn, sai_ndn to struct berval. (Affects op->o_dn,o_ndn,
...
conn->c_dn,c_ndn, Access->a_dn_pat)
2001-12-24 15:11:01 +00:00
Howard Chu
ef0b308bea
Changed backglue configuration. Added noSubordinates arg to select_backend
...
to deal with glued subordinates.
2001-12-10 12:09:40 +00:00
Howard Chu
0552b1c53f
NT updates from jon@symas.com.
2001-12-07 04:03:25 +00:00
Pierangelo Masarati
0f30fb0d8f
minor cleanup
2001-11-17 14:24:27 +00:00
Howard Chu
0bfaa8b4ae
Changed AttributeType.sat_cname from char * to struct berval.
...
(will fix up back-bdb next.)
2001-11-16 07:45:37 +00:00
Howard Chu
0e16f6acf9
Moved AttributeDescription caching into main code:
...
Changed AttributeDescription.{ad_cname,ad_lang} to struct berval everywhere
Deleted ad_free() everywhere
Added ad_mutex to init.c
The AttributeDescriptions are in a linked list hanging off of the
corresponding AttributeType.
2001-10-22 13:23:05 +00:00
Pierangelo Masarati
35c38e271d
use slap_str2undef_ad for unknown attributes
2001-10-03 18:17:08 +00:00
Pierangelo Masarati
1eb3f8b2e4
add limits stuff to back-ldap
2001-08-04 11:10:35 +00:00
Randy Kunkee
a9097044ea
Remove global_backendsyncfreq code (code has been pushed down into back-ldbm).
2001-06-28 18:02:46 +00:00
Randy Kunkee
d492880870
Add sync_daemon to daemon.c, enabled by global configuration
...
backendsyncfreq <seconds>. Setting this automatically enables
dbnosync (because the synchronizer takes care of it).
2001-06-22 08:38:58 +00:00
Pierangelo Masarati
5a2014b863
semicolon after colon in goto labels
2001-06-03 08:53:13 +00:00