Commit Graph

8607 Commits

Author SHA1 Message Date
Hallvard Furuseth
fca812e3aa Must have ';' between default: and '}' 2003-04-29 20:12:00 +00:00
Howard Chu
2c1b7e4e7c ITS#2474 default return value 2003-04-29 20:01:51 +00:00
Kurt Zeilenga
5cd994ed21 remove dnNormalize2
replace calls to dnNormalize2 with calls to dnNormalize
2003-04-29 18:28:14 +00:00
Kurt Zeilenga
eebc51b9bf remove dnPretty
rename dnPretty2 to dnPretty
2003-04-29 18:13:10 +00:00
Jong Hyuk Choi
77b58e69a5 tab cleanup 2003-04-29 17:55:26 +00:00
Hallvard Furuseth
778a38f49c Reduce warnings: Add missing 0 or NULL initializers for struct members. 2003-04-29 16:36:19 +00:00
Hallvard Furuseth
6d59c23c55 Make string parameter to ldap_charray_add() and ldap_charray_inlist() const. 2003-04-29 16:34:37 +00:00
Hallvard Furuseth
fa915adb5b Minor nroff tweaks. 2003-04-29 15:14:35 +00:00
Hallvard Furuseth
6387a3b6bf #include <ac/string.h>.
Print unsigned long with %lu, not %d.
2003-04-29 15:05:19 +00:00
Hallvard Furuseth
9d9ac9e4d9 #include <ac/string.h>, to get memset() and strlen(). 2003-04-29 15:02:01 +00:00
Hallvard Furuseth
51da53b4b0 Print long with %ld, not %d. 2003-04-29 14:55:36 +00:00
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