Commit Graph

12985 Commits

Author SHA1 Message Date
Luke Howard
65ac57bcac Plug leaks 2005-08-01 15:23:12 +00:00
Luke Howard
e70ab8655c Centralize SLAPI initialization into slapi_over_config() 2005-08-01 15:22:56 +00:00
Luke Howard
c2534a5ced Add SLAPI_X_MANAGEDIT, SLAPI_X_OPERATION_NO_SCHEMA_CHECK 2005-08-01 15:21:55 +00:00
Hallvard Furuseth
5949d65b57 Plug memory leak 2005-08-01 03:58:43 +00:00
Hallvard Furuseth
486bfe7e17 slap_mods2entry(,,,dup=1,,,) realloced insufficient space for attr->a_nvals 2005-08-01 03:56:36 +00:00
Hallvard Furuseth
f9e505727e Plug memory leaks - free() controls in LDAP* 2005-08-01 03:51:53 +00:00
Hallvard Furuseth
5c5a834db8 Handle LBER_SB_OPT_[GS]ET_FD arg as ber_socket_t like elsewhere, not as int. 2005-08-01 03:48:53 +00:00
Hallvard Furuseth
a286d07109 Plug memory leaks 2005-08-01 03:44:52 +00:00
Luke Howard
71d76fbeba slap_mods2entry() should not zero pointers into the modifications
list because checking is performed on these, rather than the entry.

slap_mods_free() now takes an extra argument indicating whether to
free the values or not.
2005-08-01 02:16:02 +00:00
Pierangelo Masarati
f6f6ecb4f3 fix previous commit (ITS#3905) 2005-07-31 23:15:08 +00:00
Hallvard Furuseth
e404a15082 Cleanup 2005-07-31 18:17:13 +00:00
Hallvard Furuseth
d49a477702 Cleanup 2005-07-31 18:05:51 +00:00
Luke Howard
2b5cf310e6 Fix slapi_dn_beparent() behaviour (again) 2005-07-31 14:17:36 +00:00
Luke Howard
f0101fe5a7 Fix slapi_dn_beparent() logic 2005-07-31 06:45:39 +00:00
Luke Howard
040a0956ac Support SLAPI_X_OPERATION_DELETE_GLUE_PARENT 2005-07-31 05:42:51 +00:00
Luke Howard
54945564cd Add SLAPI_X_OPERATION_DELETE_GLUE_PARENT 2005-07-31 05:41:03 +00:00
Luke Howard
1a2f3b5f2d Restore 2.2 SLAPI behaviour: target DN is not normalized
(actually, in 2.2 the target DN was not even prettied, but this
will do)
2005-07-31 05:23:56 +00:00
Luke Howard
d0ad4b3f3e Allow overlays to override operational attributes on add (needed
to preserve 2.2 SLAPI behaviour; see comments for further info)
2005-07-31 05:19:37 +00:00
Luke Howard
30610c6f70 Fix logic error in slap_mods2entry() 2005-07-31 05:12:20 +00:00
Luke Howard
40ec064b66 Fix logic error in slap_mods_no_repl_user_mod_check() 2005-07-31 05:04:37 +00:00
Luke Howard
6f0edd6c22 Call slap_mods2entry() in do_add(), so that global overlays (including
global SLAPI plugins) have access to op->ora_e.

Note that slap_mods2entry() is still called in fe_op_add() in order to
add any operational attributes.
2005-07-31 04:56:27 +00:00
Hallvard Furuseth
014393dfa2 Initialize a_flags of new Attribute in str2entry2(). 2005-07-30 23:54:00 +00:00
Hallvard Furuseth
42a9661071 Initialize i (#changes) if no mods. Simplify (*modp) to lmod. 2005-07-30 23:46:07 +00:00
Hallvard Furuseth
80275d382b Remove warning that HDB code is experimental and unsupported 2005-07-30 23:42:41 +00:00
Hallvard Furuseth
e1742d1cb4 Change diskNode.(n)rdn from unsigned char to char, matching their usage. 2005-07-30 23:39:44 +00:00
Hallvard Furuseth
20cde48439 Remove ";" after do{...}while(0) macros 2005-07-30 23:36:38 +00:00
Hallvard Furuseth
9601e1e7ec serialNumberAndIssuerPretty() and serialNumberAndIssuerNormalize()
were confused about realloced memory.
2005-07-30 23:30:42 +00:00
Pierangelo Masarati
5ff31144a7 cleanup 2005-07-30 16:26:25 +00:00
Pierangelo Masarati
d921f216ac fix referrals handling (needs work) 2005-07-30 16:25:18 +00:00
Pierangelo Masarati
d959d771bf support increment; don't bother too much about return values of send_search_* functions 2005-07-30 15:00:41 +00:00
Pierangelo Masarati
40badfc664 fix conditional compilation of config schema 2005-07-30 12:20:52 +00:00
Pierangelo Masarati
6fe8f5dd18 ...otherwise it doesn't work with overlays 2005-07-30 10:37:34 +00:00
Luke Howard
f5afe4fdc7 Back out previous commit, appears not to match frontend - still
investigating
2005-07-30 08:30:36 +00:00
Luke Howard
98e49eca60 slapi_add_internal_pb() should not set op->ora_e, this is done by frontend 2005-07-30 08:19:26 +00:00
Luke Howard
60e17c1fff Don't instantiate SLAPI overlay in tool mode 2005-07-29 16:45:25 +00:00
Howard Chu
be4e918799 Add note about core.ldif and openldap.ldif 2005-07-29 12:19:08 +00:00
Howard Chu
d982beeb87 Install LDIF schema files too 2005-07-29 12:09:39 +00:00
Howard Chu
53d94be203 Fix install-schema - move old schema dir out of the way, always install
a fresh copy of everything.
2005-07-29 12:06:12 +00:00
Pierangelo Masarati
f76e1055f8 treat extra args as errors 2005-07-29 09:01:44 +00:00
Luke Howard
658fdd2cf3 add LDAP_CONTROL_X_EXTENDED_DN 2005-07-29 08:43:29 +00:00
Howard Chu
a8447452df ITS#3875 change saslauthz* to authz*, etc.
Since this authz stuff is no longer specific to SASL it probably should
be moved into its own chapter. Not going to bother right now.
2005-07-29 03:58:58 +00:00
Howard Chu
023282b46f ITS#3823 minor cleanups / clarifications 2005-07-29 03:51:45 +00:00
Howard Chu
6ab5a5c554 ITS#3837 mention back-hdb 2005-07-29 03:43:14 +00:00
Howard Chu
79f7ff5773 TS#3816 fix -F typo, fix -T args 2005-07-29 03:34:03 +00:00
Howard Chu
a557c8c07d Mention the config database type 2005-07-29 03:29:51 +00:00
Howard Chu
9164a4790d ITS#3900 move olcDefaultSearchBase to frontend DB
expose config DB
2005-07-29 02:48:31 +00:00
Pierangelo Masarati
aace773cb6 more table-driven config cleanup 2005-07-29 01:00:48 +00:00
Pierangelo Masarati
7b1fae08c7 don't complain during EMIT 2005-07-28 18:25:43 +00:00
Pierangelo Masarati
614d936ef4 suffix must be present (ITS#3901) 2005-07-28 16:54:49 +00:00
Luke Howard
0582504893 Remember to NULL terminate control arrays - not sure how I managed to
make this error in multiple places
2005-07-28 09:56:55 +00:00