Kurt Zeilenga
9f8c9bf3a8
struct berval DN changes
2001-12-26 18:04:06 +00:00
Kurt Zeilenga
df9cc9da58
Fix typo
2001-12-26 17:51:07 +00:00
Kurt Zeilenga
d64ec6ee0d
modify be_referral to use struct berval DNs.
2001-12-26 17:40:34 +00:00
Kurt Zeilenga
139e78e35c
Remove lint.
2001-12-26 16:52:26 +00:00
Kurt Zeilenga
21288fbb21
Misc cleanup and dn_normalize() zapping
...
Fix nameAndOptionalIdentifer syntax.
2001-12-26 16:42:35 +00:00
Howard Chu
bbcb0f8a7f
Replace strcat with slap_strcopy
2001-12-26 16:25:18 +00:00
Howard Chu
d8979214fe
Removed obsolete dn_normalize calls
2001-12-26 16:24:18 +00:00
Howard Chu
71aff74f71
Use dnNormalize
2001-12-26 16:23:32 +00:00
Howard Chu
2a3dc7ab8f
Moved bdb_strcopy to slap_strcopy
2001-12-26 15:52:46 +00:00
Howard Chu
dae9473e08
Minor struct berval tweaks
2001-12-26 15:29:17 +00:00
Howard Chu
d0add35348
Changed get_limits to struct berval*
2001-12-26 15:28:01 +00:00
Howard Chu
3da3be8128
Precompute syn_oidlen and mr_oidlen
2001-12-26 14:36:02 +00:00
Howard Chu
15f630545a
Changed ma_rule_text to struct berval.
...
Changed get_filter to struct bervals
2001-12-26 13:47:10 +00:00
Howard Chu
327f253183
Add optional len to ber_str2bv
2001-12-26 13:45:22 +00:00
Howard Chu
a1460e74ce
Added ldap_xxx2bv schema functions
2001-12-26 12:31:44 +00:00
Howard Chu
d474789d0d
First pass at converting bind to struct bervals
2001-12-26 11:41:38 +00:00
Pierangelo Masarati
29ffe05902
more on attrs array from char* to berval*
2001-12-26 11:23:35 +00:00
Howard Chu
733056970e
Changed ber_bvdup to ber_dupbv with destination provided
2001-12-26 11:15:28 +00:00
Howard Chu
fb3af1ccbd
Merged ber_bvstr and ber_bvstrdup into ber_str2bv.
2001-12-26 10:06:19 +00:00
Howard Chu
d00fe773ae
Fix attrs handling
2001-12-26 09:19:57 +00:00
Howard Chu
e78a0930c8
Fix attrs handling
2001-12-26 08:49:27 +00:00
Howard Chu
ede3abc8c7
Changed search attrs to struct berval **.
...
Use typedefs for all backend functions, to minimize work in future API
updates. (back-*/external.h will never need updating in the future.)
2001-12-26 08:47:04 +00:00
Howard Chu
c7d7c6f18f
Added missing passwd_back_db_config.
2001-12-26 08:32:08 +00:00
Howard Chu
68b1bbb89d
Changed search attrs to struct berval **.
...
Use typedefs for all backend functions, to minimize work in future API
updates. (back-*/external.h will never need updating in the future.)
2001-12-26 08:17:44 +00:00
Howard Chu
65977a0f83
Migrate to dnNormalize
2001-12-26 06:21:23 +00:00
Howard Chu
34214776d1
Minor cleanup
2001-12-26 06:21:06 +00:00
Howard Chu
7685b237b7
Fix unterminated string in previous commit. dnNormalize ought to use an
...
ldap_bv2dn function instead of ldap_str2dn and honor the bv_len's...
2001-12-26 04:51:10 +00:00
Howard Chu
b96645af7d
More struct berval changes, dnNormalize migration...
2001-12-26 04:17:49 +00:00
Kurt Zeilenga
f555d36eb2
Minor cleanup
2001-12-25 20:02:13 +00:00
Kurt Zeilenga
dab28c8773
Fix typo
2001-12-25 19:53:59 +00:00
Kurt Zeilenga
2dd27b0786
More struct berval DNs
2001-12-25 19:48:26 +00:00
Kurt Zeilenga
7431cb9eee
FIx up replog calls, add replog call to bdb passwd
2001-12-25 18:20:35 +00:00
Kurt Zeilenga
e08a10b853
Have replog() use struct berval DNs
2001-12-25 04:09:09 +00:00
Kurt Zeilenga
c3323c31d5
Fix modrdn
2001-12-25 03:47:35 +00:00
Kurt Zeilenga
ae0a17fa4e
Adjust e_name.bv_len on modrdn
2001-12-25 03:03:03 +00:00
Kurt Zeilenga
3336619c80
More "char *" to struct berval DN changes
2001-12-25 02:30:01 +00:00
Kurt Zeilenga
5ee89d6167
Use struct berval DNs for root DN and update DN
2001-12-25 00:05:26 +00:00
Kurt Zeilenga
f443af5a57
Remove unneeded cheats. hyc found/fixed my bug (in slap.h)
2001-12-24 20:42:05 +00:00
Kurt Zeilenga
5ccff70aa3
update comment
...
make tests (0-4) now works! (w/ dnNormalize/dnMatch cheats)
2001-12-24 20:29:59 +00:00
Howard Chu
6654fffb3e
Fix SEGV when no newSuperior is specified
2001-12-24 20:27:00 +00:00
Kurt Zeilenga
5b49e1a9c5
This really should work... but it's no more broken than last commit
2001-12-24 20:20:29 +00:00
Howard Chu
a61b777cdc
Fix uninitialized struct berval* to avoid assert in dnNormalize
2001-12-24 20:12:30 +00:00
Kurt Zeilenga
b735ca3237
Add some cheats to dnNormalize and dnMatch to workaround
...
ava normalization issues.
2001-12-24 20:07:19 +00:00
Howard Chu
3df5c17881
Fix typo in e_ndn macro
2001-12-24 20:03:54 +00:00
Kurt Zeilenga
6441db83c0
Misc cleanup, but doesn't fix tests.
2001-12-24 19:21:42 +00:00
Pierangelo Masarati
5f28673792
hex escape everything requires escape (uncomment #define PRETTY_ESCAPE to revert to previous behavior)
2001-12-24 19:17:10 +00:00
Kurt Zeilenga
54e11f63e5
Missed a dnPretty ber_val NULL...
2001-12-24 18:53:33 +00:00
Pierangelo Masarati
cbe43a8540
more re-engineering; now rdn_attrs() and so are written in terms of ldap_str2rdn; some functions are deprecated
2001-12-24 18:42:51 +00:00
Pierangelo Masarati
e544300b05
back out previous change
2001-12-24 18:39:41 +00:00
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