Commit Graph

141 Commits

Author SHA1 Message Date
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
leitner
8de25348e3 remove unused variable 2004-08-04 17:48:03 +00:00
leitner
4f2bfc0074 fix bug in fmt_ldapsearchfilter
free memory for requests we can't handle yet
2004-08-03 22:34:38 +00:00
leitner
dee7f4c9c1 fmt_ldapbindrequest returned too big a length 2004-07-05 21:45:18 +00:00
leitner
989695af67 fix several bugs 2004-03-12 23:21:24 +00:00
leitner
7bf8213396 fix substring matches (Zak Johnson) 2004-03-02 23:35:00 +00:00
leitner
fbc0865c50 FreeBSD compatibility (Dirk Meyer) 2004-02-26 17:26:30 +00:00
leitner
76344d0ee6 print some stats 2004-02-15 05:45:23 +00:00
leitner
0cad372ea0 rework parse so that it can process larger files. 2004-02-14 00:31:42 +00:00
leitner
a755f3154b move repeated temp alloca in parser into inline function to not exhaust
stack space
2004-02-05 02:12:27 +00:00
leitner
3dd5fb78b1 cosmetics 2004-02-05 01:29:18 +00:00
leitner
2cb40c89c0 error checking 2004-02-05 01:26:50 +00:00
leitner
b75fccc0a4 use ftruncate instead of lseek+write 2004-02-05 00:15:23 +00:00
leitner
ee32353df2 now the generated "data" file matches the old one
strlen -> str_len
2004-02-05 00:08:49 +00:00
leitner
723522bcaa fix offset 2004-02-05 00:02:52 +00:00
leitner
3c4e6bbf90 now we need to init the mstorage objects 2004-02-04 23:27:01 +00:00
leitner
59d2cdcab8 remove bogus extern 2004-02-04 23:14:37 +00:00
leitner
dcf0e428f5 extent mstorage API to include optional persistence 2004-02-04 23:13:37 +00:00
leitner
0a16128591 forgot to add one file ;) 2003-09-01 15:35:05 +00:00
leitner
73e9cf8902 add code to parse AddRequests (by Andreas Krennmair) 2003-09-01 15:34:34 +00:00
leitner
1dfc14fd99 Thomas Walpuski found and fixed a bug regarding error handling.
tinyldap index would return 0 as error indication, but 0 is also a valid
return code.  He changed error to -1.
2003-05-15 15:08:11 +00:00
leitner
4b6b20f995 add scan_asn1oid from Thomas Walpuski 2003-03-14 23:55:19 +00:00
leitner
b9b3b03e02 better filter handling 2002-11-20 22:00:33 +00:00