Commit Graph

8596 Commits

Author SHA1 Message Date
Hallvard Furuseth
46e0ea292b Don't do arithmetic on void pointers. 2003-04-29 14:54:22 +00:00
Hallvard Furuseth
8a2bb1d1cc Declare lap_free_ctrls() and sl_mem_init(). 2003-04-29 14:53:05 +00:00
Hallvard Furuseth
b0b82abb3a #include "ldap_pvt.h", to get ldap_charray_free() and ldap_charray_add(). 2003-04-29 14:46:54 +00:00
Hallvard Furuseth
5b591b2a22 #include <lber.h>, to get ber_memalloc_x() and ber_memrealloc_x(). 2003-04-29 14:45:33 +00:00
Hallvard Furuseth
c898a56263 Cast away const. 2003-04-29 14:43:54 +00:00
Hallvard Furuseth
28e1a3c9da #include "ldap_pvt.h", to get ldap_pvt_tls_destroy().
Cast argument to isspace() to unsigned char.
2003-04-29 14:42:58 +00:00
Howard Chu
2931966ea5 Fix computed TRUE/FALSE filters 2003-04-29 05:58:28 +00:00
Howard Chu
169c7afcdf ITS#2453 - Handle computed filters, ignore Undefined filters. 2003-04-29 02:55:43 +00:00
Howard Chu
792e97790d Handle SLAPD_FILTER_COMPUTED cases 2003-04-29 00:42:54 +00:00
Kurt Zeilenga
a0bcff1630 generic first component matching routines
Need to add specific routines for schema attribute types
2003-04-28 04:41:47 +00:00
Kurt Zeilenga
c661a77268 axe suffixAlias 2003-04-26 23:52:28 +00:00
Luke Howard
231a7cacf6 Remove unused variables in slapi_filter_test() 2003-04-26 03:28:48 +00:00
Luke Howard
b0e2fd5a8b Don't crash in slapi_send_ldap_search_entry if no attributes specified 2003-04-26 03:28:12 +00:00
Howard Chu
b63bdc6513 Undo BDB const mucking 2003-04-25 13:14:33 +00:00
Howard Chu
e4f1c459c2 ITS#2464 don't strdup NULL DN 2003-04-25 12:44:19 +00:00
Howard Chu
deea8db4cd EBCDIC fix - ber_pvt_strcopy is now lutil_strcopy 2003-04-25 12:32:15 +00:00
Howard Chu
e0f0a40497 ITS#2467 NULL pointer check 2003-04-25 10:27:55 +00:00
Kurt Zeilenga
7bbc903201 fix up nvalues code so that pretty routines work properly
re-add objectClass pretty routines
2003-04-25 02:28:06 +00:00
Kurt Zeilenga
49a4ae59ba Need to pretty assertion values 2003-04-25 01:01:53 +00:00
Kurt Zeilenga
af5f617d2a cleanup 2003-04-25 00:14:54 +00:00
Kurt Zeilenga
519faf22c2 Backout last commit... needs more work 2003-04-24 23:46:12 +00:00
Kurt Zeilenga
3067954616 rework objectClass mucking to use syntax "pretty" routine
(be liberal in what you accept, strict in what you generate)
2003-04-24 23:40:55 +00:00
Kurt Zeilenga
a609f87eb6 remove lint 2003-04-24 23:15:59 +00:00
Kurt Zeilenga
26badc8174 Add some comments about DB_CONFIG 2003-04-24 16:22:46 +00:00
Kurt Zeilenga
79262c5703 Fix typo 2003-04-24 12:43:30 +00:00
Luke Howard
958942d8e3 Fix potential attr_merge_normalize() crasher 2003-04-24 11:14:57 +00:00
Luke Howard
375224128e More careful checking of AVA flags 2003-04-24 11:10:31 +00:00
Luke Howard
ad40330a86 Fix Active Directory canonical name breakage 2003-04-24 11:09:22 +00:00
Luke Howard
5178355d27 Fix another crasher in attr_merge_normalize_one() 2003-04-24 10:51:42 +00:00
Luke Howard
03fcb6526d Fix crasher in attr_merge_normalize_one() 2003-04-24 10:40:45 +00:00
Luke Howard
331e627541 When a validate function fails from within a tool, report the offending
attribute
2003-04-24 10:18:05 +00:00
Howard Chu
fded00210e Fix prev commit 2003-04-24 05:20:53 +00:00
Kurt Zeilenga
65ea6c23c2 New integer syntax / matching routines
A pretty function likely should be added "to be liberal in what we accept"
2003-04-24 05:16:06 +00:00
Howard Chu
a413bab19a Clean up prev commit 2003-04-24 04:20:17 +00:00
Howard Chu
b6111d793e Fix multi-byte tag parsing 2003-04-24 03:59:45 +00:00
Howard Chu
bcf7ab26e4 ITS#2465 fix? ber_get_next must read at least sizeof(tag)+sizeof(len)
which should be at most 8 bytes. However if we read more than the minimum
message length, we have a problem because we steal bytes from any following
message, and there is no buffer mechanism to push back excess data.
The shortest legitimate message is Unbind at 7 bytes, but there shouldn't
be anything following it. Abandon at 8 bytes is next, so always requesting
at least 8 bytes should be safe. Always requesting 9 was a problem.

Please double-check these assumptions...
2003-04-24 02:10:18 +00:00
Howard Chu
d14ff18d7f ITS#2458 fix array decoding 2003-04-24 01:37:01 +00:00
Kurt Zeilenga
d6f82a74c1 Rebuild configure scripts with --enable-hdb support
Add HDB to test suite
2003-04-23 16:50:56 +00:00
Jong Hyuk Choi
e9bd75ae9b ber, bv memory cleanup 2003-04-23 16:29:31 +00:00
Howard Chu
2b6f4ff7d0 Fix byte-ordering in bdb_dup_compare 2003-04-23 11:52:22 +00:00
Luke Howard
b1b8d9d651 slapi_dn_normalize() should pretty DN; slapi_dn_normalize_case() should normalize it
(appears to be correct based on iPlanet documentation)
2003-04-23 11:29:11 +00:00
Howard Chu
184f647b25 Change RDN compare funcs, we don't need lexical ordering 2003-04-23 10:26:06 +00:00
Luke Howard
4a51d2457a Use attr_merge_normalize() instead of attr_mergeit()
(Seems to me that attr_mergeit() can be deprecated in favour of the
former -- Howard?)
2003-04-23 09:50:41 +00:00
Howard Chu
83d95b5fc2 Added back-hdb 2003-04-23 09:13:24 +00:00
Howard Chu
02217c9183 Subtree rename support for the cache 2003-04-23 08:46:23 +00:00
Luke Howard
9e3e91e067 Allow search rewriter plugins to also set the search base, scope, and alias
dereference policy
2003-04-23 08:16:05 +00:00
Howard Chu
f4183f1598 Fix multiple inclusion 2003-04-23 07:25:44 +00:00
Luke Howard
ebe2c10994 Fix incorrect usage of slapi_ch_free() 2003-04-23 07:01:56 +00:00
Howard Chu
350b73c2d6 Added back-hdb. Contributed by Howard Chu @ Symas Corp. 2003-04-23 06:54:36 +00:00
Howard Chu
6f461690c1 Function renaming, make internal funcs static, etc. 2003-04-23 06:34:55 +00:00