Howard Chu
87c74c2d52
Cleanup, delete test define
2004-11-19 23:45:31 +00:00
Howard Chu
d7c5ccabe9
Use exop_is_write() macro
2004-11-19 23:27:02 +00:00
Howard Chu
59b50101bd
Overlay for serializing modifications of a specific entry without
...
using backend-specific locks
2004-11-19 23:22:49 +00:00
Pierangelo Masarati
f1187e4165
the caching database may need to inherit ACLs and limits from the proxy
2004-11-17 21:38:14 +00:00
Pierangelo Masarati
158067a46e
sanity check
2004-11-13 17:27:15 +00:00
Pierangelo Masarati
7ff445d8ae
further cleanup
2004-11-13 15:10:47 +00:00
Pierangelo Masarati
d7bdb8cb24
disable referral rewrite in default suffix massage
2004-11-13 12:15:40 +00:00
Howard Chu
e0726c2b55
A bit more...
2004-11-09 03:12:03 +00:00
Howard Chu
e4c231fe0c
Only use libltdl #if SLAPD_MODULES is defined, otherwise ignore
...
external pwdCheckModules.
2004-11-05 08:57:05 +00:00
Howard Chu
9ebcc83796
Minor cleanup of prev commit
2004-11-04 03:10:03 +00:00
Howard Chu
3d23a4d2c5
Consolidate redundant code
2004-11-04 02:59:34 +00:00
Howard Chu
aa7ed3d8c8
Incomplete skeleton
2004-11-02 04:51:06 +00:00
Howard Chu
1df6d76269
Add ppolicy_hash_cleartext config keyword, hash Adds as well as Modifies.
...
Changed check_pw_quality callback to pass entry's Attributes in final arg.
2004-10-07 04:07:17 +00:00
Howard Chu
7e87f54716
Revert ITS#3353 patch, it needs to be reworked.
2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e
ITS#3353 consolidate slapd globals into a single struct
2004-10-01 07:33:16 +00:00
Howard Chu
e014144f98
Move time parsers from ppolicy.c to liblutil; preserve greater precision
2004-09-28 12:23:37 +00:00
Pierangelo Masarati
761f287943
multiple precision with BIGNUM/gmp/ulong
2004-09-26 22:58:47 +00:00
Pierangelo Masarati
2e9d64741c
put overlays in alphabetical order
2004-09-26 22:53:54 +00:00
Howard Chu
89b03a1c7e
Make ppolicy_add consistent with ppolicy_modify - don't add pwdChangedTime
...
opattr on replicated entries.
2004-09-21 00:14:28 +00:00
Jong Hyuk Choi
98dc97bcb9
memory leak fixes
2004-09-11 02:02:09 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Pierangelo Masarati
ba7bb04ed3
check if "rootdn" is defined
2004-08-25 14:29:40 +00:00
Pierangelo Masarati
23cbd59126
- proxy cache erroneously returns the filtering attributes
...
and the objectClass right after caching, even if not requested,
while subsequent searches are fine;
- the response callback needs be apended at the end of the
callback list, otherwise the resulting entries are cached
before other overlays can alter them
- the callback structure and its contents needs be freed
2004-08-24 09:24:55 +00:00
Howard Chu
91033d6552
Reworked fix for ITS#3140 - add access parameter to backend_attribute
2004-08-18 17:14:22 +00:00
Howard Chu
d504ae047e
More for ITS#3288 be_pcl_mutex fixes
2004-08-18 16:43:19 +00:00
Howard Chu
77df33a164
Fix crash on modify if userpassword didn't exist yet
2004-08-15 22:23:58 +00:00
Pierangelo Masarati
9f6f5491fe
slightly rework user/operational attributes handling (including fixing a bug in the logic of the previous change to backend_operational()); cleanup; more improvements to slapo-rwm and back-relay
2004-07-25 23:16:40 +00:00
Pierangelo Masarati
32d9856fb1
hack to handle cases where o_req_dn = o_req_ndn
2004-07-22 23:48:04 +00:00
Pierangelo Masarati
52a49e0840
improve manual and make naming contexts uniform; NOTE: backwards compatibility not preserved
2004-07-20 00:46:20 +00:00
Pierangelo Masarati
dbb4593d75
rework passwd_extop to comply with rwm requirements...
2004-07-20 00:22:05 +00:00
Pierangelo Masarati
b94d5e17e2
rework op/rs structures to deal with opeartional attributes
2004-07-18 21:44:29 +00:00
Howard Chu
a14bda1df4
strptime is unreliable, just parse time ourselves
2004-07-18 18:28:16 +00:00
Pierangelo Masarati
6a02b9b4fd
don't ask for attributes
2004-07-17 17:06:03 +00:00
Pierangelo Masarati
56303ce55a
cleanup
2004-07-14 01:16:23 +00:00
Pierangelo Masarati
d02a8cab65
revert previous change; anticipate backend_operational before overlays callbacks (thanks, Howard); rework overlays cycle to allow callbacks to free themselves (thanks Howard)
2004-07-14 00:42:23 +00:00
Pierangelo Masarati
3b8111f1c4
use a separate field for a modified entry in SlapReply
2004-07-13 22:52:54 +00:00
Pierangelo Masarati
d6e3c93001
memory hanling cleanup
2004-07-13 01:00:48 +00:00
Pierangelo Masarati
7011c4f3e2
change flags only if entry massaging goes fine
2004-07-12 22:50:34 +00:00
Pierangelo Masarati
f4a428d060
cleanup
2004-07-12 22:33:44 +00:00
Howard Chu
2954a90483
Add backend_startup_one()
2004-07-12 20:27:33 +00:00
Pierangelo Masarati
22bd2667ce
mostly done...
2004-07-11 22:57:51 +00:00
Howard Chu
3dedb0839c
Remove redundant code from previous patch
2004-07-10 18:26:05 +00:00
Pierangelo Masarati
7679f37b1d
fix previous commit (needs work)
2004-07-10 15:15:01 +00:00
Pierangelo Masarati
1c2759e689
cache backend was not started up
2004-07-10 11:37:48 +00:00
Pierangelo Masarati
8e3fba7e1e
silence a few (mostly harmless) warnings
2004-06-12 15:08:59 +00:00
Pierangelo Masarati
d1b692ceb4
clarify no limits in (internal) searches
2004-06-12 11:33:21 +00:00
Jong Hyuk Choi
aa61c0b122
ITS#3180 Fix
2004-06-08 02:54:21 +00:00
Howard Chu
932d924f50
ITS#3170 fix uninit'd mod.sml_nvalues
2004-06-03 23:09:25 +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
69ff27f9d6
ITS#3150 fix uninit'd return_val
2004-05-19 22:07:06 +00:00
Pierangelo Masarati
657e580bbe
fix schema initialization when built as module...
2004-05-13 23:33:14 +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
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
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
e034b942bc
Added ppolicy rules
2004-04-17 13:35:54 +00:00
Howard Chu
8da6bf194a
Added referential integrity and attribute uniqueness overlays
2004-04-17 08:17:43 +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
b2f17ad4ec
update OIDs
2004-04-13 09:02:03 +00:00
Pierangelo Masarati
eb73849592
last mod overlay (needs cleanup)
2004-04-10 20:56:09 +00:00
Pierangelo Masarati
c0c24cfec5
first round of SHADOW flags/isupdate test unification
2004-04-10 10:00:58 +00:00
Kurt Zeilenga
a122cda534
s/bvalues/values
2004-04-09 20:55:30 +00:00
Kurt Zeilenga
c7f0438044
bvalue cleanup
2004-04-08 06:49:17 +00:00
Howard Chu
cba00e0025
Fix attributions, add HP info
2004-04-08 02:59:28 +00:00
Jong Hyuk Choi
1c1b2bb6ee
updatedn fix for syncrepl
2004-04-07 17:32:37 +00:00
Kurt Zeilenga
44725e7303
use BER_BVNULL
2004-04-07 04:11:43 +00:00
Howard Chu
7122df3573
Fix search limits due to frontend limit_check change
2004-04-06 23:29:33 +00:00
Pierangelo Masarati
25fce61f70
silence erroneous warning
2004-04-06 12:22:51 +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
Kurt Zeilenga
c7e89d57be
swap be_isroot and be_isroot_dn symbols
2004-04-06 01:06:20 +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
2fcaa15b90
First rounds of backend/database flag cleanup
2004-04-05 21:00:16 +00:00
Pierangelo Masarati
e516247068
exploit new isroot_dn helper
2004-04-05 17:31:27 +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
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
Howard Chu
e1fc5012bd
Don't manipulate password history if not configured in policy
2004-04-03 06:21:03 +00:00
Kurt Zeilenga
ada53492fd
Seems all overlays are going here (at present)
2004-03-20 23:10:58 +00:00
Howard Chu
be16224b03
A toy/demo overlay for collective attributes.
2004-03-20 21:54:31 +00:00
Howard Chu
5db888434b
Overlay API notes. work in progress, please comment.
2004-03-20 20:30:57 +00:00
Pierangelo Masarati
2c74b5dbed
follow search references as well
2004-03-20 16:35:55 +00:00
Kurt Zeilenga
9b91e0b067
Add readme.
2004-03-19 16:37:20 +00:00
Pierangelo Masarati
da79e55e4b
oops, I did it again
2004-03-18 19:45:15 +00:00
Pierangelo Masarati
1203eb4c82
cleanup rwm overlay; init/destroy session cookie; strip (optional) leading 'rwm-' from config directives
2004-03-18 19:21:57 +00:00
Pierangelo Masarati
fa3baaeae9
overlays reworking
2004-03-18 18:59:46 +00:00
Howard Chu
ea14637a0d
Fix prev commit
2004-03-18 10:51:18 +00:00
Howard Chu
d1292c1b14
Added ppolicy_use_lockout keyword; Default behavior is not to issue the
...
PP_accountLocked error for locked accounts. (Gives too much information
to attackers.)
2004-03-18 10:35:54 +00:00
Howard Chu
def2fab7b5
Added ppolicy_hide_lockout keyword
2004-03-18 10:20:27 +00:00
Howard Chu
2808c8d302
Fix deadlock in remove_query_data
2004-03-17 20:45:14 +00:00
Howard Chu
448239a6c9
Fix a couple SEGVs
2004-03-17 19:33:35 +00:00
Howard Chu
dbade4ad8c
Fix account lock check
2004-03-17 09:54:49 +00:00
Howard Chu
b59da518cf
Password policy overlay, implements draft 7. The spec is still in flux;
...
this module should not be used in production.
2004-03-16 10:15:18 +00:00
Pierangelo Masarati
246fa41c96
"searchFilter" by default must be empty
2004-03-10 21:53:39 +00:00
Pierangelo Masarati
2f4678f204
"searchFilter" by default must be empty
2004-03-10 21:44:22 +00:00
Pierangelo Masarati
c507808524
add "searchFilterAttrDN" rewrite context, and allow filterstring rewrite
2004-03-10 21:41:02 +00:00
Pierangelo Masarati
25b24289d2
fix typos
2004-03-09 20:21:10 +00:00
Pierangelo Masarati
28285002a1
deny an operation
2004-03-09 10:23:19 +00:00
Pierangelo Masarati
6a425692be
another round at rwm; now add and compare are nearly complete; error handling is in place
2004-03-09 07:06:20 +00:00
Howard Chu
b36e3a1ab0
ITS#2960 - make sure bi_open gets invoked
2004-02-13 00:42:21 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Howard Chu
71c076dd5d
Avoid runtime copying of BackendDB
2003-12-23 14:12:54 +00:00
Howard Chu
3b0b66de10
Fix install rule
2003-12-18 20:26:05 +00:00
Pierangelo Masarati
3a5c53a8b1
typo
2003-12-14 15:36:46 +00:00
Pierangelo Masarati
588f1f6185
resolve naming conflicts when compiling rwm overlay as static (will disappear as soon as rwm stuff is removed from back-ldap/back-meta)
2003-12-14 11:13:25 +00:00
Pierangelo Masarati
9c5fe98a79
declare overlays_init()
2003-12-13 10:57:13 +00:00
Howard Chu
2aca8de6b3
Whitespace
2003-12-10 08:52:19 +00:00
Howard Chu
e28d089a93
Fixup overlay build environment
2003-12-10 08:45:53 +00:00
Pierangelo Masarati
409003a731
make names unique, since back-ldap/back-meta still have/use suffix_massage* routines
2003-12-10 00:15:02 +00:00
Pierangelo Masarati
b5bba83a31
add rwm overlay configure and make stuff (need autoconf/autoheader ...)
2003-12-09 23:50:10 +00:00
Kurt Zeilenga
fbba83b20f
notices and acknowledgements
2003-12-08 17:41:40 +00:00
Howard Chu
be1a728c5b
Added sc_next and sc_cleanup to slap_callback
2003-12-07 08:51:23 +00:00
Howard Chu
0690f79a5a
Cleanup unknown config directive handling.
2003-12-07 07:07:00 +00:00
Howard Chu
9d3c808428
Fix bogus free
2003-12-06 23:54:22 +00:00
Howard Chu
44fc00b4c0
Remove trailing whitespace
2003-12-06 23:53:46 +00:00
Howard Chu
11a4b3eb57
Use runqueue for consistency checker
2003-12-06 23:32:56 +00:00
Howard Chu
0cef026e98
More memory cleanup
2003-12-06 21:55:47 +00:00
Pierangelo Masarati
4ccd44af8b
improvements
2003-12-06 14:35:45 +00:00
Howard Chu
1a9064794a
Fix add invocation
2003-12-06 13:48:06 +00:00
Howard Chu
7751af3f74
Perform database updates as root
2003-12-06 11:25:37 +00:00
Howard Chu
64e337eacf
Overlay build environment
2003-12-06 10:59:27 +00:00
Pierangelo Masarati
723bc044e0
changes required to use rwm overlay
2003-12-06 10:54:10 +00:00
Pierangelo Masarati
f02b6cfba7
first cut at dn rewrite/attr mapping overlay
2003-12-06 09:53:41 +00:00
Howard Chu
58355c5bc2
Proxy-cache rewritten as an overlay
2003-12-05 15:49:38 +00:00
Kurt Zeilenga
410d514461
Notices and acknowledgements
2003-11-28 21:07:50 +00:00
Howard Chu
0eb7ca22f7
Starting a collection of overlays
2003-09-29 05:49:39 +00:00