Commit Graph

43 Commits

Author SHA1 Message Date
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
3dd5fb78b1 cosmetics 2004-02-05 01:29:18 +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
b5479c12e0 support ;binary 2002-09-28 00:10:21 +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
7b68d29ade try not to leak memory in case of parse error 2002-07-16 23:00:26 +00:00
leitner
d406931b14 say why authentication failed 2002-07-15 17:48:17 +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
7589c81061 experimental support for base64 encoded binary data 2002-07-08 20:57:42 +00:00
leitner
bd31d2568b More fixes from Thomas 2002-05-22 12:19:46 +00:00
leitner
5c8d2ac830 another very embarassing bug found by Thomas Walpuski 2002-05-17 15:55:56 +00:00
leitner
1d03b1e60f searchrequest scope handling (fixed by Thomas Walpuski)
add (primitive) auth support
2002-05-14 20:11:36 +00:00
leitner
57c79e45e6 add exist queries 2002-05-11 13:58:11 +00:00
leitner
35d5bd7e78 tinyldap would not find the last record in the database
switched to uint32_read instead of uint32_unpack.  Makes code much
  easier to read and reduces the number of variables in use.
2002-04-15 19:38:07 +00:00
leitner
51d65b5781 add case insensitive matching and dn normalizing in parse. 2002-04-15 14:34:20 +00:00
leitner
396357f2c8 make debug code disappear 2002-04-03 23:58:20 +00:00
leitner
0221bf98a9 add case sensitive matching 2002-04-03 23:53:12 +00:00
leitner
0b2a282ec0 begin work on modifyrequest parser 2002-04-03 13:44:15 +00:00
leitner
af04089fb8 fix substring filter formatting 2002-03-26 23:49:00 +00:00
leitner
3c1e9374a3 minor speed tweak 2002-03-26 17:07:21 +00:00
leitner
4792ff7c58 indexed substrings (prefixes only, for now), and untested AND and OR
support.
2002-03-26 15:51:53 +00:00
leitner
c76ee598c0 oops, the indexing code did much too much work 2002-03-25 23:56:34 +00:00
leitner
ec55f05ca0 Initial index query support 2002-03-25 23:46:34 +00:00
leitner
e8dc6efb36 remove large commented out code area
begin framework for using the index
2002-03-25 15:05:56 +00:00
leitner
46d79c5751 error handling 2002-03-24 03:16:07 +00:00
leitner
13258a3f89 external database representation 2002-03-24 03:08:04 +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
f486c4402a add standalone tinyldap version 2002-03-14 20:30:59 +00:00
leitner
0fbd732360 remove debug code again. 2002-01-28 02:34:59 +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
91d0157240 comment out some debug code (will need later) 2002-01-16 17:14:46 +00:00
leitner
5dcca888bc Milestone 1! openldap's ldapsearch will now accept an answer
from tinyldap!
2002-01-16 17:13:58 +00:00
leitner
2b2afddcee now tinyldap can answer to ldapclient! 2002-01-16 17:10:52 +00:00
leitner
fff699ae4e mhh, ldapsearch apparently does not like my bind response. :-( 2002-01-16 01:12:58 +00:00
leitner
da78511a26 tinydns now actually appears to answer a test question correctly! 2002-01-16 01:05:43 +00:00
leitner
dae713be6b integrate LDIF parsing and write a matching routine.
Make tinyldap call the matching routine.
2002-01-15 01:58:28 +00:00
leitner
81e6e9856a bindresponse is actually the same as ldapresult.
might as well rename it.
2002-01-15 00:30:39 +00:00
leitner
5413d2bdeb renamed a struct,
started ldapsearchresultentry formatter
fixed scan_ldapmessage to accept PRIMITIVE messages, too (unbind)
2002-01-14 21:23:33 +00:00
leitner
2d32361380 check in work in progress.
Please see README.
2002-01-14 16:14:31 +00:00