Commit Graph

5418 Commits

Author SHA1 Message Date
Pierangelo Masarati
171a47c05b cleanup error messages and logs 2004-04-13 15:59:51 +00:00
Pierangelo Masarati
eae82899ca silence warnings 2004-04-13 09:52:12 +00:00
Pierangelo Masarati
b2f17ad4ec update OIDs 2004-04-13 09:02:03 +00:00
Howard Chu
d5df8e3f40 Fix paged search initialization 2004-04-12 17:59:27 +00:00
Kurt Zeilenga
4834e626ff Fix overaggressive s/bvalues/values/ changes of previous commit(s) 2004-04-12 17:35:12 +00:00
Pierangelo Masarati
eb73849592 last mod overlay (needs cleanup) 2004-04-10 20:56:09 +00:00
Pierangelo Masarati
3342d93860 disable fancy key by default 2004-04-10 10:17:51 +00:00
Pierangelo Masarati
cbe91bccdb typo 2004-04-10 10:13:12 +00:00
Pierangelo Masarati
c0c24cfec5 first round of SHADOW flags/isupdate test unification 2004-04-10 10:00:58 +00:00
Pierangelo Masarati
b703cfb008 Added provisions for a layer between the backend and the ODBC
for further mucking with data.  This can be of use in ill situations
where not all the required massaging can be done on data with SQL
by means of stored procedures, but overlays are called too early
and cannot be used to make data non LDAP compliant.
- only support for bidirectional DN mucking is provided right now
- support for other values mucking is planned
- write is not completely tested yet
- the API could change quite often; don't rely too much on it

