Commit Graph

5480 Commits

Author SHA1 Message Date
Pierangelo Masarati
120470e1d6 clarify usage for internal searches 2004-06-21 09:10:46 +00:00
Jong Hyuk Choi
a1308f8dfa syncrepl retry code fix for correct timing 2004-06-21 07:03:49 +00:00
Pierangelo Masarati
1f70ad82f2 clean up unnecessary checks; don't use SASL native authz if authz ID is not static, because back-ldap pools connections... 2004-06-21 00:57:12 +00:00
Pierangelo Masarati
eca48b6f20 not sure that cyrus-sasl doesn't honor empty authz; need to check 2004-06-20 23:21:40 +00:00
Pierangelo Masarati
5bfb9fd590 make authz mode selection fully manual, plus more cleanup 2004-06-20 22:42:36 +00:00
Pierangelo Masarati
176e5542bb fix erroneous logging 2004-06-20 22:42:04 +00:00
Pierangelo Masarati
7fe1acca92 add shortcut for 'users'; but, very important, cleanup rewrite replacement to authz-regexp 2004-06-20 22:41:24 +00:00
Luke Howard
4eaef6a37d Do not crash if computed attribute has no values - necessary for range retrieval
support
2004-06-20 18:04:01 +00:00
Pierangelo Masarati
5d843b2b13 detect mechs that are known to perform native authz 2004-06-19 18:32:55 +00:00
Pierangelo Masarati
f34b11760a allow a hidden parameter to instruct the proxy that the SASL mech can do native authz; will disappear as soon as I can detect it automnatically 2004-06-19 18:18:26 +00:00
Pierangelo Masarati
97f96aaaa6 cleanup limits for internal searches... 2004-06-19 17:07:36 +00:00
Pierangelo Masarati
96fe39e99f minor cleanup 2004-06-19 15:17:41 +00:00
Pierangelo Masarati
e6065fb20d li->be didn't work; since it seems to be unnecessary, it's been removed; please check 2004-06-19 15:16:51 +00:00
Pierangelo Masarati
344edca731 protocol only allows positive integers; remove checks 2004-06-19 10:40:24 +00:00
Pierangelo Masarati
c06208527c protocol only allows positive integers; check, just in case... 2004-06-19 10:32:17 +00:00
Pierangelo Masarati
a689d81536 typo? 2004-06-19 10:02:53 +00:00
Pierangelo Masarati
7e833d90a7 implement server side of "max" limit 2004-06-19 10:02:27 +00:00
Kurt Zeilenga
18a68380f6 More paged results cleanup 2004-06-18 23:12:03 +00:00
Kurt Zeilenga
4b2fcbc14d Fix nentries logging 2004-06-18 23:10:26 +00:00
Kurt Zeilenga
aa9627e61c Don't return useless estimate. 2004-06-18 23:07:56 +00:00
Kurt Zeilenga
c5601aad66 Fix last commit... needs $srcdir 2004-06-18 22:21:01 +00:00
Kurt Zeilenga
73202e3910 Fix typo in last commit 2004-06-18 19:12:00 +00:00
Pierangelo Masarati
42f3b3d87b improve parsing - first step 2004-06-18 09:11:53 +00:00
Jong Hyuk Choi
763f8c76ee syncrepl retry-on-error code 2004-06-18 05:04:03 +00:00
Kurt Zeilenga
2478fdf2ec A very basic DB_CONFIG example 2004-06-18 04:49:08 +00:00
Jong Hyuk Choi
ef0a404729 revert pervious change 2004-06-18 02:59:47 +00:00
Pierangelo Masarati
40e42fcd11 res is already freed by ldap_parse_reference() (ITS#3190) 2004-06-17 18:27:51 +00:00
Kurt Zeilenga
87c28866de cleanup 2004-06-16 23:49:35 +00:00
Pierangelo Masarati
a317f01dc1 improve pagedResults ignoring (hopefully) 2004-06-16 15:26:21 +00:00
Kurt Zeilenga
0ae37bd468 Add SLAP_BFLAG_NOLASTMODCMD backend flag. When set, use of
the lastmod command will fail.  To be set by backends
(e.g., back-ldap) which force the value of SLAP_DBFLAG_NOLASTMOD
database flag.
2004-06-16 04:47:21 +00:00
Howard Chu
06f3bfb7f9 More for ITS#3188 2004-06-16 03:29:02 +00:00
Kurt Zeilenga
7537d3d843 Partial fix for ITS#3188.
As Howard noted, additional fixes may be needed in other update routines.
2004-06-15 21:13:40 +00:00
Kurt Zeilenga
6826810ea7 allow logging to USER and DAEMON (ITS#3187) 2004-06-15 07:22:48 +00:00
Jong Hyuk Choi
5ac9de4d36 More backglue fix: do not return NO_SUCH_OBJECT when the base object is located above the subordinate database in search 2004-06-14 23:41:13 +00:00
Pierangelo Masarati
6c41f12ff1 fix build when #define BACKSQL_TRACE 2004-06-14 20:04:36 +00:00
Pierangelo Masarati
ba3dde6d16 return pagedResultsControl with empty cookie at end of search (ITS#3161) 2004-06-12 18:22:53 +00:00
Pierangelo Masarati
c0490482d6 ignore the control if page is larger than requested sizelimit (as per RFC) 2004-06-12 17:37:37 +00:00
Pierangelo Masarati
4c685bfd1e clarify no limits in (internal) searches 2004-06-12 17:32:20 +00:00
Pierangelo Masarati
0c49718e82 clean up search limits enforcement 2004-06-12 17:31:45 +00:00
Pierangelo Masarati
8e3fba7e1e silence a few (mostly harmless) warnings 2004-06-12 15:08:59 +00:00
Howard Chu
8138b5258f ITS#3182 ? clear ctrls after sending paged response 2004-06-12 12:29:18 +00:00
Howard Chu
d57b404889 back-hdb fixes for ITS#3063 2004-06-12 12:27:22 +00:00
Pierangelo Masarati
d1b692ceb4 clarify no limits in (internal) searches 2004-06-12 11:33:21 +00:00
Howard Chu
7c7754b956 Better fix for ITS#3063, #3186 2004-06-12 07:39:24 +00:00
Howard Chu
9cf45220d2 ITS#3186 don't print error when empty DN "" is the only thing missing 2004-06-12 05:29:55 +00:00
Howard Chu
0b24ae9a12 Fix prev commit 2004-06-12 05:29:07 +00:00
Howard Chu
b9e3f66c7c Add glue for root DB (ITS#3063) 2004-06-12 04:31:17 +00:00
Howard Chu
591acac04f Another crash for ITS#3063 2004-06-12 03:25:15 +00:00
Kurt Zeilenga
25166f8166 cleanup 2004-06-11 00:14:01 +00:00
Kurt Zeilenga
ed4811039e cleanup 2004-06-09 05:20:57 +00:00
Jong Hyuk Choi
aa61c0b122 ITS#3180 Fix 2004-06-08 02:54:21 +00:00
Jong Hyuk Choi
f60f2d5048 Fix typo 2004-06-08 02:52:59 +00:00
Howard Chu
932d924f50 ITS#3170 fix uninit'd mod.sml_nvalues 2004-06-03 23:09:25 +00:00
Kurt Zeilenga
248e73c7e1 TLS availability should check slapd's context not the default context. 2004-06-02 17:38:04 +00:00
Kurt Zeilenga
b438e6b533 ITS#3166: correct slapi_entry_attr_get_* return types
patch provided by Martin Evans
2004-06-01 22:07:57 +00:00
Jong Hyuk Choi
43045c0d71 Fixing backglue behaviors
1) Return NO_SUCH_OBJECT if base object cannot be located
2) Does not search databases that are superior to the base object of the search
2004-06-01 20:17:11 +00:00
Howard Chu
14ca92e851 load_ucdata is now a no-op 2004-05-31 05:44:04 +00:00
Kurt Zeilenga
3dcc2bf092 cleanup 2004-05-31 04:01:03 +00:00
Jong Hyuk Choi
5e761b1ea3 Fix for backglue limit checking 2004-05-31 02:03:39 +00:00
Jong Hyuk Choi
b85ba35ba7 Patch for ITS#3133 2004-05-31 02:01:59 +00:00
Kurt Zeilenga
2ec6755eda Don't shortcut scope base searches. Base scope searches can be
useful to ensure target entry exists.
2004-05-30 22:15:39 +00:00
Howard Chu
0bcb9c3150 Fix ITS#3155 2004-05-27 08:54:34 +00:00
Howard Chu
2c0d735aa7 Fix ITS#3160, decrement conn->c_n_ops_pending when removing an op from
the conn->c_pending_ops queue.
2004-05-27 08:45:27 +00:00
Pierangelo Masarati
650ca42066 provide support for usage() 2004-05-26 12:29:17 +00:00
Pierangelo Masarati
06782dac3b remove '-S'; improve usage() 2004-05-25 17:42:06 +00:00
Pierangelo Masarati
417f709978 fix previous commit 2004-05-25 13:35:04 +00:00
Pierangelo Masarati
cab43a6816 infrastructure for '-o <option>[=<value>]' args 2004-05-25 10:44:51 +00:00
Howard Chu
7488f557cd Fix entry_get, only check mapped attr if attr was provided 2004-05-25 04:54:32 +00:00
Kurt Zeilenga
6e17b60648 add command line option (-S) to enable SLP registration (ITS#3132)
off by default.  Option assignment is temporary, should be replaced
with "-o slp=<ON|off>".
Based upon patch submitted by Ralf Haferkamp (SuSE).
2004-05-24 23:28:52 +00:00
Kurt Zeilenga
5a7f9858fe cleanup 2004-05-24 23:23:50 +00:00
Luke Howard
ab48d0295d slapi_ldap_init() / slapi_ldap_unbind() 2004-05-24 05:28:43 +00:00
Luke Howard
ba686c399b slight optimization - use ldap_bv2dn() 2004-05-24 03:43:53 +00:00
Luke Howard
f9b719f56e Implement slapi_entry_{get,set}_uniqueid 2004-05-23 16:04:27 +00:00
Luke Howard
e932093f47 Fix breakage 2004-05-23 15:51:58 +00:00
Luke Howard
4c2e3eeda4 Add slapi_entry_add_rdn_values(), slapi_entry_rdn_values_present(), slapi_entry_schema_check() API 2004-05-23 15:47:23 +00:00
Luke Howard
71d473f09f Implement slapi_rdn2typeval and slapi_dn_plus_rdn 2004-05-23 12:43:59 +00:00
Luke Howard
f62d1aac4e Implement slapi_entry_size() 2004-05-23 12:12:43 +00:00
Luke Howard
13e657ffa8 Implement slapi_entry_has_children() 2004-05-23 12:06:47 +00:00
Pierangelo Masarati
a18e199e0d more on identity assertion 2004-05-22 17:26:02 +00:00
Howard Chu
910101a267 ITS#3064 don't reset sync interval to zero on PERSIST 2004-05-21 23:53:14 +00:00
Howard Chu
88e2a06b5e ITS#3151 always reschedule consistency_check task 2004-05-20 00:13:05 +00:00
Howard Chu
73fa8b7dd9 ITS#3153 only cache queries with at least one entry 2004-05-19 23:37:14 +00:00
Howard Chu
464866d57b Fix normalized mods in slap_entry2mods (ITS#3144, ITS#3152) 2004-05-19 23:20:04 +00:00
Howard Chu
a11553c212 Always normalize entries (ITS#3152, ITS#3144) 2004-05-19 23:19:24 +00:00
Howard Chu
69ff27f9d6 ITS#3150 fix uninit'd return_val 2004-05-19 22:07:06 +00:00
Kurt Zeilenga
a3df8a82b4 cleanup 2004-05-19 19:39:40 +00:00
Kurt Zeilenga
420bd2ff40 cleanup 2004-05-19 19:23:01 +00:00
Howard Chu
681431e73a Fix prev commit, test015 works again 2004-05-19 07:31:22 +00:00
Howard Chu
9a758383fa ITS#3146 plug extended match memory leaks 2004-05-18 09:11:38 +00:00
Kurt Zeilenga
13c70ed410 fix up error handling, including disallowing sync+pagedResults combinations. 2004-05-15 19:26:48 +00:00
Pierangelo Masarati
fa0f020503 need to defer this... 2004-05-15 10:11:43 +00:00
Pierangelo Masarati
cdebc4d376 more on idassert: SASL bind/authz 2004-05-15 10:11:10 +00:00
Pierangelo Masarati
8b954144d6 reflect Kurt's comments on ID assertion 2004-05-14 10:01:22 +00:00
Kurt Zeilenga
74bfae5c22 cleanup 2004-05-14 04:48:44 +00:00
Pierangelo Masarati
657e580bbe fix schema initialization when built as module... 2004-05-13 23:33:14 +00:00
Pierangelo Masarati
20140992a6 cleanup 2004-05-13 22:59:14 +00:00
Pierangelo Masarati
2e09e645ba promoted proxyAuthz to STATS log level 2004-05-13 22:47:24 +00:00
Pierangelo Masarati
1543d3b95b fix previous commit :) 2004-05-13 22:19:16 +00:00
Pierangelo Masarati
3b38676dd3 complete idassert options 2004-05-13 22:12:46 +00:00
Pierangelo Masarati
a10fe8e098 caught nasty empty DN bug 2004-05-13 22:12:24 +00:00