leitner
0baffda48f
int underflow in indexing code (thx Andreas Stührk)
2008-07-28 13:24:27 +00:00
leitner
a134707b07
disable nagle algorithm in ldapclient and server
...
add a benchmark mode to ldapbench that does not reconnect for each query
but does all the queries over the same connection.
2008-06-18 00:16:57 +00:00
leitner
7e2d134462
no acls, no write access
2008-04-20 07:19:46 +00:00
leitner
25ae04b54a
add normalize_dn
2008-04-20 07:15:02 +00:00
leitner
2f378d3b8a
add mduptab_reset
2008-04-20 07:14:40 +00:00
leitner
b40e2c8644
detect unsanctioned journal editing (and react by re-reading journal
...
from start)
2008-04-20 07:09:44 +00:00
leitner
05d388f122
add journal rereading
...
add DelRequest support
add little delete test tool ldapdelete
2008-04-20 06:59:11 +00:00
leitner
fcf6ed51f2
implement modifyrequest
...
rewrite bindrequest handling (reuse lookupdn)
update acl filter cache when bind succeeds
handle authenticating against a record in the journal
2007-11-01 00:43:29 +00:00
leitner
b941b8b4f4
fix subtle journal bug
2007-08-01 01:17:31 +00:00
leitner
8a456f57b8
fix off-by-one
2007-07-24 15:26:26 +00:00
leitner
766eee0f8e
remove gcc warning
2007-06-29 14:31:59 +00:00
leitner
b04b25a4a8
keep order of database and journal entries
2007-06-29 14:30:29 +00:00
leitner
539472eb56
fix warning
2007-06-28 22:57:54 +00:00
leitner
433e9257c4
fix a few warnings
2007-06-28 22:56:53 +00:00
leitner
0396c78805
hups
2007-06-28 22:53:24 +00:00
leitner
731f2b677d
use fmt_ldapescape2
2007-06-28 22:47:46 +00:00
leitner
7c745ecd83
unsigned long -> size_t
2007-06-28 22:31:14 +00:00
leitner
35f2b3b745
first shot at "addrequest" support
2007-06-28 22:17:33 +00:00
leitner
fefbe77ba0
work around gcc 4 bug (that optimizes away a security check)
2006-11-22 09:54:03 +00:00
leitner
90f7ea6bb5
Fix sizeLimit off-by-one (Marco Reichwald)
2006-09-16 19:53:48 +00:00
leitner
64eac4153f
convert socket_tcp[46] to socket_tcp[46]b
2006-07-15 23:19:04 +00:00
leitner
91db2bf04f
remove warning
2005-12-19 14:21:49 +00:00
leitner
aa5a3e16f2
whoops, broke something?
2005-12-07 01:43:45 +00:00
leitner
7a16e24794
Thomas Walpuski:
...
fix search requests with sizelimit
fix scan_ldapaddrequest
2005-10-27 11:54:56 +00:00
leitner
7966fa0c86
remove lots of gcc 4 warnings
2005-10-14 14:35:16 +00:00
leitner
043b02ede6
it's record numbers, not offsets
2005-10-13 18:40:00 +00:00
leitner
aee44036c5
case insensitive hashing also works
2005-10-13 16:55:10 +00:00
leitner
7376f0342c
add hash table index type
2005-10-13 16:51:44 +00:00
leitner
b4a257d0ad
remove a few warning, document planned hash index format
2005-10-12 20:03:03 +00:00
leitner
22ce7ce569
ldapclient can now be used as benchmark
...
link or rename the binary to "ldapbench" and pass the number of requests
in $NUM in the environment.
Also, a slight optimization in ldapclient (it now calls shutdown when it
wrote the search request)
2005-08-31 17:14:39 +00:00
leitner
a681de60fa
more todo
2005-08-27 23:01:46 +00:00
leitner
d01b19144f
ignore more files
2005-08-27 20:46:37 +00:00
leitner
40271f169a
experimental acl support
2005-08-27 20:45:44 +00:00
leitner
d232d9fd65
oops, forgot to commit
2005-08-11 12:20:56 +00:00
leitner
783126698f
ACL parsing appears to work, and a new test program called dumpacl can
...
dump them back out. Now we just need to check them when executing ldap
requests. *cough*
2005-07-15 23:04:23 +00:00
leitner
9c31097db5
stricter parser checking in scan_ldapsearchfilterstring
2005-07-13 14:23:45 +00:00
leitner
723c6b6777
fix stupid bug in fmt_ldapsearchfilter where the inner sum would be too
...
large if you formatted an AND of several substrings
2005-07-11 13:22:43 +00:00
leitner
41dea7e1e2
continue work on acl, still not ready
2005-07-08 23:13:17 +00:00
leitner
a2c437b31a
document index type 1 better
2005-07-08 21:55:21 +00:00
leitner
86bcdeb915
int -> unsigned int
2005-07-08 20:50:53 +00:00
leitner
7b412d42e4
int -> unsigned int
2005-07-08 20:34:19 +00:00
leitner
268e5be57a
work in progress
2005-07-08 20:32:18 +00:00
leitner
573df04139
honor size limit in ldap queries
2005-07-01 11:31:20 +00:00
leitner
300b692ad0
make scan_ldapsearchfilterstring terminate on syntax error
...
add index support for >= and <= queries
2005-06-13 06:38:21 +00:00
leitner
6ed206616d
fix stupid bug in ldapclient that caused entries to be printed twice
2005-06-13 01:10:44 +00:00
leitner
d526e16980
parse can now handle data that is larger than memory
...
(addindex still cannot)
2005-04-06 08:36:31 +00:00
leitner
5b980e3f93
ldapclient can now also query for no attributes
...
mstorage_add can now allocate larger chunks (and parse uses 1 MiB)
fix small oversight in addindex putting wrong index size in header
more integer overflow checks in asn1 code (not security relevant)
fix missing initialization in asn1 routines (not security relevant, code
section not triggered by ldap)
2005-04-01 21:53:33 +00:00
leitner
253865441b
change type 1 indices to be two tables of uint32 instead of one table of tuples
...
this ought to be more cache friendly
2005-04-01 20:35:22 +00:00
leitner
832cf1011e
also dump index size for comparison
2005-04-01 20:11:17 +00:00
leitner
78f1555c63
added type 1 indexes: also saves the record number in addition to the
...
offset of the attribute. Faster but also doubles the index size.
2005-04-01 20:09:38 +00:00