Commit Graph

12648 Commits

Author SHA1 Message Date
Hallvard Furuseth
3fd6f18d25 Silence "unused static function" warning 2005-07-14 19:20:52 +00:00
Hallvard Furuseth
d449c9d08b Silence "unused variable" warnings 2005-07-14 19:18:55 +00:00
Hallvard Furuseth
3d8aceab81 Fix typos GETNAMEINFO->HAVE_GETNAMEINFO, HAVE_HERROR->HAVE_HSTRERROR 2005-07-14 19:17:05 +00:00
Hallvard Furuseth
a4e0331f89 Silence "unused label" warning 2005-07-14 19:11:48 +00:00
Pierangelo Masarati
395207029b need a regular file (ITS#3865) 2005-07-14 18:03:29 +00:00
Hallvard Furuseth
ae385b3af0 Silence "empty statement" warnings 2005-07-14 03:06:58 +00:00
Pierangelo Masarati
684860502e should address ITS#3861 2005-07-13 17:43:30 +00:00
Howard Chu
675b19dce6 Fix loglevel to accept negative integers 2005-07-12 14:25:15 +00:00
Howard Chu
08ec8ad068 Fix SLAP_SOCK_IS_MUTE typo 2005-07-12 14:19:57 +00:00
Howard Chu
0b93bfc4f3 ITS#3854 fix Modify logging, add handlers for unrecognized ops. 2005-07-12 14:00:01 +00:00
Howard Chu
fbbfac6771 ITS#3857 fix bottom-up modrdn cascades, use a global modrdn counter. 2005-07-12 13:17:56 +00:00
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