Commit Graph

163 Commits

Author SHA1 Message Date
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
leitner 7559449020 forgot to add 2005-04-01 18:45:54 +00:00
leitner 74ecd01f5a if client does not ask for any attributes, list 'em all 2005-04-01 10:59:17 +00:00
leitner 4b3919b269 add function to free search result entries (and use it in ldapclient) 2005-04-01 09:26:50 +00:00
leitner 01375185bf allow argv[1] to override "data" with tinyldap, so you can serve off a
different data basis
2005-04-01 07:16:37 +00:00
leitner de55828626 remove a few warnings 2005-03-31 18:06:23 +00:00
leitner 53c75f6f3e add trivial mysql2ldif program 2005-03-31 11:57:15 +00:00
leitner 18108c0f2d make ldapclient output ldif 2005-03-30 20:53:21 +00:00
leitner 6488c15e4b document authentication and passwords in README 2005-03-30 20:45:19 +00:00
leitner 00a43f2d52 also allow crypt(3) and plain text passwords for authentication 2005-03-30 13:07:41 +00:00
leitner 1aac2d9b43 same bug was also in matchcasestring 2005-03-18 08:10:45 +00:00
leitner 7a38b5864d foo <=> foobar connection was wrong 2005-03-17 10:37:51 +00:00
leitner d02823c5ab make valgrind happy (only triggered in debug messages) 2005-03-17 09:52:05 +00:00
leitner a0fc14fd4b allow zero-length attribute values
non-dietlibc md5 workaround (using openssl)
2005-03-17 09:46:02 +00:00
leitner c92b5180d7 EQUALS was actually UNEQUALS (WTF?!) 2005-03-16 15:47:01 +00:00
leitner 864895f714 minor updates (acls don't work yet) 2005-02-19 17:46:42 +00:00
leitner 243ee82cdb add simple acl parser (not yet integrated and no matcher so far) 2005-01-05 02:05:52 +00:00
leitner 188f25a4f6 fix filter example 2004-11-12 17:11:18 +00:00
leitner 9b68a30055 more detailed todo 2004-10-17 07:34:34 +00:00