Commit Graph

6976 Commits

Author SHA1 Message Date
Hallvard Furuseth
2b70a083e6 Delete unused variable. 2005-07-18 06:30:47 +00:00
Hallvard Furuseth
03c85cc68d send_ldap_controls() returns int, so fix return LBER_ERROR to -1. 2005-07-18 06:28:28 +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
c2b65937fe Fix cast in BDB_ID2DISK(): unsigned char *_p ... = (char *)...; 2005-07-18 05:58:43 +00:00
Hallvard Furuseth
ae3ef7b3cd Make ConfigArgs.lineno int like elsewhere instead of unsigned long 2005-07-18 05:48:21 +00:00
Hallvard Furuseth
8adef9eec8 Delete unused variables 2005-07-18 05:34:04 +00:00
Hallvard Furuseth
f43a823c73 Add missing "static" for functions declared static but defined non-static 2005-07-18 05:14:41 +00:00
Hallvard Furuseth
11ab0b655e strip_cav_tag() should return ber_tag_t, not int 2005-07-18 05:11:11 +00:00
Hallvard Furuseth
64e9d0e58f #include <ldif.h> for ldif_must_b64_encode_*() 2005-07-18 05:08:57 +00:00
Pierangelo Masarati
ea5952342c fix some unclean unlock issues; fix potential leaks 2005-07-17 22:19:20 +00:00
Pierangelo Masarati
27eeb15fda fix generated connection entries 2005-07-17 22:18:45 +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
ca615a4b3a bvlist *list was updated through the wrong type. 2005-07-17 12:08:32 +00:00
Hallvard Furuseth
0cc537e6f1 Declare ldap_back_init_cf(). 2005-07-17 12:06:09 +00:00
Hallvard Furuseth
98a303fca9 Remove spurious fprintf arguments 2005-07-17 11:55:34 +00:00
Pierangelo Masarati
03b6a692aa trim (long ago) unused files 2005-07-16 16:06:34 +00:00
Pierangelo Masarati
1e5334eb80 mark leak 2005-07-16 15:41:39 +00:00
Pierangelo Masarati
7fb778e522 fix leak 2005-07-16 15:40:14 +00:00
Pierangelo Masarati
7236c4b223 improve diagnostics when configuring suffix for special databases 2005-07-15 16:21:15 +00:00
Howard Chu
f8173c6e8a ITS#3841 fix test in rev 1.220 2005-07-15 01:17:35 +00:00
Pierangelo Masarati
5cb994ad36 fix memory leak (ITS#3862) 2005-07-15 01:08:34 +00:00
Hallvard Furuseth
885c73d02f struct slab_heap *sh was accessed through the wrong type 2005-07-14 21:57:25 +00:00
Hallvard Furuseth
0d06b7334e Make ebuf/ecur char* instead of unsigned char* (which they are never used as) 2005-07-14 21:02:59 +00:00
Hallvard Furuseth
d6cc947561 Silence "unused <something>" warnings 2005-07-14 19:52:08 +00:00
Hallvard Furuseth
8dddff803e Silence "unused variable" warning 2005-07-14 19:35:09 +00:00
Hallvard Furuseth
7ab3d2c245 Silence warnings 2005-07-14 19:32:21 +00:00
Hallvard Furuseth
d449c9d08b Silence "unused variable" warnings 2005-07-14 19:18:55 +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
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
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
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