other cleanup has been added.
2004-04-10 09:33:55 +00:00
Kurt Zeilenga
071b9466c4 Fix approx matching when there is an equality index but no approx index.
Add better approx test
2004-04-09 21:30:55 +00:00
Kurt Zeilenga
6daaf88244 Fix typo 2004-04-09 21:13:41 +00:00
Kurt Zeilenga
07fc395816 s/bvalues/values/ 2004-04-09 20:56:46 +00:00
Kurt Zeilenga
a122cda534 s/bvalues/values 2004-04-09 20:55:30 +00:00
Kurt Zeilenga
2f924dc488 Temporary defines for SLAP_*_SHADOW. 2004-04-09 20:43:15 +00:00
Pierangelo Masarati
b157f668b7 honor sizelimit requests on the overall count when pagedResults control is used; cleanup and more features 2004-04-09 17:55:21 +00:00
Pierangelo Masarati
2e13fbeea1 completion of limits w/ paged results control 2004-04-09 15:54:46 +00:00
Pierangelo Masarati
36941332a1 improve previous commit; now special limit on the number of total entries of a paged results can be set via the limits. Need to decide whether the default should be unlimited or what 2004-04-09 12:26:34 +00:00
Pierangelo Masarati
fadf3398d4 honor size limits when using paged results 2004-04-09 11:44:28 +00:00
Pierangelo Masarati
0505c64f08 blind fix to ITS#3069; I assume there's no reason to limit the sessionlog limit to 999 2004-04-09 11:22:07 +00:00
Kurt Zeilenga
3f739ce26e Now with permissive modify 2004-04-08 22:10:38 +00:00
Kurt Zeilenga
0ec962a08b Another bug. 2004-04-08 21:45:49 +00:00
Kurt Zeilenga
8198a8fd45 Fix typo in last commit 2004-04-08 21:37:12 +00:00
Kurt Zeilenga
2d09d0a8b1 This should be more complete.
But without permissive.  That needs to be reworked completely.
2004-04-08 21:35:10 +00:00
Kurt Zeilenga
98baa45e6a No need to check attribute values when a is NULL 2004-04-08 19:56:50 +00:00
Howard Chu
3fb7e5762b Fix typo (ITS#3070) 2004-04-08 15:05:55 +00:00
Pierangelo Masarati
a886172472 blind fix of mod_values cleanup 2004-04-08 14:42:02 +00:00
Howard Chu
c86e07dd25 Fix ITS#3063, special case handling of "" suffix 2004-04-08 12:15:26 +00:00
Pierangelo Masarati
8be57d80ba blind fix (tnx Howard); I'll check it later 2004-04-08 11:44:57 +00:00
Pierangelo Masarati
354372987f General improvements:
- There might be special cases that require the unique key to be a string
  (just ran into one); since this is not a generally useful change, it's
  hidden behind #defines.
- Added essential support for telephoneNumber match; the same infrastructure
  might be useful for other specialized matches (also regular matches should
  use it to handle multiple spaces and so!).
- Fixed dynamic backend initialization.
- Cleaned up search base DN normalization (works also if no uppercase function
  is available, using case exact matches).
2004-04-08 09:08:28 +00:00
Kurt Zeilenga
6b410330ed cleanup 2004-04-08 07:04:34 +00:00
Kurt Zeilenga
c7f0438044 bvalue cleanup 2004-04-08 06:49:17 +00:00
Kurt Zeilenga
b217659088 ITS#3066: properly detect duplicates 2004-04-08 06:44:50 +00:00
Howard Chu
8c6fe48806 More dynamic/static cleanup 2004-04-08 05:58:54 +00:00
Howard Chu
f2e1df3ef7 Consolidated static/dynamic backend switches 2004-04-08 05:56:23 +00:00
Howard Chu
cba00e0025 Fix attributions, add HP info 2004-04-08 02:59:28 +00:00
Kurt Zeilenga
49e378af07 cleanup 2004-04-08 02:43:52 +00:00
Jong Hyuk Choi
1c1b2bb6ee updatedn fix for syncrepl 2004-04-07 17:32:37 +00:00
Kurt Zeilenga
df4db9beb1 SLAPTOOL links should be to final dest directory 2004-04-07 16:55:04 +00:00
Howard Chu
0e2a12142a Zero out rs->sr_err before send_search_entry 2004-04-07 16:41:17 +00:00
Howard Chu
76453e82ea Cleanup, fix for SASL/PLAIN 2004-04-07 15:26:25 +00:00
Howard Chu
692c37720f Fix internal search limits (due to recent limit_check change) 2004-04-07 15:10:26 +00:00
Kurt Zeilenga
44725e7303 use BER_BVNULL 2004-04-07 04:11:43 +00:00
Kurt Zeilenga
abbbbbe3bb cleanup 2004-04-07 03:32:37 +00:00
Howard Chu
7122df3573 Fix search limits due to frontend limit_check change 2004-04-06 23:29:33 +00:00
Kurt Zeilenga
dd726c5b6f delete from dn2id database bug in back-ldbm/idl.c (ITS#3046)
Suggested fix provided by Wout van Albada
2004-04-06 21:54:07 +00:00
Kurt Zeilenga
0c2c38c02f ITS#3059: modrdn should delete than add. 2004-04-06 21:06:35 +00:00
Kurt Zeilenga
f7d8d55d84 cleanup 2004-04-06 19:42:37 +00:00
Kurt Zeilenga
158e5727b4 ITS#3056 partial fix - from a slurpd perspective, the updatedn
should be allowed to the entry at the naming prefix (database suffix).
2004-04-06 19:32:17 +00:00
Jong Hyuk Choi
b844e7fe42 Fix for ITS#3055 2004-04-06 17:58:03 +00:00
Pierangelo Masarati
7b4b144e7e revert unnecessary change 2004-04-06 13:30:52 +00:00
Pierangelo Masarati
88c6f2ed38 initialize overlays 2004-04-06 13:19:12 +00:00
Pierangelo Masarati
25fce61f70 silence erroneous warning 2004-04-06 12:22:51 +00:00
Pierangelo Masarati
53e69064ff load overlays also with tools 2004-04-06 12:22:29 +00:00
Howard Chu
464af5aeeb Don't try to use runqueue in SLAP_TOOL_MODE 2004-04-06 12:21:49 +00:00
Pierangelo Masarati
779b3ba801 wrong arg order :) 2004-04-06 09:55:09 +00:00
Pierangelo Masarati
a11dc61e05 rework be_isupdate accordingly to be_isroot 2004-04-06 09:42:40 +00:00
Pierangelo Masarati
2808fb2cb7 fix addition of chk_referrals to overlay stack 2004-04-06 09:33:14 +00:00
Pierangelo Masarati
e17be551a4 fix previous commit 2004-04-06 08:47:59 +00:00
Kurt Zeilenga
13d25a675f cleanup 2004-04-06 01:48:36 +00:00
Kurt Zeilenga
c7e89d57be swap be_isroot and be_isroot_dn symbols 2004-04-06 01:06:20 +00:00
Kurt Zeilenga
37ef5350bd Rework return of update referrals 2004-04-06 00:47:21 +00:00
Kurt Zeilenga
2095a7bc51 Fix last commit 2004-04-05 23:49:06 +00:00
Pierangelo Masarati
0f867b9577 revert erroneous commit; cure the test the right way 2004-04-05 23:47:17 +00:00
Kurt Zeilenga
9a64fdb991 use SLAP_DBFLAGS instead of be->be_flags 2004-04-05 23:42:59 +00:00
Pierangelo Masarati
313821118e revert erroneous commit 2004-04-05 23:12:38 +00:00
Howard Chu
4b2febb3db Allow users to change their own password by default, fix history check
when SafeModify is false.
2004-04-05 23:09:57 +00:00
Kurt Zeilenga
4ef7e08afe updateref should be allowed with syncrepl (without updatedn) 2004-04-05 23:08:24 +00:00
Kurt Zeilenga
843400deb7 Add SLAP_SHADOW(be): true if be is a shadow database (via any mech) 2004-04-05 21:54:40 +00:00
Kurt Zeilenga
2fcaa15b90 First rounds of backend/database flag cleanup 2004-04-05 21:00:16 +00:00
Kurt Zeilenga
4122a9dd6a Use SLAP_MONITOR(be) to check flag 2004-04-05 20:24:18 +00:00
Pierangelo Masarati
6a1dd9a1cd exploit new frontend API 2 protocol error mapping; use urldesc... 2004-04-05 17:36:53 +00:00
Pierangelo Masarati
4e71b85481 exploit new frontend API 2 protocol error mapping 2004-04-05 17:32:59 +00:00
Pierangelo Masarati
e516247068 exploit new isroot_dn helper 2004-04-05 17:31:27 +00:00
Pierangelo Masarati
b89c894eff add new isroot_dn helper 2004-04-05 17:30:30 +00:00
Pierangelo Masarati
f3ee96399e move API 2 protocol error mapping to frontend; add new isroot_dn helper 2004-04-05 17:30:08 +00:00
Pierangelo Masarati
f6126f7db1 move API 2 protocol error mapping to frontend 2004-04-05 17:29:06 +00:00
Pierangelo Masarati
873be21a22 add referral check to functions elaborated by overlays 2004-04-05 17:28:13 +00:00
Pierangelo Masarati
0b37fb4eb1 check in portions of code is done on length rather than pointer 2004-04-05 17:25:22 +00:00
Howard Chu
939ca7705b Avoid mktime/gmtime in parse_time(), just compute time_t ourselves. 2004-04-05 13:38:43 +00:00
Howard Chu
49da68a2bb ITS#3048 delete sasl_checkpass support 2004-04-05 11:23:47 +00:00
Howard Chu
65e409817e Fix prev commit, days at month boundaries 2004-04-04 15:40:14 +00:00
Howard Chu
ebd7bc27e7 Fix parse_time GMT computation for daylight savings time 2004-04-04 13:40:56 +00:00
Pierangelo Masarati
2387d2aff8 apparently accept() doesn't fill the sun_path field of the peer socket; hack it 2004-04-03 18:48:03 +00:00
Pierangelo Masarati
58c637479d return error code only if required (ITS#3042) 2004-04-03 12:15:33 +00:00
Howard Chu
e1fc5012bd Don't manipulate password history if not configured in policy 2004-04-03 06:21:03 +00:00
Kurt Zeilenga
ad6969e6cd Add a yet-to-be-tested deliveryMethodValidate function 2004-04-02 02:25:36 +00:00
Kurt Zeilenga
6aded32c94 cleanup 2004-03-27 23:25:50 +00:00
Howard Chu
d1d1a0607e Restore build rule for dynamic backends. 2004-03-27 23:20:55 +00:00
Kurt Zeilenga
100facedf3 Don't return subordinate referrals (per RFC 3296) 2004-03-27 22:47:31 +00:00
Kurt Zeilenga
2876b3bb84 Don't disclose information to attacker.
Referrals need work (not sure why return referrals for bind requests)
2004-03-27 18:19:52 +00:00
Kurt Zeilenga
9b9127eb3f Cleanup 2004-03-27 18:19:12 +00:00
Jong Hyuk Choi
c1b50022e5 reintroduce changes made in tools/slapadd.c v1.64 (looks like missing during code move) 2004-03-26 21:54:06 +00:00
Kurt Zeilenga
855c22d862 Add numericStringOrderingMatch rule (ITS#2988) 2004-03-26 18:58:01 +00:00
Jong Hyuk Choi
4afcbf3131 fix for ITS#2995 2004-03-25 22:09:08 +00:00
Jong Hyuk Choi
c3d2afbbbe patch for ITS#2948 2004-03-25 19:20:19 +00:00
Howard Chu
54fba01be2 ITS#3036 check for syncrepl 2004-03-25 09:40:02 +00:00
Howard Chu
1a314f3bca ITS#3038 64bit compatibility (oops) 2004-03-25 09:25:25 +00:00
Kurt Zeilenga
3a468f5d90 cleanup 2004-03-24 23:44:45 +00:00
Howard Chu
81df94acaa Silence warning 2004-03-24 10:47:31 +00:00