Kurt Zeilenga
8d365728fc
Schema cleanup
2005-07-11 19:20:36 +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
62b653fa85
Declare component matching functions
2005-07-11 19:06:10 +00:00
Hallvard Furuseth
da1c57ff3e
Add missing function declarations in config.h
2005-07-11 19:03:27 +00:00
Hallvard Furuseth
ba5305eea4
fp_parse_line():
...
* More slapd.conf-keywords with passwords to log as "<keyword> ***":
"syncrepl" (in slapd), "acl-bind", "acl-method", "idassert-bind"
(in back-ldap), "acl-passwd" (in back-<ldap/meta>).
* When no tokens, i = -1 initialization caused out-of-bounds access.
* Handle initial argc == argv_size (e.g. 0).
2005-07-11 18:56:50 +00:00
Howard Chu
0f2f4f3196
ITS#3841 skip db_close if db_open was never called
2005-07-11 17:12:43 +00:00
Howard Chu
5d2ba11ad9
ITS#3847 silence warnings
2005-07-11 12:11:15 +00:00
Howard Chu
6754d025f2
ITS#3847 silence warnings
2005-07-11 10:39:32 +00:00
Howard Chu
64efba5eb2
ITS#3847 fix LDAP_GROUP_TRANSACTION defs
2005-07-11 10:30:46 +00:00
Howard Chu
3d6fb19006
ITS#3824 remove env after slapadd/slapindex -q
2005-07-11 10:27:59 +00:00
Hallvard Furuseth
26ea01e67e
goto loop_begin; skipped initialization of scopeok.
2005-07-10 16:14:28 +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
Hallvard Furuseth
bdbda6a231
ber_get_enum() needs int*, not enum*. An enum can have wrong size.
...
(Enum _members_ have type int, but the enum's _type_ can be compatible
with some other char/integer type which can represent its members.)
2005-07-10 09:40:34 +00:00
Kurt Zeilenga
570126dc25
cleanup
2005-07-09 18:57:10 +00:00
Howard Chu
c8520d2b7d
import draft-08 since that's what we now implement.
...
sss: ----------------------------------------------------------------------
2005-07-08 10:17:03 +00:00
Howard Chu
b131aab00e
Streamline call to lutil_passwd_scheme
2005-07-08 06:05:02 +00:00
Howard Chu
46fab05997
ITS#3846 don't give hashed passwords to SASL, it only wants cleartext.
2005-07-08 06:02:00 +00:00
Howard Chu
4b07f91511
Fix get_scheme to check length of scheme name
2005-07-08 05:46:08 +00:00
Howard Chu
532da5699c
ITS#3844 fix typo
2005-07-08 04:57:17 +00:00
Hallvard Furuseth
b1f5e9258a
Complete the replacement of LDAP_CONTROL_X_TREE_DELETE with
...
SLAP_CONTROL_X_TREE_DELETE, which is only defiend when LDAP_DEVEL.
back-sql triggered an assert(0): It expected the control to be supported.
2005-07-07 20:36:37 +00:00
Howard Chu
d518a76b35
ITS#3844 fix slap_operational_subschemaSubentry
2005-07-07 17:39:29 +00:00
Howard Chu
2392f9c3f6
Linux updates tv on select() so always use a second copy
2005-07-07 16:09:41 +00:00
Hallvard Furuseth
45bf310444
ITS#3836: Explain that most monitor attrs are operational.
2005-07-07 08:21:18 +00:00
Howard Chu
00dae75f7b
ITS#3842 from jtownsend@opendarwin.org - don't free slap_listeners until
...
after connection_shutdown().
2005-07-07 04:21:53 +00:00
Howard Chu
11a1349366
ITS#3843 from jtownsend@opendarwin.org: hide index_attrs / index_dummy
2005-07-07 03:51:43 +00:00
Hallvard Furuseth
7cc496fd25
Constify ldif_open() args
2005-07-06 10:50:03 +00:00
Hallvard Furuseth
947a70a911
Kill harmless format warning
2005-07-06 09:28:30 +00:00
Hallvard Furuseth
a20b19cc9e
ISO C chokes on comma at end of enum list
2005-07-06 08:13:50 +00:00
Hallvard Furuseth
c682e101ea
ISO C chokes on non-constant array initializers
2005-07-06 08:06:47 +00:00
Hallvard Furuseth
f841c364eb
Format fixes (%d<->%lu etc)
2005-07-06 05:53:02 +00:00
Pierangelo Masarati
61312e7989
fix ITS#3834
2005-07-05 12:05:47 +00:00
Pierangelo Masarati
deec44b89a
fix further ITS#3830 issues; allow to specify a matching rule for non-DN match
2005-07-05 12:00:14 +00:00
Ralf Haferkamp
54fa643a9b
fix previous commit (check for co_type==Cft_Overlay before calling
...
overlay_destroy_one)
2005-07-05 11:46:55 +00:00
Ralf Haferkamp
7027609818
Destroy Backend/Overlay after an error happend during one of the
...
config_parse_add() calls, as backend_db_init() might have been called.
2005-07-05 11:17:25 +00:00
Howard Chu
3232686cc1
ITS#3833 assume environment was already recovered by an external action
...
if it's missing, just succeed in this case.
2005-07-05 02:40:01 +00:00
Pierangelo Masarati
754a059951
fix concurrency issues
2005-07-04 22:41:54 +00:00
Pierangelo Masarati
681a547e13
fix potential deadlock
2005-07-04 22:41:27 +00:00
Pierangelo Masarati
a0d8a981ac
address ITS#3831 (mostly code readability)
2005-07-04 16:34:42 +00:00
Hallvard Furuseth
dfff2e0b32
Add copyright.
2005-07-04 12:50:57 +00:00
Hallvard Furuseth
0960b0aadd
Document "REFERRALS".
...
Add SEE ALSO openssl(1) and sasl(3).
2005-07-04 12:01:19 +00:00
Hallvard Furuseth
135672c910
Manpage typos
2005-07-04 06:57:10 +00:00
Hallvard Furuseth
a1e27aae40
Format fix: Make style_strings[] global for debug output in dynacl_aci_parse()
2005-07-04 06:25:02 +00:00
Hallvard Furuseth
40c91251e6
Debug output: printed soc_cname, should be soc_cname.bv_val
2005-07-04 06:05:04 +00:00
Hallvard Furuseth
430fdb7a1c
isspace() needs <ac/ctype.h>
2005-07-04 05:56:45 +00:00
Hallvard Furuseth
8a696d21b2
Format fixes (%d<->%lu etc)
2005-07-04 05:29:12 +00:00
Hallvard Furuseth
e35ffd471b
Cast away const
2005-07-04 05:24:00 +00:00
Hallvard Furuseth
b746066b9b
Let bdb_attr_index_unparser() return int (0) instead of void; the return
...
value of an AVL_APPLY function is significant.
2005-07-04 05:21:39 +00:00
Hallvard Furuseth
cc0d91716e
Don't do pointer arithmetic on void*
2005-07-04 05:18:01 +00:00
Pierangelo Masarati
a1d407c3d2
add new glued ldap concurrency test
2005-07-03 23:29:10 +00:00
Pierangelo Masarati
9146b262ad
fix potential deadlock; first round of refcnt for connections
2005-07-03 23:28:35 +00:00