Commit Graph

76 Commits

Author SHA1 Message Date
leitner
187eda5860 support pipelining, requests > 8k
support modify requests on records in data (not the journal)
2023-01-18 12:18:01 +00:00
leitner
c52d6b8ad6 add clang static analyzer target in makefile
free hash table in addindex (not strictly necessary but shuts up memory leak false positives)
add openat to seccomp jail so glibc compiled tinyldap works, too
2018-09-02 10:49:05 +00:00
leitner
d6f4b0f66c add fmt_ldapaddrequest 2018-09-01 18:30:37 +00:00
leitner
d177cd15aa we used addreponse instead of modifyresponse opcode in response to
modify requests
2018-08-28 16:11:17 +00:00
leitner
09e54d86e0 add make pic 2018-08-24 12:01:02 +00:00
leitner
1d95650489 change #include to move foo.h to libowfat/foo.h (needs current libowfat now) 2017-04-21 16:23:38 +00:00
leitner
6ef84457cc fix two bugs in the indexing code found by Georg Lehner
silence if statement indentation warnings (gcc has become more picky)
2017-02-25 08:40:23 +00:00
leitner
0f622add7f start working on test suite 2015-05-08 04:33:04 +00:00
leitner
2479167b37 check in some experimental X.509 parsing code 2015-05-07 23:53:05 +00:00
leitner
46899d6ad1 fix make clean
fix acl matching in tinyldap
give ldapclient a way to do basic authentication
2013-09-16 18:35:04 +00:00
leitner
06871c8925 one of the off-by-one fixes was bad 2011-11-08 01:40:01 +00:00
leitner
d184c99cf9 add asn1dump and support more OIDs
expand fmt_asn1generic
2011-09-27 20:07:13 +00:00
leitner
c7f7465116 first shot at x.509 certificate parsing 2011-05-12 00:22:49 +00:00
leitner
dae3ea8024 add oid and bitstring parsing and formatting to "generic" format string
routines, test them in t10.c
2011-04-28 21:33:10 +00:00
leitner
e04ca78ff8 add "generic" format string based encoder and decoder (scan_asn1generic,
fmt_asn1generic, see t10.c for example usage)
add "generic" asn.1 dumper (in t10.c)
fix some read off-by-one errors, minor cleanups
add real OID support
add bitstring support
2011-04-28 19:50:11 +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
0396c78805 hups 2007-06-28 22:53:24 +00:00
leitner
35f2b3b745 first shot at "addrequest" support 2007-06-28 22:17:33 +00:00
leitner
aa5a3e16f2 whoops, broke something? 2005-12-07 01:43:45 +00:00
leitner
7966fa0c86 remove lots of gcc 4 warnings 2005-10-14 14:35:16 +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
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
41dea7e1e2 continue work on acl, still not ready 2005-07-08 23:13:17 +00:00
leitner
268e5be57a work in progress 2005-07-08 20:32:18 +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
4b3919b269 add function to free search result entries (and use it in ldapclient) 2005-04-01 09:26:50 +00:00
leitner
53c75f6f3e add trivial mysql2ldif program 2005-03-31 11:57:15 +00:00
leitner
a0fc14fd4b allow zero-length attribute values
non-dietlibc md5 workaround (using openssl)
2005-03-17 09:46:02 +00:00
leitner
989695af67 fix several bugs 2004-03-12 23:21:24 +00:00
leitner
fbc0865c50 FreeBSD compatibility (Dirk Meyer) 2004-02-26 17:26:30 +00:00
leitner
0cad372ea0 rework parse so that it can process larger files. 2004-02-14 00:31:42 +00:00
leitner
3dd5fb78b1 cosmetics 2004-02-05 01:29:18 +00:00
leitner
723522bcaa fix offset 2004-02-05 00:02:52 +00:00
leitner
dcf0e428f5 extent mstorage API to include optional persistence 2004-02-04 23:13:37 +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
0720597238 a bug fix and a parser for RFC-style LDAP search expressions.
Need to integrate them into ldapclient
2002-10-04 21:09:18 +00:00
leitner
e6eb6100ab be friendly to non-Linux non-gcc systems 2002-09-07 11:31:53 +00:00
leitner
b1960800b8 remove obsolete ldap_match (superseded by ldap_match_mapped a long time ago)
make mstorage_add compile on non-Linux
2002-09-07 11:16:14 +00:00
leitner
892bc1056b fix binary attributes based on code from Thomas Walpuski
fix ldapclient buffering
fix potential segfault in server error handling
2002-08-30 22:36:59 +00:00
leitner
3d02ee1154 fix PRESENT query formatter and allow ldapclient to query for PRESENT 2002-08-12 02:01:12 +00:00
leitner
91b279ea10 thoughts about how to integrate ACLs 2002-07-17 13:07:09 +00:00
leitner
7b68d29ade try not to leak memory in case of parse error 2002-07-16 23:00:26 +00:00
leitner
43f8f40837 add md5password (convert argv to md5 password string with base64 for ldif)
fix ldapclient to use all the arguments and cope with fused packets (one
read() returning the search result entry and the end marker).
Make ldif_parse() use strallocs (remove 8k limit on payloads)
2002-07-14 23:34:12 +00:00
leitner
7589c81061 experimental support for base64 encoded binary data 2002-07-08 20:57:42 +00:00
leitner
1d03b1e60f searchrequest scope handling (fixed by Thomas Walpuski)
add (primitive) auth support
2002-05-14 20:11:36 +00:00
leitner
6d2ae683bf add idx2ldif (dump data as ldif) 2002-04-15 18:43:50 +00:00
leitner
396357f2c8 make debug code disappear 2002-04-03 23:58:20 +00:00