Commit Graph

196 Commits

Author SHA1 Message Date
leitner
1d3fbf91d8 oops, brain fart 2014-04-21 09:50:12 +00:00
leitner
babfbabaf9 reject non-minimally encoded integers 2014-04-19 10:46:59 +00:00
leitner
da36873b76 mmap_read now returns const char*, remove warnings
reject non-minimal encodings for lengths and tags
catch too-large-value overflows in tags
2014-04-15 20:40:01 +00:00
leitner
b8771d5957 add more constness 2013-10-20 15:32:31 +00:00
leitner
218df43e66 reload ACLs when reloading the data file 2013-09-16 18:43:59 +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
e0ee1b359d add rsa private key parsing 2011-05-12 13:13:10 +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
e90320f819 fix multibyte tag encoding 2010-03-24 01:13:24 +00:00
leitner
a216b19483 allow binding to a specific IP in tinyldap_standalone (via $IP env) 2010-01-20 20:31:00 +00:00
leitner
235a450026 unsigned long -> size_t 2009-08-26 13:47:52 +00:00
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