Commit Graph

34 Commits

Author SHA1 Message Date
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
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
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
05d388f122 add journal rereading
add DelRequest support
add little delete test tool ldapdelete
2008-04-20 06:59:11 +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
35f2b3b745 first shot at "addrequest" support 2007-06-28 22:17:33 +00:00
leitner
64eac4153f convert socket_tcp[46] to socket_tcp[46]b 2006-07-15 23:19:04 +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
6ed206616d fix stupid bug in ldapclient that caused entries to be printed twice 2005-06-13 01:10:44 +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
18108c0f2d make ldapclient output ldif 2005-03-30 20:53:21 +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
b9b3b03e02 better filter handling 2002-11-20 22:00:33 +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
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
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
c992e45561 ldapbindrequest with password created invalid packet
ldapclient only evaluated the first record
minor robustness fixes for tinyldap
2002-07-09 19:53:15 +00:00
leitner
5706ea2e53 many cleanups (forgotten includes) 2002-07-08 21:05:07 +00:00
leitner
8f9cd366f0 split fmt_ldapadl into fmt_ldapadl and fmt_ldapavl (the former is a
SEQUENCE used in search requests, the latter is a SET used in search
results)
2002-03-14 21:05:36 +00:00
leitner
1b12fea53d apply ldapclient diff by Özgür Kesim 2002-02-21 12:20:54 +00:00
leitner
e7d17909d7 add substring search stuff from Öc 2002-02-17 14:54:05 +00:00
leitner
e0a5cf85ee import patch from David Lichteblau and make scan_ldapsearchrequest work
again with the fixed code ;)
2002-01-28 02:34:21 +00:00
leitner
dd709ad020 rip printf from ldapclient, save another 3k 2002-01-16 19:46:51 +00:00
leitner
2b2afddcee now tinyldap can answer to ldapclient! 2002-01-16 17:10:52 +00:00
leitner
60ee9f82b1 make ldapclient print the search result 2002-01-16 16:05:38 +00:00
leitner
3f031d8339 make ldapclient more configurable over command line 2002-01-15 19:43:45 +00:00
leitner
4dfbff54a2 enhance ldapclient so it can actually formulate, encode and send search
request.
2002-01-15 18:36:47 +00:00
leitner
2d32361380 check in work in progress.
Please see README.
2002-01-14 16:14:31 +00:00