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
Luke Howard
bdb3adca39
Fix SLAPI debug message typo
2003-04-23 05:00:00 +00:00
Howard Chu
5642e54117
Fix file: URL examples
2003-04-23 03:35:37 +00:00
Howard Chu
a58190e2b1
Fix missing slash in file: URL
2003-04-23 03:32:05 +00:00
Kurt Zeilenga
75998c4a61
Add CONTRIBUTING section to HEAD's README
2003-04-23 02:25:39 +00:00
Jong Hyuk Choi
203c2aad41
move ldap_get_message_ber() from ldap.h to ldap_pvt.h
2003-04-22 23:02:11 +00:00
Jong Hyuk Choi
fd3cf2b5ed
get_ldapmsg_ber() -> ldap_get_message_ber()
2003-04-22 22:09:25 +00:00
Jong Hyuk Choi
b67a3b9840
Misc cleanup - more to come.
2003-04-22 21:42:14 +00:00
Jong Hyuk Choi
759110255f
get_ldapmsg_ber() added.
2003-04-22 21:38:59 +00:00
Kurt Zeilenga
a6da45c9c7
Fix typo in last commit
2003-04-22 20:35:41 +00:00
Howard Chu
1745c2478d
Missed a bei_rdn in prev commit
2003-04-22 20:35:29 +00:00
Kurt Zeilenga
b9fe2c2fd6
Fix up subtreeSpecification to allow new GSER-based string format
...
(real validatator needed).
2003-04-22 20:33:08 +00:00
Jong Hyuk Choi
8e12768eed
subtreeSpecification syntax change : -binary +validator
2003-04-22 20:08:37 +00:00
Howard Chu
c7d3d42304
Omit bei_rdn field from EntryInfo
2003-04-22 18:59:37 +00:00
Howard Chu
7c39a5e726
filter_candidate tweaks, search_stack tweaks
2003-04-22 18:22:51 +00:00
Jong Hyuk Choi
f97a85db83
more cleanup for the backend API change
2003-04-22 17:59:54 +00:00
Howard Chu
68822b1e15
Trim dead BDB_HIER stuff
2003-04-22 17:06:35 +00:00
Howard Chu
c9f8d7accb
Fix args to bdb_cache_modrdn
2003-04-22 17:05:22 +00:00
Jong Hyuk Choi
4d6469f949
subentry cleanup
2003-04-22 17:00:04 +00:00
Howard Chu
1643145b03
Fix multi-line string literals. new GCC complains...
2003-04-22 16:06:29 +00:00
Howard Chu
0afba16b9b
Fix id2entry, let bdb_cache_release_all clean up EntryInfos
...
Fix idl_cache_put
2003-04-22 13:14:06 +00:00
Howard Chu
89127c93d0
Mem context tweaks for bdb_dn2idl
2003-04-22 06:29:13 +00:00
Howard Chu
ee1cddf6fd
Fix typo in prev commit
2003-04-22 05:15:50 +00:00
Howard Chu
bd871d710d
Moved IDL cache code to standalone functions.
...
Use IDL cache in bdb_dn2id_children.
2003-04-22 05:14:27 +00:00
Howard Chu
f0577fcb08
Pass parent EntryInfo instead of parent DN to dn2id_add/delete.
...
Add bdb_cache_children, remove cache flag manipulation from dn2id_children
2003-04-22 04:06:09 +00:00
Kurt Zeilenga
d7a326be26
Don't do (unsafe) DNS reverse lookups.
...
HEADS UP: May break some Kerberos deployments.
2003-04-22 01:17:23 +00:00
Kurt Zeilenga
cd66f42f90
cleanup
2003-04-21 19:01:08 +00:00
Kurt Zeilenga
8cc4866fa1
Assign experimental OID to syncReplCookie
2003-04-21 18:57:49 +00:00
Kurt Zeilenga
3f6a9a7e57
More ldap_connect_to_host() tweaks.
2003-04-21 18:45:46 +00:00
Howard Chu
d290145776
memory context tweaks
2003-04-21 18:28:38 +00:00
Kurt Zeilenga
ca52123a60
Fix builds when getaddrinfo is not detected but getnameinfo is.
...
This does not happen normally.
2003-04-21 18:28:08 +00:00
Howard Chu
e061628ff3
Fix previous commit
2003-04-21 18:09:44 +00:00
Kurt Zeilenga
978c94a223
ITS#2459 (partial) fix. Eliminate address parameter all together.
...
Need to look closely at the memcpy. (It likely can be eliminated
as well.)
2003-04-21 17:06:37 +00:00