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
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
12a684154c
remove warning
2002-09-28 00:13:51 +00:00
leitner
b5479c12e0
support ;binary
2002-09-28 00:10:21 +00:00
leitner
99c24e2efe
more irix cc friendliness
2002-09-07 11:49:19 +00:00
leitner
e57b1323f8
be more strict with signed/unsigned
2002-09-07 11:40:51 +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
b7f37ce357
oops, forgot to add one file
2002-08-31 00:00:11 +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
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
8714d36017
use base64 instead of hex dump
2002-05-14 20:26:20 +00:00
leitner
1d03b1e60f
searchrequest scope handling (fixed by Thomas Walpuski)
...
add (primitive) auth support
2002-05-14 20:11:36 +00:00
leitner
6c7c32c1d1
remove obsolete mail, cn and sn speed-up
2002-05-13 15:17:18 +00:00
leitner
7e80e0b036
correct stupid mistake in ldap_match_present, patch from Thomas Walpuski!
2002-05-11 17:47:55 +00:00
leitner
57c79e45e6
add exist queries
2002-05-11 13:58:11 +00:00
leitner
35ede33690
Thomas Walpuski sent a patch to scan Present search requests correctly
2002-05-11 13:04:43 +00:00
leitner
d7ae4234f9
Fix from Thomas Walpuski, forgot to count length of NOT subfilter...
...
Duh!
2002-05-07 21:43:33 +00:00
leitner
1445773429
Fix copy&paste error (found by Juergen Brauckmann)
2002-04-26 10:30:30 +00:00
leitner
d115174017
there is more to do
2002-04-23 09:54:40 +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