Pierangelo Masarati
9a64785e4d
plug leaks; fix map initialization
2005-08-01 22:40:18 +00:00
Howard Chu
91ea3a113a
Add static build for accesslog
2005-08-01 22:02:23 +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
e161f50ac0
silence warning
2005-07-25 23:06:12 +00:00
Pierangelo Masarati
739128a016
silence warning(s)
2005-07-25 20:50:33 +00:00
Hallvard Furuseth
cc27d26f48
rs->sr_flags should be saved in variables of type slap_mask_t, not int.
2005-07-22 13:28:49 +00:00
Hallvard Furuseth
100634c920
Remove unused variables.
2005-07-22 13:18:28 +00:00
Luke Howard
ffe20229dc
Move most of SLAPI frontend into overlay
2005-07-21 16:35:20 +00:00
Pierangelo Masarati
ab4bb3e617
glue's enum conflicts with slap_operation_t
2005-07-21 14:23:49 +00:00
Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Hallvard Furuseth
ec4d6d0d69
Remove spurious printf argument
2005-07-17 12:17:54 +00:00
Hallvard Furuseth
ecef4972fe
rc in glue_tool_entry_put() is an int, not NOID (unsigned long).
2005-07-17 12:14:42 +00:00
Hallvard Furuseth
7ab3d2c245
Silence warnings
2005-07-14 19:32:21 +00:00
Howard Chu
0b93bfc4f3
ITS#3854 fix Modify logging, add handlers for unrecognized ops.
2005-07-12 14:00:01 +00:00
Hallvard Furuseth
d5685734d2
retcode_op_func(): Fix uninitialized variable 'ref':
...
Under rs->sr_err == LDAP_REFERRAL, return LDAP_OTHER "bad referral
object" if both rdi->rdi_ref and default_referral are NULL.
2005-07-11 19:09:30 +00:00
Hallvard Furuseth
ac7513155b
fbuf in syncprov_findcsn() got used before it was fully filled in
2005-07-10 10:20:21 +00:00
Howard Chu
b131aab00e
Streamline call to lutil_passwd_scheme
2005-07-08 06:05:02 +00:00
Hallvard Furuseth
f841c364eb
Format fixes (%d<->%lu etc)
2005-07-06 05:53:02 +00:00
Pierangelo Masarati
d576364089
more checks (ITS#3817)
2005-07-01 09:53:20 +00:00
Pierangelo Masarati
b42207d048
don't use missing hooks (ITS#3817)
2005-07-01 09:25:55 +00:00
Howard Chu
6236574efc
ITS#3456 better fix, use a child thread.
2005-06-30 04:06:40 +00:00
Howard Chu
0e00a1af79
ITS#3456 - omit FIND_MAXCSN call from syncprov_db_open. Will probably
...
delete all associated code soon; since the maxcsn will be updated as
soon as any write op occurs, it's no big deal for this to be out of date.
Also, since the maxcsn will get checkpointed on close, it will only get
out of date on an actual slapd crash, which is hopefully too rare to
worry about.
2005-06-30 03:42:51 +00:00
Pierangelo Masarati
aa16988d3c
don't try to lookup the rootdn; handle errors separately
2005-06-25 15:05:02 +00:00
Pierangelo Masarati
fddeed7903
add support for connection_init/destroy and retcode overlay
2005-06-19 22:42:12 +00:00
Pierangelo Masarati
f86daac8c8
import retcode overlay
2005-06-19 22:39:44 +00:00
Pierangelo Masarati
3172222266
cleanup of previous commit
2005-06-18 18:59:04 +00:00
Pierangelo Masarati
2abaf7bf66
fix ITS#3788: don't free slapo-rwm callback, rather reuse it
2005-06-16 23:08:23 +00:00
Pierangelo Masarati
c7c572f883
fix ITS#3785: do our best to deal with invalid filters...
2005-06-16 19:27:03 +00:00
Howard Chu
b6aa697000
ITS#3779 fix pwdLockoutDuration handling
2005-06-15 21:21:12 +00:00
Ralf Haferkamp
f9fb5e63f4
silence warning
2005-06-15 18:00:49 +00:00
Howard Chu
60339c7f77
ITS#3777 fix scheme comparison
2005-06-15 03:06:48 +00:00
Howard Chu
63f6e91a97
ITS#3772 fix dependencies for static overlays
2005-06-13 10:24:39 +00:00
Howard Chu
cd15432de6
More accesslog updates
2005-06-10 11:41:57 +00:00
Howard Chu
257be58eb6
In-directory logging overlay
2005-06-10 09:18:01 +00:00
Howard Chu
21b8be393a
Add slap_timestamp(), use mutex in slap_get_csn()
2005-06-07 04:12:14 +00:00
Howard Chu
3bae4b4acb
ITS#3691 import auditlog overlay
2005-06-07 03:03:18 +00:00
Howard Chu
8f58409749
Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
...
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Howard Chu
d7745c17d4
Use "pcache" to invoke the overlay instead of "proxycache"
2005-05-24 17:13:37 +00:00
Pierangelo Masarati
2f0d712492
exit on error
2005-05-23 21:59:14 +00:00
Pierangelo Masarati
fc148e8e54
fix interaction with table-driven config of back-ldap (please review)
2005-05-23 07:25:45 +00:00
Pierangelo Masarati
58abc661f6
"restrict" is a c99 keyword (ITS#3739)
2005-05-21 00:15:16 +00:00
Pierangelo Masarati
7b0d820ce5
minor cleanup
2005-05-20 23:36:23 +00:00
Pierangelo Masarati
5f361f31b3
initialize AttributeName structures; allow '*' attribute set (related to ITS#3741)
2005-05-20 23:27:42 +00:00
Pierangelo Masarati
6bd4ef7667
fix cleanup in case of error
2005-05-13 19:08:41 +00:00
Pierangelo Masarati
96773427db
don't bother about slap_dummy_bv
2005-05-13 09:06:28 +00:00
Howard Chu
376537f3d7
ITS#3577 Make librewrite shared - > liblrewrite.la
2005-05-11 10:18:27 +00:00
Howard Chu
f2e62ea04c
Fix (temporary) crash on ldbm
2005-05-09 11:20:24 +00:00
Howard Chu
1d283c2154
More fixes for overlay support. Converted pcache to config table.
2005-05-09 10:33:43 +00:00
Howard Chu
cfccf68bf6
Fix debug msg
2005-05-09 10:33:01 +00:00
Pierangelo Masarati
fd52d607b0
don't compare freed pointers (no harm)
2005-05-09 09:32:44 +00:00