Luke Howard
b55557e30b
Remove new_rdn/old_rdn - handled by frontend
2006-01-02 15:40:45 +00:00
Luke Howard
df2503d2b4
Remove new_rdn/old_rdn - handled by frontend now
2006-01-02 15:39:06 +00:00
Luke Howard
e7f164773e
Remove RDN checks/logging -- now done by frontend
2006-01-02 15:38:04 +00:00
Pierangelo Masarati
a119fe3df0
return the new password if the exop is performed by the database (ITS#4294)
2006-01-02 12:44:38 +00:00
Pierangelo Masarati
8e7e8c4d04
allow modules to register callbacks for dynamic data in root DSE
2006-01-02 08:57:56 +00:00
Pierangelo Masarati
fc358465d7
allow generic exops to slip thru
2006-01-02 08:19:35 +00:00
Pierangelo Masarati
9c7aca5b47
fix indentation
2006-01-02 08:18:29 +00:00
Luke Howard
3f6daa4680
Initialize sml_type
...
Don't clobber sml_type when converting SLAPI mods
2006-01-01 14:25:09 +00:00
Luke Howard
1c0f49dda3
Backout accidental private part of previous commit
2006-01-01 09:24:19 +00:00
Luke Howard
b6fffd1417
Add orr_modlist member to request structure, containing a list of
...
modifications to be applied by the backend atomically with a modify
RDN request.
Handle updating of RDN values in frontend.
Code that calls a backend's be_modrdn should call slap_modrdn2mods(op, rs)
before invoking the backend and cleanup with slap_mods_free( op->orr_modlist, 1 ).
See do_modrdn() for an example.
2006-01-01 09:23:24 +00:00
Pierangelo Masarati
eb734a167b
add severity-aware logging (ITS#4282)
2005-12-27 16:29:37 +00:00
Pierangelo Masarati
aecf0f4164
typos in comments (very pedantic...)
2005-12-26 17:00:12 +00:00
Pierangelo Masarati
0fa9578f48
handle when URIs are null
2005-12-26 16:55:50 +00:00
Luke Howard
dc166c08b8
Fix regression in SLAPI ACL plugins, call with frontendDB pblock
2005-12-24 17:15:13 +00:00
Luke Howard
cbf33d4fb1
Handle LDAP_MOD_INCREMENT in acl_check_modlist()
2005-12-24 16:02:15 +00:00
Luke Howard
d4c9c3b60e
Use local SSF for internal SLAPI operations (probably need to do same
...
in connection_fake_init()) too)
2005-12-24 13:16:48 +00:00
Luke Howard
ac64f4806b
Fix CLDAP regression
2005-12-24 11:00:28 +00:00
Luke Howard
d8647e5c07
Create SLAPI object extensions in connection_fake_init()
2005-12-24 10:59:46 +00:00
Luke Howard
c723a77e1c
Fix crasher in slapi_over_unmerge_controls() (if called from cleanup handler
...
where merge controls was not called)
2005-12-24 09:20:06 +00:00
Luke Howard
dcfd499eca
Set ors_slimit in slap_read_controls so that slap_send_search_entry()
...
check passes
2005-12-24 07:40:12 +00:00
Luke Howard
3ba381a862
Fix compile error when LDAP_CONNECTIONLESS is defined
2005-12-24 07:16:35 +00:00
Kurt Zeilenga
d1bc820b2f
fix ITS#4283/4 segfaults
2005-12-23 02:20:11 +00:00
Pierangelo Masarati
20dc92fe25
cleanup debug handling
2005-12-22 22:33:32 +00:00
Howard Chu
a48f7b6f93
ITS#4278 set ml->sml_type
2005-12-21 20:43:14 +00:00
Pierangelo Masarati
8d4418b044
fix handling of bind-timeout
2005-12-21 17:28:27 +00:00
Kurt Zeilenga
e50fc1833d
Add UUIDPretty
...
Likely should add UUID-named-entry test case to test026...
2005-12-20 23:25:44 +00:00
Kurt Zeilenga
439af9ec10
(Quick)fix UUID naming attributes
2005-12-20 22:36:51 +00:00
Pierangelo Masarati
8c2ceeb605
don't idassert anonymous unless explicitly configured (ITS#4272)
2005-12-20 20:43:14 +00:00
Pierangelo Masarati
8346de462b
silence warning
2005-12-20 20:36:05 +00:00
Pierangelo Masarati
4a86a767ab
more unparsing buffer overflow cleanup
2005-12-20 15:33:50 +00:00
Pierangelo Masarati
81bafb9935
fix potential overflow in syncrepl_unbind() and related helpers
2005-12-20 14:31:16 +00:00
Pierangelo Masarati
e2fb0213ed
note to developers
2005-12-20 14:03:04 +00:00
Pierangelo Masarati
46a88603dd
add more checks on input values
2005-12-20 13:07:38 +00:00
Howard Chu
e6f624b48a
ATTRSONLY doesn't take a value (ITS#4146, #4266 )
2005-12-20 12:18:01 +00:00
Pierangelo Masarati
3517bdf260
revert previous commit(s); clarify usage of "-s" in slapd(8).
2005-12-20 08:20:16 +00:00
Howard Chu
059257aeaf
cleanup db_close
2005-12-20 00:55:39 +00:00
Howard Chu
684c01ed1f
ITS#4259 revert prev commit, fixed in alock.c instead.
2005-12-20 00:48:15 +00:00
Howard Chu
28ed7a26a7
ITS#4259 ignore alock_close on zero slot
2005-12-20 00:46:51 +00:00
Howard Chu
5b7f102ad2
ITS#4259 don't try to alock_close if we never opened...
2005-12-20 00:44:05 +00:00
Howard Chu
4dbc76ebef
Fix ITS#4267, don't bother with unique_search if no relevant attributes
...
were modified. Also use tmpmem for the constructed filter.
2005-12-19 23:53:25 +00:00
Pierangelo Masarati
6650f07f50
allow (and use) symbolic names for syslog levels
2005-12-19 22:55:30 +00:00
Pierangelo Masarati
0c75d26060
make the message one-line
2005-12-17 00:41:17 +00:00
Pierangelo Masarati
5b26601fd0
fix syslog level parsing
2005-12-17 00:40:46 +00:00
Pierangelo Masarati
7941652ed4
do exactly what requested
2005-12-16 22:27:57 +00:00
Pierangelo Masarati
ce3c024557
slapdn calls shutdown without startup
2005-12-16 22:24:53 +00:00
Pierangelo Masarati
9f2e86c8e3
cleanup error logging
2005-12-16 19:01:05 +00:00
Pierangelo Masarati
9e3a22bf4a
always provide a NULL o_private to be_entry_get (ITS#4184)
2005-12-16 18:35:25 +00:00
Pierangelo Masarati
96dd70da28
fix memory handling
2005-12-16 16:19:17 +00:00
Pierangelo Masarati
b984e616c3
remove support for control as the operation is now incompatible
2005-12-16 15:01:59 +00:00
Kurt Zeilenga
a6127452f5
restrict assertion control to appropriate requests
2005-12-16 14:26:14 +00:00
Pierangelo Masarati
1c523e3548
anticipate sr_err/sr_ref cross-check, so that the right error gets logged
2005-12-16 11:33:11 +00:00
Pierangelo Masarati
266c6ad1ea
plug one-time leaks; misc cleanup
2005-12-16 01:58:36 +00:00
Pierangelo Masarati
e841c3b73b
reset bi_attrs after reindexing (ITS#4260)
2005-12-16 00:44:13 +00:00
Pierangelo Masarati
53d41587ad
__should__ fix ITS#4262; please review
2005-12-16 00:04:51 +00:00
Pierangelo Masarati
e788a5c380
first part of fix to ITS#4262
2005-12-15 23:46:23 +00:00
Howard Chu
8a9761bc3f
ITS#4238 don't hide syncrepl control from rootDSE
2005-12-15 23:05:12 +00:00
Howard Chu
dd3d53fd85
Fix ITS#4263
2005-12-15 22:52:31 +00:00
Pierangelo Masarati
9df97ba114
use macros to handle retry
2005-12-15 19:14:54 +00:00
Pierangelo Masarati
76a089086b
forgot binds
2005-12-15 17:54:13 +00:00
Pierangelo Masarati
d86a46cc33
shortcut to allow restricting all operations
2005-12-15 17:46:37 +00:00
Pierangelo Masarati
93e8395e30
log what is being modified
2005-12-15 17:45:31 +00:00
Pierangelo Masarati
4538422dc9
better handling of internal operations
2005-12-15 13:47:25 +00:00
Pierangelo Masarati
f0ee55c9df
fix filter generation (back-ldap uses string form)
2005-12-15 13:07:56 +00:00
Pierangelo Masarati
62d4ae9058
a back-ldap consumer segfaults when accessing members of conn...
2005-12-15 11:55:46 +00:00
Pierangelo Masarati
430aff35bb
assume operations with version set to 0 are internal, and use LDAPv3
2005-12-15 11:39:46 +00:00
Pierangelo Masarati
fcda57e90f
use macros instead of numbers...
2005-12-13 20:11:26 +00:00
Pierangelo Masarati
bd975514de
add (and document) customizable bind-timeout
2005-12-12 15:57:58 +00:00
Pierangelo Masarati
361a97108b
minor cleanup
2005-12-12 14:33:34 +00:00
Pierangelo Masarati
e113e18bb6
more about sizelimit disclose issue in back-meta (ITS#4213)
2005-12-11 23:39:09 +00:00
Pierangelo Masarati
8687dace5b
allow per-replogfile pid/args file & replication interval (ITS#3523)
2005-12-10 12:25:27 +00:00
Pierangelo Masarati
93d0ef91e6
allow parsing of numbers in whatever base (ITS#4257)
2005-12-09 18:11:07 +00:00
Pierangelo Masarati
da03eb0390
normalize value in "exact" attrval clause (ITS#4255)
2005-12-09 10:33:01 +00:00
Pierangelo Masarati
335633d9eb
add comment
2005-12-09 10:31:41 +00:00
Howard Chu
3d4eeba5d1
Fix ITS#4133, reset subtree search req_dn
2005-12-09 02:08:08 +00:00
Howard Chu
b81ed2c106
Fix ITS#4084, onelevel searches cannot return NO_SUCH_OBJECT if the base
...
was already found.
2005-12-09 01:20:05 +00:00
Howard Chu
553b2884ab
cache LRU concurrency improvements, reorder DB accesses for consistency
2005-12-09 00:20:18 +00:00
Howard Chu
3e062a3f35
ITS#4254 fix lock ordering
2005-12-08 23:45:47 +00:00
Pierangelo Masarati
1b42fde372
implement (per-target) per-conn proxy-side idle-timeout (ITS#4115); revitalize (per-target) network-timeout in back-meta; fix issue with connection initialization error in ldap_back_retry(); cleanup configuration of back-ldap
2005-12-07 17:35:02 +00:00
Pierangelo Masarati
a4f800413d
unlink pid/args files only if actually touched (ITS#4251)
2005-12-07 14:47:00 +00:00
Howard Chu
51f9ef7ab9
Improve previous commit
2005-12-07 12:09:00 +00:00
Howard Chu
32fe0ead9f
Distinguish error message for frontendDB config
2005-12-07 11:34:16 +00:00
Pierangelo Masarati
47b4f99363
warn if "excessive" thread number is set (ITS#4249)
2005-12-07 09:58:54 +00:00
Pierangelo Masarati
447b065abd
rework previous commit?
2005-12-07 09:51:12 +00:00
Howard Chu
2bb6555726
ITS#4250 bdb_idl_delete needs to check for Range
2005-12-07 01:54:50 +00:00
Pierangelo Masarati
24887642dc
don't search max CSN if don't have a value; try the operational_attrs if entryCSN is not in attrs
2005-12-07 01:30:28 +00:00
Pierangelo Masarati
ed0bed72b9
plug leaks
2005-12-06 23:10:14 +00:00
Pierangelo Masarati
e0a28ee53f
remove unused var
2005-12-06 23:06:55 +00:00
Pierangelo Masarati
6930e84f81
plug leaks...
2005-12-06 22:56:58 +00:00
Pierangelo Masarati
e9169c2b46
use helper to destroy modrdn modifications; plug leaks...
2005-12-06 22:56:36 +00:00
Pierangelo Masarati
0b0aed319a
use helper to destroy modrdn modifications; send result after commit\!...
2005-12-06 22:56:07 +00:00
Pierangelo Masarati
f29447d9de
use helper to destroy modrdn modifications...
2005-12-06 22:55:30 +00:00
Pierangelo Masarati
662cb94e06
helper to destroy modrdn modifications...
2005-12-06 22:54:51 +00:00
Pierangelo Masarati
c226563da4
fix various memory leaks and handling issues
2005-12-06 22:06:29 +00:00
Pierangelo Masarati
2ea72234aa
return more appropriate error code
2005-12-06 20:04:52 +00:00
Pierangelo Masarati
64c1a3f1a6
relax the check on objectClass (may be equal)
2005-12-06 20:04:20 +00:00
Pierangelo Masarati
5909a4d636
don't return the dummy empty string
2005-12-05 22:41:25 +00:00
Pierangelo Masarati
5f8f4554ff
cleanup
2005-12-05 15:21:49 +00:00
Howard Chu
bb1984eb3e
Fix mod delete by ordered index
2005-12-05 11:46:56 +00:00
Howard Chu
10d8ae3c51
Tweak syncrepl messageID
2005-12-05 11:46:30 +00:00
Pierangelo Masarati
2422e6aaab
fix compilation without debugging (ITS#4245)
2005-12-05 10:39:38 +00:00
Howard Chu
3165691cbf
ITS#4241 write pid / args file before starting backends
2005-12-02 11:47:10 +00:00
Howard Chu
5e3820fd7a
ITS#4237 don't update sc_prev after a callback has been freed.
2005-12-01 00:48:38 +00:00
Kurt Zeilenga
5218ddae7e
ITS#4229: update DB_CONFIG for -q option
2005-11-29 20:28:02 +00:00
Howard Chu
a342ee4d88
ITS#4227 delta-sync should use subtree search
2005-11-29 11:44:43 +00:00
Howard Chu
dcaa6aa830
ITS#4226 must close cursor when limiting candidate check
2005-11-29 11:34:47 +00:00
Pierangelo Masarati
b2e673c37a
add check on duplicate rules (may be too strict?)...
2005-11-29 10:34:59 +00:00
Pierangelo Masarati
fed3c18e88
allow dynlist to take over dyngroup
2005-11-29 10:02:05 +00:00
Pierangelo Masarati
7841f4f538
complete merging of dyngroup into dynlist; add back-config support
2005-11-29 02:10:47 +00:00
Pierangelo Masarati
976d6b4b66
fix return code in case the asserted DN does not exist (ITS#4224)
2005-11-29 00:09:39 +00:00
Howard Chu
a0d9bd7890
ITS#4223 don't store negative results in IDL cache
2005-11-28 22:53:03 +00:00
Pierangelo Masarati
22f05c6785
add support for backend/overlay obsolete names...
2005-11-28 14:13:54 +00:00
Pierangelo Masarati
26d802ee53
add dyngroup compare functionality to dynlist
2005-11-28 11:34:46 +00:00
Pierangelo Masarati
6459cbb7ce
allow comma-separated descriptive log levels, so that tests can be run, e.g., with "SLAPD_DEBUG=stats,stats2"; s/ldap_debug/slap_debug/
2005-11-28 10:55:07 +00:00
Pierangelo Masarati
3a563c2fcb
cleanup OID comments
2005-11-28 10:53:52 +00:00
Pierangelo Masarati
52a827466a
fix previous commit
2005-11-28 10:38:01 +00:00
Howard Chu
1360f9fa80
More for prev commit - set entryCSN as well.
2005-11-28 05:27:42 +00:00
Pierangelo Masarati
4fe032e9be
add very preliminary support for <draft-sermersheim-ldap-distproc>
2005-11-27 23:23:59 +00:00
Pierangelo Masarati
26a83119fd
cleanup
2005-11-27 23:19:17 +00:00
Pierangelo Masarati
1e01082e10
s/chain-cache-uris/chain-cache-uri/
2005-11-27 23:18:47 +00:00
Pierangelo Masarati
84bb488ec2
allow to register (and expose) a supported feature
2005-11-27 23:17:57 +00:00
Kurt Zeilenga
d24a5f6f0f
Update description
2005-11-27 02:10:01 +00:00
Kurt Zeilenga
0d56ddda04
unifdef -DBDB_SUBENTRIES -DLDBM_SUBENTRIES
2005-11-27 01:03:03 +00:00
Howard Chu
21f91438b6
Drop monitor_back_db_config()
2005-11-26 23:35:45 +00:00
Howard Chu
475b35b847
ITS#4220 - add warnings for unsupported modules. Note that back-monitor
...
causes a warning due to its no-op bi_db_config entry point. Unimplemented
entry points are supposed to be NULL.
2005-11-26 21:32:11 +00:00
Pierangelo Masarati
ed098b4136
fix previous commit (overlay initializer prototypes were incorrect)
2005-11-26 17:04:51 +00:00
Howard Chu
b831ebba7d
ITS#4218 streamline frontend/overlay access_allowed. Probably need to
...
do the same for acl_group and acl_attribute.
2005-11-26 07:53:07 +00:00
Kurt Zeilenga
48cb85865d
Remove some unnecessary #ifdefs
2005-11-26 07:38:18 +00:00
Kurt Zeilenga
c106f49029
Primitive handling of dontUseCopy (always error).
2005-11-26 07:09:59 +00:00
Kurt Zeilenga
bfba08c103
Remove lint
2005-11-26 04:02:13 +00:00
Howard Chu
80143b5fc6
Fix ITS#3717 - set restriction on all backends
...
Fix ITS#4217 - gentleHUP is a normal shutdown condition
2005-11-25 23:16:10 +00:00
Howard Chu
d84ffb62a6
ITS#4210 don't setup indexing threads if no indexing is defined.
2005-11-25 22:50:25 +00:00
Pierangelo Masarati
b3c8a976ec
use LDAP_SIZELIMIT_EXCEEDED; rework the return values of slap_send_search_entry(); silence a few warnings
2005-11-25 22:17:24 +00:00
Howard Chu
abc13afcc9
ITS#4198 initialize logdb contextCSN from main DB contextCSN
2005-11-25 21:51:49 +00:00
Howard Chu
72fee93e31
ITS#4209 release entry when it exists.
2005-11-25 21:40:33 +00:00
Howard Chu
4f15618201
op->ors_slimit is always intact now.
2005-11-25 20:52:25 +00:00
Howard Chu
255f1e494f
Don't touch op->ors_slimit.
2005-11-25 20:50:34 +00:00
Howard Chu
7a2f05016c
Don't decrement op->ors_slimit, just compare with rs->sr_nentries.
2005-11-25 20:44:56 +00:00
Pierangelo Masarati
44a1f10d97
allow arbitrary base also in tools
2005-11-25 18:34:18 +00:00
Pierangelo Masarati
78d8a07708
frontend/config/monitor cannot be shadow, I bet
2005-11-25 17:10:11 +00:00
Pierangelo Masarati
f3c007229f
detect if trying to make back-monitor shadow
2005-11-25 15:16:54 +00:00
Pierangelo Masarati
6f7b00d891
fix sizelimit commit
2005-11-25 15:08:33 +00:00
Pierangelo Masarati
98936ee3c4
streamline overlay configuration
2005-11-25 12:43:43 +00:00
Pierangelo Masarati
f86543c770
cleanup filter escaping
2005-11-25 12:16:27 +00:00
Pierangelo Masarati
6ab23ef926
add more versatile private API for filter escaping
2005-11-25 10:41:33 +00:00
Pierangelo Masarati
473f3ab840
set limits as appropriate
2005-11-25 01:26:10 +00:00
Pierangelo Masarati
efe575c255
escape filter values (ITS#4212)
2005-11-25 01:13:24 +00:00
Pierangelo Masarati
ea83f6a669
check sizelimit in frontend (ITS#4213)
2005-11-25 00:28:33 +00:00
Pierangelo Masarati
45e188a812
one s/strtol/lutil_atoi/ too much...
2005-11-24 22:53:28 +00:00
Pierangelo Masarati
ce367bcc25
use friendly form for timeouts
2005-11-24 21:21:27 +00:00
Pierangelo Masarati
194aa68dab
always set sr_flags before sending an entry
2005-11-24 21:20:06 +00:00
Pierangelo Masarati
8d19d52467
use time_t for time-related vars
2005-11-24 01:49:06 +00:00
Pierangelo Masarati
9a47e3c81a
use lutil_ato*() whenever appropriate
2005-11-24 01:44:29 +00:00
Pierangelo Masarati
c7ae6680f2
don't expose unnecessary symbols :)
2005-11-24 01:21:34 +00:00
Pierangelo Masarati
d34fffcaf9
use lutil_ato*() whenever appropriate
2005-11-24 01:10:05 +00:00
Pierangelo Masarati
654181d8d5
silence debug messages
2005-11-24 01:00:28 +00:00
Howard Chu
7a46ab6e04
ITS#4201 undo all bdb_db_open() steps if any step fails.
2005-11-23 23:57:40 +00:00
Pierangelo Masarati
0fd295a321
first round of number/time parsing fixes
2005-11-23 17:29:16 +00:00
Hallvard Furuseth
6b93c656a1
Fix olcChainConfig definition when !LDAP_CONTROL_X_CHAINING_BEHAVIOR
2005-11-23 10:49:47 +00:00
Pierangelo Masarati
990b435ce0
fix return attributes (ITS#4203)
2005-11-23 10:04:33 +00:00
Pierangelo Masarati
59c4fb1fcd
"relax" previous commit; don't leave locks 'round (ITS#4204)
2005-11-23 09:35:44 +00:00
Pierangelo Masarati
de31e7aa91
quick fix to ITS#4204
2005-11-23 08:47:48 +00:00
Pierangelo Masarati
c580a4182e
make controls as strict as possible
2005-11-23 02:01:51 +00:00
Pierangelo Masarati
478360925b
add some integrity checks on input, without changing syntax nor semantics (ITS#4199)
2005-11-23 01:15:01 +00:00
Pierangelo Masarati
51ebb4ee99
prepare log line
2005-11-23 01:13:39 +00:00
Pierangelo Masarati
c1a845165e
add a comment about reworking compare
2005-11-22 19:05:43 +00:00
Pierangelo Masarati
23d893b4cc
run thru the list also in case of FALSE
2005-11-22 18:28:07 +00:00
Pierangelo Masarati
e83f0f900b
set the berval length\! (ITS#4196)
2005-11-22 12:13:07 +00:00
Pierangelo Masarati
133a673e65
don't return matchedDN in the case described in ITS#4195
2005-11-22 11:13:14 +00:00
Howard Chu
3192c5ffc4
ITS#4192 (reverts ITS#4035 patch) always use "cn=config" as the underlying
...
DB's rootDN independently of the configured back-config rootDN.
2005-11-22 10:53:15 +00:00
Howard Chu
575f6e2251
Fix ITS#4194, require config dir to be usable if only -F is specified.
2005-11-22 10:11:06 +00:00
Howard Chu
d0b70826d4
Fix prev commit, don't touch logDB in tool mode at all.
2005-11-22 09:09:52 +00:00
Howard Chu
f2ee760e92
Create auditContainer object automatically.
2005-11-21 05:38:50 +00:00
Howard Chu
9ca041c9a6
Fix retry on stale cookie result
2005-11-21 05:38:28 +00:00
Howard Chu
2b9c8076cc
In hdb_dn2idl_internal, skip cursor get when dkids == 1
2005-11-20 22:32:39 +00:00
Howard Chu
12d2901162
More for ITS#3939
2005-11-20 22:14:57 +00:00
Howard Chu
3429c5a566
ITS#4186 hdb_idl_append() must not alter the tmp input.
2005-11-20 22:02:41 +00:00
Pierangelo Masarati
64156a68b2
fix dumb var initialization
2005-11-20 19:55:07 +00:00
Pierangelo Masarati
4c92090e87
fix compilation when the chaining control is undefined
2005-11-20 19:28:03 +00:00
Howard Chu
3167b29812
Fix back-bdb inequality_candidates to use unchecked limit.
...
Fix syncprov_findcsn to set unchecked limit. (ITS#3939)
2005-11-20 10:39:05 +00:00
Pierangelo Masarati
3bea8f5836
remove pointless test & var
2005-11-20 09:23:43 +00:00
Pierangelo Masarati
4852bf8a58
don't care about empty matched/text #ifdef LDAP_NULL_IS_NULL
2005-11-20 01:59:26 +00:00
Pierangelo Masarati
01bea97a26
don't leak temporary URLs
2005-11-20 01:58:19 +00:00
Pierangelo Masarati
754e59543d
cleanup
2005-11-20 01:39:19 +00:00
Pierangelo Masarati
fbb31b58a1
yet another fix to previous commit
2005-11-20 00:29:35 +00:00
Pierangelo Masarati
b85b28275f
fix previous commit
2005-11-20 00:08:50 +00:00
Pierangelo Masarati
d71a3add92
fix typo in write timeouts argnumbers
2005-11-19 23:23:18 +00:00
Pierangelo Masarati
5bd95600de
allow the chain overlay and the underlying databases to be loaded via back-config
2005-11-19 23:22:50 +00:00
Pierangelo Masarati
39d721504a
plug one-time leaks
2005-11-19 18:44:54 +00:00
Pierangelo Masarati
6d7689b7e3
check we don't exceed userland with config param bits
2005-11-19 18:01:28 +00:00
Pierangelo Masarati
3e7fd464dc
streamline back-ldap/slapo-chain configuration; add the possibility to cache non-configured, anonymous referral URIs
2005-11-19 17:48:33 +00:00
Pierangelo Masarati
7fa4b159bf
fix dangling resources issue in slapd-ldap; completely rework slapo-chain to fix the resource leak/concurrency issue; add support for multiple well-known URIs to set credentials for, and deal with unknown URIs anonymously; similar reworking and cleanup for slapd-meta
2005-11-19 15:00:50 +00:00
Pierangelo Masarati
1e66d540e1
cleanup for (ITS#4180); has nothing to do with the solution yet...
2005-11-19 14:58:47 +00:00
Pierangelo Masarati
14e2726cce
rework typedefs for functions
2005-11-19 14:58:04 +00:00
Pierangelo Masarati
f4781b1527
minor schema parsing cleanup
2005-11-19 14:57:25 +00:00
Pierangelo Masarati
5d83746abf
improve previous commit; same fix required by objectClasses (ITS#4185)
2005-11-19 00:33:19 +00:00
Pierangelo Masarati
4d3fe81780
roll-back inserts in AVL tree; put back original OID macro in case of error (ITS#4185)
2005-11-19 00:24:04 +00:00
Pierangelo Masarati
aac978d8f9
better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier)
2005-11-18 00:20:01 +00:00
Pierangelo Masarati
55c52c5c72
better fix to ITS#4183 (the prototype in proto-slap.h was erroneously committed earlier)
2005-11-18 00:00:39 +00:00
Pierangelo Masarati
429a6f5353
fix wrong response tags (ITS4182; consequence of fixing ITS#4173)
2005-11-17 23:52:56 +00:00
Kurt Zeilenga
79ef5e812f
Fix typo in last commit -- shorten message by removing
...
extraneous information
2005-11-17 22:57:11 +00:00
Pierangelo Masarati
99b450dc00
don't accept modify operations with no modifications (ITS#4183)
2005-11-17 22:45:32 +00:00
Pierangelo Masarati
b2c4a3be6a
fix size limit count (ITS#4181)
2005-11-17 18:55:47 +00:00
Howard Chu
640f33a267
Fix threads vs tool_threads settings
2005-11-17 11:25:48 +00:00
Howard Chu
1340530e41
Fix missing error text
2005-11-17 08:40:46 +00:00
Pierangelo Masarati
28aca605c7
more URI into bindconf
2005-11-16 21:52:14 +00:00
Howard Chu
c5cf54dddf
Fix Add password_hash to not depend on password quality configuration
2005-11-16 18:51:56 +00:00
Pierangelo Masarati
86fc534c8f
improve fix to ITS#4173
2005-11-16 15:58:18 +00:00
Pierangelo Masarati
dd2afd3e3e
refine previous commit...
2005-11-16 14:20:45 +00:00
Pierangelo Masarati
917b77fff1
fix matched handling of slapd-ldap/slapo-chain (ITS#4176)
2005-11-16 14:17:19 +00:00
Howard Chu
a9c95d36be
ITS#4175 wait for worker threads to be ready
2005-11-16 03:22:21 +00:00
Pierangelo Masarati
1762f730fc
partially revert commit
2005-11-16 00:49:54 +00:00
Kurt Zeilenga
8688a96b9f
Additional error detail
2005-11-15 22:45:44 +00:00
Pierangelo Masarati
48ecc89890
don't muck with SlapReply during response (ITS#4173)
2005-11-15 18:27:40 +00:00
Pierangelo Masarati
4dcccd3ca2
valgrind keeps complaining (it makes sense) but the bus error problem disappeared
2005-11-14 23:14:31 +00:00
Pierangelo Masarati
af23be3675
silence warnings...
2005-11-14 21:47:17 +00:00
Howard Chu
a1830a3cd0
Fix for syncprov checkpoint CSN disposal
2005-11-14 19:38:48 +00:00
Pierangelo Masarati
6495247869
initialize back-monitor only if configured (so resources get released at shutdown)
2005-11-14 19:28:28 +00:00
Pierangelo Masarati
e88c4b48e3
don't leak fakeroot save_attrs
2005-11-14 19:16:00 +00:00
Pierangelo Masarati
fe59b0be6e
reset freed resources
2005-11-14 18:38:58 +00:00
Pierangelo Masarati
144ad3657e
handle empty parent (related to ITS#4171)
2005-11-14 18:21:55 +00:00
Hallvard Furuseth
dbb2ceac90
Fix ber_bvchr() vs assert() logic. Declare missing variable for code in #if 0.
2005-11-14 16:23:55 +00:00
Pierangelo Masarati
2bf647fa16
re-fix cast and logic
2005-11-14 15:02:14 +00:00
Hallvard Furuseth
bfd221ae46
Fix void* pointer arithmetic from ber_bvchr()
2005-11-14 14:46:38 +00:00
Hallvard Furuseth
82c73ef51a
Fix pointer cast in assignment
2005-11-14 14:43:25 +00:00
Hallvard Furuseth
aa37b27ab3
Remove unused declaration bdb_tool_ix_rec() and variable bdb
2005-11-14 14:40:01 +00:00
Pierangelo Masarati
1cef82abe9
return the position of the failing verb
2005-11-14 11:23:44 +00:00
Pierangelo Masarati
474dfbc8fd
don't trust strchr/strrchr with bervals
2005-11-13 22:26:53 +00:00
Pierangelo Masarati
910ee45f01
use pooled memory whenever appropriate
2005-11-13 21:51:13 +00:00
Pierangelo Masarati
6eaf2b1ec4
add overlay config schema registry
2005-11-12 16:32:19 +00:00
Howard Chu
ee8a946e8f
Fix Win32 typos
2005-11-12 08:18:28 +00:00
Howard Chu
a028353ca1
declare waking volatile. perhaps it should only be used when NO_THREADS
...
is defined.
2005-11-12 08:11:11 +00:00
Pierangelo Masarati
78bd3bf6a3
handle LDAPv2 when returning timelimit; silence warning
2005-11-11 09:54:07 +00:00
Pierangelo Masarati
e108ff00b9
fix log
2005-11-10 12:57:42 +00:00
Pierangelo Masarati
0e1f737774
reset request DN after free; confuses global overlays
2005-11-10 03:42:44 +00:00
Pierangelo Masarati
4537065ffc
further isolation and cleanup of ACI code
2005-11-10 00:52:43 +00:00
Pierangelo Masarati
cbdaf8058f
silence warning
2005-11-10 00:33:19 +00:00
Pierangelo Masarati
d959a7a7b5
add some sanity checks...
2005-11-09 17:08:11 +00:00
Pierangelo Masarati
5ef53ec9e5
fix group/role check (should address ITS#4106)
2005-11-09 16:33:51 +00:00
Pierangelo Masarati
93abd4c616
cannot happen...
2005-11-09 12:58:57 +00:00
Pierangelo Masarati
6315ac9db6
tools log level defaults to "none", so that messages logged with LDAP_DEBUG_ANY show up by default; use "-d 0" to reset (addresses ITS#4044)
2005-11-09 11:53:34 +00:00
Pierangelo Masarati
1145840994
remove from AVL before freeing...
2005-11-09 03:28:55 +00:00
Pierangelo Masarati
2132b8d57e
plug yet another one time leak
2005-11-09 02:52:28 +00:00
Pierangelo Masarati
2e6cd12216
plug one time leak
2005-11-09 02:48:37 +00:00
Pierangelo Masarati
82d3fbf4e3
fix previous commit
2005-11-09 02:40:34 +00:00
Howard Chu
146b2c5389
ITS#4082 tls ctx requirements are only applicable to servers, or clients
...
with tls_opt_require_cert = TRY or DEMAND. Ignore requirements for clients.
2005-11-08 13:42:10 +00:00
Pierangelo Masarati
419d2925b1
restore the existing BackendDB, in case overlays are in use
2005-11-08 10:09:30 +00:00
Howard Chu
ea92291cb6
ITS#4158 still more
2005-11-08 09:53:38 +00:00
Pierangelo Masarati
255112e702
gdb is much more clever with enums...
2005-11-08 00:40:20 +00:00
Pierangelo Masarati
52db580cdb
error if syncUUID is empty
2005-11-08 00:03:58 +00:00
Howard Chu
6f9aa99d0c
ITS#4158 move SASL bind finalization to bind_cb.
2005-11-07 23:38:52 +00:00