Kurt Zeilenga
d047cc854e
Require the struct berval **out argument of dnPretty/dnNormalize
...
point to a NULL pointer, that is assert( *out == NULL ).
Eventually, we'll allow **out to point to a preallocated
struct berval (to avoid unnecessary allocation).
2001-12-24 18:38:20 +00:00
Kurt Zeilenga
d3d4bb9270
Fix up frontend side of modrdn. Need to rework backend side (especially
...
to adjust ber_lens as needed).
2001-12-24 18:02:49 +00:00
Howard Chu
3b8cf82517
Use e_nname.bv_len
2001-12-24 17:52:07 +00:00
Howard Chu
b4b948c37b
e_name.bv_len stuff in entry_decode
2001-12-24 17:37:22 +00:00
Pierangelo Masarati
f0c9590e68
comment for future optimization
2001-12-24 17:27:26 +00:00
Kurt Zeilenga
aac4f1caf5
Basic ename.bv_len work.
2001-12-24 17:24:18 +00:00
Pierangelo Masarati
7aedd4972d
trim spurious e_ndn also from back-meta
2001-12-24 17:24:07 +00:00
Howard Chu
6e3ec13e05
Avoid conflict with e_ndn macro
2001-12-24 17:06:46 +00:00
Kurt Zeilenga
fa30a46446
Fix DN struct berval issue
2001-12-24 17:01:08 +00:00
Kurt Zeilenga
f6085d3f82
Every quick mod to use a struct berval for e_dn/e_ndn. No bv_len yet.
2001-12-24 16:53:47 +00:00
Howard Chu
70194f9ad6
Changed suffix_alias() to use struct berval * in-place.
2001-12-24 16:29:18 +00:00
Pierangelo Masarati
7bf6ec940b
re-engineered some dn related functions with ldap_dn* functions; helpers should be used instead of deprecated functions in code
2001-12-24 15:48:35 +00:00
Pierangelo Masarati
4d981f7cc5
better rdn exploding
2001-12-24 15:47:06 +00:00
Howard Chu
9e0ab3da36
Changed Access->a_set_pat and acl->acl_dn_pat to struct berval to eliminate
...
strlen() from acl processing.
2001-12-24 15:43:27 +00:00
Howard Chu
18cd610f2d
op->o_ndn berval fixes for SLAPD_ACI_ENABLED
2001-12-24 15:18:02 +00:00
Howard Chu
2f3399265c
Changed sai_dn, sai_ndn to struct berval. (Affects op->o_dn,o_ndn,
...
conn->c_dn,c_ndn, Access->a_dn_pat)
2001-12-24 15:11:01 +00:00
Howard Chu
9969058a06
Fix typo in berval commit
2001-12-24 13:47:47 +00:00
Pierangelo Masarati
65fad45129
bug in explode dn (caused most test failures when requesting client-side sorted results)
2001-12-24 10:31:11 +00:00
Kurt Zeilenga
450e0d6803
Some minor bugs for dntest ""
2001-12-24 07:22:25 +00:00
Kurt Zeilenga
a2c6a98427
cannot assert la_private == NULL on free
2001-12-24 07:03:14 +00:00
Kurt Zeilenga
883196d348
Clean up some symbol scoping
2001-12-24 06:36:44 +00:00
Kurt Zeilenga
04ea760a91
Delete USE_LDAP_DN_PARSING
2001-12-24 06:02:59 +00:00
Kurt Zeilenga
d0abe6f59f
Misc DN cleanup, no functional changes
2001-12-24 06:00:02 +00:00
Kurt Zeilenga
e701812f27
Make note of deprecated DN routines. Need to write
...
"struct berval" versions
2001-12-24 04:39:15 +00:00
Kurt Zeilenga
914eba1207
Improve error message
2001-12-24 04:03:27 +00:00
Kurt Zeilenga
25b5aaf262
Delete ldap_build_filter(), it's broke.
...
Clean up headers.
2001-12-24 03:49:54 +00:00
Kurt Zeilenga
9d56c59d1b
Minor cleanup, rename ldapava_free_*() routines and
...
don't expose symbols of ava helper routines
2001-12-23 22:46:37 +00:00
Kurt Zeilenga
7a6e80cdcd
Zap dn_match(), cleanup up prototype header
2001-12-23 20:23:15 +00:00
Kurt Zeilenga
ab521f1e28
Minor cleanup
2001-12-23 20:20:15 +00:00
Pierangelo Masarati
dcc062dce5
least escaping in dnPretty (hope my wife doesn't catch me in front of the laptop :)
2001-12-23 09:26:44 +00:00
Pierangelo Masarati
6620bbff16
small bug exploited by malformed DCE format
2001-12-23 09:04:44 +00:00
Kurt Zeilenga
50d57151a7
Move dnValidate, dnNormalize, dnPretty to dn.c
2001-12-23 01:19:46 +00:00
Kurt Zeilenga
0c28b66a75
use dnPretty instead of dn_pretty
2001-12-23 00:43:57 +00:00
Kurt Zeilenga
a4a1325a6a
Update BER decoding of PDU to use "o" (struct berval) instead of
...
"a" (char **)... another step towards BerValue DNs.
2001-12-22 21:52:58 +00:00
Kurt Zeilenga
6c44ac070c
Zap man pages of deprecated routines
2001-12-22 20:51:27 +00:00
Kurt Zeilenga
29d5819729
Fix up builds
2001-12-22 20:17:19 +00:00
Kurt Zeilenga
a78053ecfa
Add a couple of FIXME comments
2001-12-22 19:21:32 +00:00
Pierangelo Masarati
de903b65c9
added operations and sent stats to back-monitor; minor cleanup
2001-12-22 19:14:10 +00:00
Stig Venaas
9705dcfcd6
Error in exclusion set macros
2001-12-22 17:17:52 +00:00
Pierangelo Masarati
7733169933
allegedly unnecessary selection of first database to return rootDSE or subschema entries; note that the same happens in access_allowed()
2001-12-22 14:25:54 +00:00
Pierangelo Masarati
328d38713a
better handling of on-the-fly operational attrs by means of helpers
2001-12-22 14:24:13 +00:00
Pierangelo Masarati
3824672c49
added hasSubordinates to back-monitor
2001-12-22 12:28:02 +00:00
Pierangelo Masarati
e36bde9180
added backend-side support for on-the-fly operational attributes; added hasSubordinates to schema and back-ldbm
2001-12-22 11:50:16 +00:00
Pierangelo Masarati
d71888c0aa
temporary variable erroneously inside #ifdef (ITS#1503)
2001-12-21 10:15:24 +00:00
Kurt Zeilenga
f021404b41
disallow bind_v2 is now default
2001-12-21 04:45:04 +00:00
Kurt Zeilenga
d23313a068
LDAPv2 disallow and other flag changes
...
Fix compile errors
2001-12-21 04:44:34 +00:00
Kurt Zeilenga
0845c0bf6f
zap tmplout
2001-12-21 04:38:36 +00:00
Kurt Zeilenga
80649933bd
Zap tmplout
2001-12-21 03:28:48 +00:00
Kurt Zeilenga
6ca3ed1b1e
Fix cache debugging (ITS#1501) based upon patch provided by
...
Will Day <willday@rom.oit.gatech.edu>.
2001-12-20 20:11:03 +00:00
Kurt Zeilenga
c84b2b5cfd
Req't documents should be born historic...
2001-12-20 18:21:55 +00:00