Commit Graph

5797 Commits

Author SHA1 Message Date
Pierangelo Masarati
70af36dbf5 trim useless code 2004-06-28 22:01:30 +00:00
Pierangelo Masarati
c84b7502c5 fix oidValidate() when a OID contains a single '0' (ITS#3211) 2004-06-28 22:00:28 +00:00
Pierangelo Masarati
c34a30a149 fix memory usage 2004-06-28 21:51:08 +00:00
Pierangelo Masarati
9a2b8f9d40 honor signedness 2004-06-28 21:20:13 +00:00
Pierangelo Masarati
a7a90609a9 propagate search result (maybe this is not what bdb_psearch() is intended to do...) 2004-06-28 21:08:32 +00:00
Pierangelo Masarati
a4f50c268a fix typo in comment 2004-06-28 20:59:04 +00:00
Kurt Zeilenga
372a941334 add baseObject as alias for base.
cleanup
2004-06-28 06:42:00 +00:00
Jong Hyuk Choi
08949463c5 - use ctxcsn_locker for the ctxcsn add transaction
- removal of LOCK_ID_FREE
- misc mem mgmt cleanup
2004-06-28 05:47:36 +00:00
Kurt Zeilenga
fbca1397a3 cleanup 2004-06-27 02:35:48 +00:00
Howard Chu
29f24962be Fix uninit'd exopflags 2004-06-26 01:17:24 +00:00
Howard Chu
5fd7534f79 Fix previous commit, deleting under suffix... 2004-06-25 20:04:16 +00:00
Howard Chu
826b177877 More locking cleanup (ITS#3201, etc) 2004-06-25 05:29:33 +00:00
Jong Hyuk Choi
22df3f94e4 internal operation return value processing cleanup 2004-06-25 02:27:02 +00:00
Kurt Zeilenga
e8b2c7f3be Fix wrong error when using operative attribute in
objectclass definition (ITS#3205)
2004-06-25 01:05:49 +00:00
Howard Chu
3c68fc1f14 ITS#3201 fix conflict with BDB internal locks 2004-06-24 23:50:10 +00:00
Howard Chu
f7f6861a26 ITS#3201 fix conflict with BDB internal locks 2004-06-24 23:35:18 +00:00
Howard Chu
c63817b9bd ITS#3201 partial fix. still encountering deadlocks. 2004-06-24 17:56:43 +00:00
Kurt Zeilenga
8bca3b42f9 Rework pre/post read controls to handle retry conditions...
(and plug leaks)
2004-06-23 06:56:23 +00:00
Kurt Zeilenga
e23b0f677f Move pre/post read calls into outer transaction.
Need to fix retry handling.
2004-06-23 06:02:49 +00:00
Jong Hyuk Choi
ec9d21e094 use ltid if it exists; use NULL otherwise. 2004-06-23 05:10:18 +00:00
Kurt Zeilenga
ee7dfb2ab9 cleanup 2004-06-23 03:09:13 +00:00
Jong Hyuk Choi
bc6b28a650 using write lock in accessing pslist 2004-06-23 02:07:12 +00:00
Jong Hyuk Choi
81c59404e9 use txn locker if it exists; get one otherwise. 2004-06-23 02:00:00 +00:00
Kurt Zeilenga
e5a37f2125 SLAPD_DISCONNECT v -1 cleanup
misc other cleanup
2004-06-23 01:04:52 +00:00
Kurt Zeilenga
83476f2d98 Add pre-read FIXME comment 2004-06-22 23:44:35 +00:00
Jong Hyuk Choi
28bd88d289 more timelimit cleanup 2004-06-22 23:23:37 +00:00
Jong Hyuk Choi
b459e59394 patch for ITS#3173
- passing transaction ptr to psearch
2004-06-22 23:22:16 +00:00
Kurt Zeilenga
4e6ed7072d cleanup 2004-06-22 19:49:00 +00:00
Jong Hyuk Choi
3917d2b15d limit checking in syncrepl 2004-06-22 18:15:29 +00:00
Pierangelo Masarati
d8eff4d1b5 use hard limit instead of returning adminLimitExceeded when requested limit exceeds hard; improve (and document) syntax; modify test025 accordingly 2004-06-22 09:43:41 +00:00
Pierangelo Masarati
445067260e asserts contradict the comment above and are basically wrong 2004-06-22 08:40:53 +00:00
Pierangelo Masarati
528b6c7e25 clear pagedresults_state if reusing an inactive connection; prepare for more consistent behavior of pagedResults control 2004-06-21 21:31:55 +00:00
Pierangelo Masarati
eb6dcbe246 fix ITS#3196; more to do 2004-06-21 17:51:28 +00:00
Pierangelo Masarati
5ff789e379 fix pagedResults dangling pointer in parsing cookie (ITS#3089) 2004-06-21 17:49:03 +00:00
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
Pierangelo Masarati
66ddf62922 add idassert code (undocumented yet) 2004-05-13 20:25:53 +00:00
Pierangelo Masarati
3eebd5bb21 expose slap_sasl_matches() to allow external matching of authz* stuff; fix backwards compatibility bug for "dn:<pat>" as a shortcut to "dn.exact:<pat>" 2004-05-13 20:22:27 +00:00
Pierangelo Masarati
08a8e7b8c3 empty ID should be fine according to draft-weltman-ldapv3-proxy 2004-05-13 20:18:37 +00:00
Howard Chu
c0075d57b4 better fix for prev commit 2004-05-13 00:46:52 +00:00
Howard Chu
ee0af2b9d5 ITS#3137 defer schema loading until overlay configuration 2004-05-13 00:38:24 +00:00
Pierangelo Masarati
f109f1eb6d fix ITS#3140 2004-05-12 23:29:42 +00:00
Pierangelo Masarati
0caf54b429 typo in error message 2004-05-07 21:53:44 +00:00
Pierangelo Masarati
d40e5a365a fix DN_SEPARATOR() and clarify its use 2004-05-07 09:03:05 +00:00
Pierangelo Masarati
b34cf02488 more on fixing escaped semicolon in normalized DN 2004-05-07 02:18:08 +00:00
Pierangelo Masarati
80449c42d9 fix escaped semicolon bug in back-bdb 2004-05-07 02:09:06 +00:00
Pierangelo Masarati
dddee82680 cleanup 2004-05-06 14:51:14 +00:00
Luke Howard
b44a79965e Fix ITS#3131 properly - set operation SSF to MAX(TLS, SASL) SSFs 2004-05-06 03:27:45 +00:00
Luke Howard
1bdbb9e4f5 ITS #3131 - propagate SSF to syncrepl operation 2004-05-05 05:41:43 +00:00
Kurt Zeilenga
a3bbc8adec Update substr indexing macros to better separate
initial/final string settings from any string settings.
2004-05-04 22:31:57 +00:00
Pierangelo Masarati
d7ff03d4be allow consistent modification of readOnly and restrictedOperation attributes 2004-05-02 22:08:12 +00:00
Pierangelo Masarati
05fbf1cc97 add restrictedOperation to databases; modification to come soon 2004-05-01 18:55:52 +00:00
Pierangelo Masarati
25a054a487 improve restricted exop 2004-05-01 18:55:23 +00:00
Pierangelo Masarati
03c64541d4 add granular op restriction 2004-05-01 17:53:37 +00:00
Pierangelo Masarati
9284fbf8ad remove lint and cleanup namespace 2004-05-01 15:17:43 +00:00
Kurt Zeilenga
05463503e8 ITS#3118: fix objectIdentifierFirstComponentMatch for schema elements 2004-04-28 20:10:21 +00:00
Kurt Zeilenga
81d31dc721 ITS#3118: initial fix: (objectClasses=2.5.6.0) works
need to add special handler to allow (objectClasses=top) to work
2004-04-28 05:12:53 +00:00
Pierangelo Masarati
5e5e0cd98a quick hack for ITS#3118; may need work 2004-04-28 00:09:25 +00:00
Pierangelo Masarati
60b05c643d STRLENOF cleanup 2004-04-27 21:40:54 +00:00
Howard Chu
2349373daf Don't allow changes to the monitor database 2004-04-27 12:18:42 +00:00
Pierangelo Masarati
932c79eac5 set schema first, so it can be used, e.g., in ACLs 2004-04-27 12:04:46 +00:00
Kurt Zeilenga
510eb8dff2 Blind portability fix 2004-04-27 07:23:04 +00:00
Howard Chu
9644d6d820 Added readOnly attribute, can be toggled on individual databases. 2004-04-27 01:56:38 +00:00
Kurt Zeilenga
5f2497910b ITS#3115: don't increment argument to TOLOWER macro 2004-04-26 23:13:19 +00:00
Pierangelo Masarati
e1268a943b scan all results for multiple entries; fail in case more than one entry is returned, regardless of matches 2004-04-26 22:47:08 +00:00
Pierangelo Masarati
1f9c26e69f do not return entry pointer in case of failure 2004-04-26 22:46:13 +00:00
Pierangelo Masarati
0265f31b5b fix size test in internal search for bdb/hdb 2004-04-26 21:47:02 +00:00
Kurt Zeilenga
bfd09a16a2 Use AC_STRERROR_R 2004-04-26 19:16:14 +00:00
Pierangelo Masarati
af842eb734 fix comment 2004-04-26 17:50:39 +00:00
Howard Chu
9b38cd2572 ITS#3109 - added slap_tls_ctx 2004-04-26 01:10:49 +00:00
Pierangelo Masarati
2919bc09ac minor improvements 2004-04-26 00:17:58 +00:00
Pierangelo Masarati
ff0df4b6aa add group authz 2004-04-25 23:59:06 +00:00
Pierangelo Masarati
0cd5b9f766 parsing bug (does not affect RE22) 2004-04-24 17:47:24 +00:00
Pierangelo Masarati
3c1c61c5ef log slapi config read failure (partial fulfilment of ITS#3098) 2004-04-24 11:43:52 +00:00
Pierangelo Masarati
b69a2acdf5 use fist backend only if there is no global ACL (ITS#3100) 2004-04-20 19:26:02 +00:00
Pierangelo Masarati
dd0e285b12 experimental ACL scope correctness test 2004-04-20 19:16:21 +00:00
Pierangelo Masarati
b9dcdbb2d8 rename macro accordingly to new authz naming 2004-04-20 19:12:56 +00:00
Pierangelo Masarati
1c952c8a7e revert prevuos NULL o_bd commit 2004-04-20 15:18:06 +00:00
Pierangelo Masarati
dd1f2772a5 cleanup 2004-04-20 14:55:18 +00:00
Pierangelo Masarati
4d3a49b33f improve slapacl 2004-04-20 14:55:02 +00:00
Pierangelo Masarati
30f697beeb improve dn.one="" fix 2004-04-20 14:50:16 +00:00
Pierangelo Masarati
537a4cae02 global ACLs were not used because op->o_bd is set to &backends[0] if NULL 2004-04-20 14:42:48 +00:00
Pierangelo Masarati
3c5f305a7f fix acl bug when using dn.one="" 2004-04-20 14:15:39 +00:00
Pierangelo Masarati
a07d8ee0b7 improve slapacl option sanity checks 2004-04-20 09:17:26 +00:00
Kurt Zeilenga
1372965d89 ITS#3092: Rename sl_free() and friends to slap_sl_free() 2004-04-20 03:44:57 +00:00
Pierangelo Masarati
0aeec234ea update 2004-04-20 00:32:46 +00:00
Pierangelo Masarati
b76bfe6351 more cleanup 2004-04-20 00:26:42 +00:00
Pierangelo Masarati
7b65d46b1b add slapacl tool 2004-04-20 00:08:44 +00:00
Kurt Zeilenga
69eeb79662 Additional invalid objectClass changes (ITS#3097)
catch error in validation/pretty functions
2004-04-19 20:45:26 +00:00
Kurt Zeilenga
cd84c58d4a Fix: ldapadd with undefined objectclass causes assertion failure (ITS#3097) 2004-04-19 19:27:51 +00:00
Pierangelo Masarati
2320192db0 more cleanup 2004-04-19 18:42:00 +00:00
Pierangelo Masarati
dd48690eaa add logs; fix bug in group/dn selection logic 2004-04-17 18:12:37 +00:00
Pierangelo Masarati
249a214ca6 yet another problem in pr limits 2004-04-17 15:42:55 +00:00
Howard Chu
a2a2ccf848 Added static ppolicy, refinit, unique overlays 2004-04-17 15:41:31 +00:00
Howard Chu
7fb90589af Fix replog check 2004-04-17 15:41:16 +00:00
Howard Chu
c8ca3e2af6 Assume slapd if argv[0] is unrecognized, don't fail.
libtool creates lt-slapd for some dynamic builds...
2004-04-17 15:28:07 +00:00
Howard Chu
81bc7fcc8c Fix module link libraries 2004-04-17 15:12:20 +00:00
Pierangelo Masarati
7be90a7ddf remove unused structure member ps_id 2004-04-17 15:01:13 +00:00
Howard Chu
e034b942bc Added ppolicy rules 2004-04-17 13:35:54 +00:00
Pierangelo Masarati
6fe2750aa5 allow backwards compatibility for 'T' option (single char) 2004-04-17 10:48:40 +00:00
Howard Chu
8da6bf194a Added referential integrity and attribute uniqueness overlays 2004-04-17 08:17:43 +00:00
Pierangelo Masarati
71921f219c further improvement... 2004-04-16 19:10:09 +00:00
Pierangelo Masarati
9b3a3d5fce improve tool mode selection by slapd switch 2004-04-16 18:54:15 +00:00
Kurt Zeilenga
a54900be42 s/saslAuthz/authz/ 2004-04-16 06:12:13 +00:00
Pierangelo Masarati
93ff139915 split objectClass and attributeType mapping (should cure ITS#3091: Sybase compatibility) 2004-04-15 22:29:52 +00:00
Pierangelo Masarati
6624f68725 fix braindead config option (mostly harmless) 2004-04-15 20:27:43 +00:00
Pierangelo Masarati
9962894c58 sounds a bit more conservative... 2004-04-15 20:26:39 +00:00
Pierangelo Masarati
1f9d280b1a sounds like we're there... 2004-04-15 11:12:01 +00:00
Pierangelo Masarati
e77b064aab fix default sizelimit on pr (ITS#3085) 2004-04-15 09:15:30 +00:00
Kurt Zeilenga
7999211371 note that 'email' is deprecated in favor of 'mail' 2004-04-15 02:59:54 +00:00
Kurt Zeilenga
774cec3f84 misc updates 2004-04-15 02:59:38 +00:00
Luke Howard
22f425c1f3 Fix warning in assignment 2004-04-15 02:37:40 +00:00
Luke Howard
12949734bd Fix warning in assignment 2004-04-15 02:36:23 +00:00
Luke Howard
b047ba6f7e Fix warning 2004-04-15 02:35:39 +00:00
Pierangelo Masarati
9bad466a37 added schema from draft-joslin-config-schema-07.txt 2004-04-15 00:59:18 +00:00
Pierangelo Masarati
165778483b fix paged results limits 2004-04-15 00:18:17 +00:00
Pierangelo Masarati
d7884b5853 rename macro 2004-04-14 23:23:46 +00:00
Pierangelo Masarati
e46e44c34d enable use of librewrite for sasl-regexp only if librewrite is compiled (ITS#3084) 2004-04-14 23:17:57 +00:00
Pierangelo Masarati
3643d5fc16 cleanup 2004-04-14 17:47:53 +00:00
Pierangelo Masarati
ec34062ed4 improve logging 2004-04-14 12:50:11 +00:00
Pierangelo Masarati
62198f1c2e re-fix limits checking logic 2004-04-13 20:38:36 +00:00
Pierangelo Masarati
63035a5b5b allow optional overlays 2004-04-13 18:49:31 +00:00
Pierangelo Masarati
af71dbc4a8 more improvements 2004-04-13 18:43:59 +00:00
Pierangelo Masarati
61ee5897e0 various improvements 2004-04-13 18:41:00 +00:00
Pierangelo Masarati
d28cf4a77a add slapsaslauth test tool 2004-04-13 17:26:32 +00:00
Pierangelo Masarati
faa1385f51 cleanup error messages and logs 2004-04-13 17:26:07 +00:00
Pierangelo Masarati
3ea4368913 add slapsaslauth test tool 2004-04-13 17:18:03 +00:00
Pierangelo Masarati
629cd41f58 use librewrite for sasl-regexp (need to #define SLAP_X_SASL_REWRITE; ITS#2886); lots of cleanup 2004-04-13 16:51:25 +00:00
Pierangelo Masarati
6c01508f0c cleanup needed for tool mode compatibility (may need work) 2004-04-13 16:49:12 +00:00
Pierangelo Masarati
c846d75b8b lots of cleanup 2004-04-13 16:47:23 +00:00
Pierangelo Masarati
755210c960 use librewrite for sasl-regexp (need to #define SLAP_X_SASL_REWRITE; ITS#2886); lots of cleanup 2004-04-13 16:47:04 +00:00
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