Pierangelo Masarati
387864a9f2
cleanup previous commit
2005-04-12 19:35:53 +00:00
Pierangelo Masarati
239f8fe2b2
fix the fix to previous commit
2005-04-12 17:11:30 +00:00
Pierangelo Masarati
42dda802ba
add comment (see ITS#3652)
2005-04-12 17:01:31 +00:00
Pierangelo Masarati
6f1ebb180e
fix previous commit (ITS#3654)
2005-04-12 16:35:52 +00:00
Howard Chu
bb9011b385
ITS#3648 use slapd runqueue for periodic sync
2005-04-12 12:35:00 +00:00
Howard Chu
fbce032cf2
Fix checkpoint task - must call stoptask before returning
2005-04-12 12:32:48 +00:00
Howard Chu
5aed76fe78
ITS#3573, mark pwdChangedTime, pwdGraceUseTime, pwdExpirationWarned,
...
pwdHistory, and pwdReset NO-USER-MODIFICATION
2005-04-12 10:58:50 +00:00
Howard Chu
d38707a952
Fix slapMode parens
2005-04-12 10:48:22 +00:00
Pierangelo Masarati
d2dd3a616c
hide changes behind specific #ifdef, conditioned by LDAP_DEBUG; always allow access on back-dnssrv
2005-04-12 01:07:30 +00:00
Pierangelo Masarati
f103c78530
cleanup previous commit
2005-04-12 00:34:13 +00:00
Pierangelo Masarati
15016154b6
add ACL hook to overlays
2005-04-12 00:24:04 +00:00
Pierangelo Masarati
50bb034d97
in case of success, release the entry only after global overlays have seen it on the way back
2005-04-12 00:20:16 +00:00
Pierangelo Masarati
159dad3d9f
iptr was unint'd
2005-04-11 21:44:29 +00:00
Pierangelo Masarati
91b4e991be
cleanup & silence warnings
2005-04-11 21:35:34 +00:00
Pierangelo Masarati
e17ec4eb52
call frontend's be_unbind, if any, to honor hooks registered by global overlays (ITS#3649)
2005-04-11 19:12:30 +00:00
Howard Chu
b0627689e8
ITS#3647 fix hdb dn2idl SEGV
2005-04-11 04:00:08 +00:00
Pierangelo Masarati
5affbfa428
add SASL bind for acl-authc; use slap_bindconf
2005-04-10 23:44:06 +00:00
Pierangelo Masarati
c1885efd83
more bindconf cleanup
2005-04-10 23:43:17 +00:00
Pierangelo Masarati
f7ead8f919
apply naming scheme to global/database schema
2005-04-10 22:27:50 +00:00
Kurt Zeilenga
3e800f20bd
<limits.h> cleanup && ITS#3643
2005-04-10 19:32:14 +00:00
Pierangelo Masarati
3546934005
same for objectClass; improve previous commit
2005-04-10 15:40:15 +00:00
Pierangelo Masarati
fa4b1c69d7
Added further consistency checks and a new schema parse error value
...
which should help in debugging schema development for back-config.
The check essentially verifies, when a duplicate attributeType is found,
that the new attributeType definition is an exact duplicate of the
definition already present in the schema.
2005-04-10 15:14:13 +00:00
Pierangelo Masarati
f1870628be
clarify comment
2005-04-10 09:54:21 +00:00
Pierangelo Masarati
53ce94a25d
protect all occurrences of ACL_DISCLOSE
2005-04-09 17:00:40 +00:00
Pierangelo Masarati
59c40035fd
cleanup
2005-04-09 16:50:07 +00:00
Howard Chu
e2a3fc3af3
Preserve OID macros for display in back-config
2005-04-09 16:13:04 +00:00
Pierangelo Masarati
58d4f7fc20
base64 encode passwords in back-config
2005-04-09 15:19:36 +00:00
Howard Chu
a2a28f7b95
ITS#3616 allow adding entry with zero-length DN if the suffix is zero-length
2005-04-09 11:28:06 +00:00
Howard Chu
7aac82d31c
ITS#3616 allow adding entry with zero-length DN if the suffix is zero length
2005-04-09 11:27:35 +00:00
Howard Chu
335e8a8ba7
Don't do ctxcsn checks in Tool mode, don't generate ctxcsn if it's missing
...
and we're also a consumer.
2005-04-09 11:26:31 +00:00
Howard Chu
20eaae2c7c
Silence warnings in prev commit
2005-04-09 11:21:08 +00:00
Howard Chu
f43086d1c1
ITS#3616 fixes for zero-length DN entry. generate context entry on the
...
fly if a modify is attempted and it does not exist.
2005-04-09 11:15:05 +00:00
Howard Chu
90d9791047
ITS#3616 use fake context entry if suffix is empty.
2005-04-09 10:01:13 +00:00
Howard Chu
632d7186c0
Don't crash on update_ctx if context entry has no contextCSN
2005-04-09 10:00:15 +00:00
Howard Chu
0c0cb6a924
ITS#3616 skip naming checks for entry with zero-length DN
2005-04-09 09:59:40 +00:00
Howard Chu
d9df909ba4
ITS#3638 Init ids to zero in bdb_dn2idl
2005-04-09 07:45:14 +00:00
Howard Chu
e90f933e8c
ITS#3646 allow default index
2005-04-09 07:32:51 +00:00
Howard Chu
26a101edce
ITS#3644 include limits.h in config.h, set PATH_MAX in config.h
2005-04-09 06:35:28 +00:00
Pierangelo Masarati
86b697f236
further cleanup; plug memory leak?
2005-04-09 01:00:53 +00:00
Howard Chu
dbb5d00908
ITS#3267 add a comment
2005-04-09 00:56:30 +00:00
Howard Chu
546bc9cf19
ITS#3267 fix out-of-order slapadd
2005-04-09 00:38:18 +00:00
Pierangelo Masarati
14b2b4de13
cleanup
2005-04-09 00:29:06 +00:00
Pierangelo Masarati
09e4da6bef
check parameters
2005-04-09 00:11:31 +00:00
Pierangelo Masarati
b109d018eb
honor disclose
2005-04-08 23:33:03 +00:00
Pierangelo Masarati
64ae69f6df
honor disclose and search access of searchBase; fix potential lock issue; honor abandon
2005-04-08 23:20:37 +00:00
Pierangelo Masarati
9428882682
further improve previous fix
2005-04-08 22:11:56 +00:00
Pierangelo Masarati
7d958d9773
further improve previous fix
2005-04-08 22:06:06 +00:00
Pierangelo Masarati
914f47f253
improve previous fix; return LDAP_REFERRAL to avoid returning result multiple times
2005-04-08 21:58:58 +00:00
Pierangelo Masarati
59b96206a8
cleanup sr_ref
2005-04-08 21:38:38 +00:00
Jong Hyuk Choi
8b53a1f0bb
malloc cleanup
2005-04-08 19:39:58 +00:00
Pierangelo Masarati
889ce515ad
save a malloc; some more cleanup
2005-04-08 19:17:51 +00:00
Pierangelo Masarati
bc97f801bf
fix previous commit
2005-04-08 00:19:01 +00:00
Pierangelo Masarati
4abbf9c610
implement add/delete granularity in write access (ITS#3631)
2005-04-08 00:18:24 +00:00
Pierangelo Masarati
5807c2b379
add dynlist build stuff
2005-04-07 23:51:31 +00:00
Pierangelo Masarati
22490d016a
add dynlist build stuff
2005-04-07 23:35:36 +00:00
Pierangelo Masarati
6e2c78c309
add dynlist.c from SysNet's repository; needs build stuff (when mature)
2005-04-07 22:42:44 +00:00
Pierangelo Masarati
b94a776870
document option '-F'
2005-04-07 20:12:57 +00:00
Howard Chu
9e9e3c988a
Fix access error return
2005-04-07 19:54:37 +00:00
Pierangelo Masarati
d213e99443
line up usage message
2005-04-07 19:32:50 +00:00
Howard Chu
931d7f4a95
Ignore include file records when loading LDIF tree, their contents
...
have already been incorporated into the LDIF.
2005-04-07 05:32:21 +00:00
Howard Chu
15fe667281
On add, sort attributes in schema order to enforce config sequencing
2005-04-07 05:23:23 +00:00
Kurt Zeilenga
b425b15fc8
Improved log message when cannot find entry of desired class
2005-04-07 00:54:06 +00:00
Pierangelo Masarati
0220a25f05
use alias name instead of column name in order by clause (ITS#3629)
2005-04-04 17:41:29 +00:00
Pierangelo Masarati
f1698e30f5
update diagnostics and man pages
2005-04-04 12:24:50 +00:00
Pierangelo Masarati
e0fd9ebf14
cleanup previous commits
2005-04-04 11:19:21 +00:00
Pierangelo Masarati
f43f7b1bfb
cleanup listener permissions
2005-04-04 10:42:50 +00:00
Howard Chu
bf0373b486
Add conn->c_sasl_authz_dn, store SASL authzDN separately from authcDN
2005-04-03 09:38:53 +00:00
Pierangelo Masarati
3eb87b2faa
implement "realdn" by clause in ACLs (ITS#3627; accounting for Howard's remarks)
2005-04-03 01:59:03 +00:00
Pierangelo Masarati
fe1b73c712
implement checking of the whole target entry if no attributes are specified (ITS#3624)
2005-04-03 01:20:36 +00:00
Pierangelo Masarati
f1e2d35bd6
rework few members of slap_bindconf; silence few warnings
2005-04-02 01:33:48 +00:00
Pierangelo Masarati
a736b1041e
clarify the usage of dnParent( dn, dn )
2005-04-01 23:58:38 +00:00
Pierangelo Masarati
8e19437ddc
allow slapdn to return the DN in pretty/normal only mode, without diagnostics, to be used as filter (should allow reading from stdin as well)
2005-04-01 12:59:26 +00:00
Pierangelo Masarati
ae3f784d5b
fix database operations in tool mode (ITS#3622)
2005-04-01 12:20:02 +00:00
Howard Chu
f9917a9c16
Truncate \r if it appears at end of DB_CONFIG lines
2005-04-01 12:06:46 +00:00
Howard Chu
bff244da5b
Add dbconfig directive for creating/writing the DB_CONFIG file
2005-04-01 11:26:43 +00:00
Howard Chu
04f6efbe1c
ITS#3607 more for Win32 portability
2005-04-01 08:10:26 +00:00
Howard Chu
18d1821b1f
ITS#3607, added Win32 lock support
2005-04-01 06:10:06 +00:00
Kurt Zeilenga
af866c3b44
Added a conformant sortedResults support which is unable to sort anything.
2005-04-01 02:40:29 +00:00
Kurt Zeilenga
0b6ed01c05
cleanup
2005-04-01 02:39:01 +00:00
Howard Chu
652d0a189a
Fix filter crash when DN contains parenthesis
2005-04-01 02:13:17 +00:00
Pierangelo Masarati
3958eb9e98
actually retrieve the target, to apply clauses like sets and so
2005-03-31 21:21:16 +00:00
Pierangelo Masarati
2605dfa81f
cleanup options
2005-03-31 20:03:30 +00:00
Pierangelo Masarati
4cba10c13e
always shutdown (slaptest was not)
2005-03-31 19:34:36 +00:00
Pierangelo Masarati
584b21d20b
initial commit of "level" styles for "dn" and "self" by clauses (ITS#3615)
2005-03-31 18:10:11 +00:00
Pierangelo Masarati
26c1524163
rework provious commit(s)
2005-03-31 12:18:56 +00:00
Pierangelo Masarati
e85c3f2f6a
more cleanup?
2005-03-31 00:30:41 +00:00
Pierangelo Masarati
1c5e5b7db0
cleanup
2005-03-31 00:27:53 +00:00
Pierangelo Masarati
8d3eb19995
beautify conditional compilation warning
2005-03-30 23:46:25 +00:00
Pierangelo Masarati
a96f2af281
more dnParent() and misc cleanup
2005-03-30 22:45:46 +00:00
Pierangelo Masarati
20b3d14dc3
more dnParent() cleanup
2005-03-30 22:29:54 +00:00
Pierangelo Masarati
83bb1c93cb
allow setting misc params used by ACL checking
2005-03-30 22:29:35 +00:00
Pierangelo Masarati
61bb4bb630
allow dnParent to work in place
2005-03-30 20:18:11 +00:00
Pierangelo Masarati
22bc85dc77
minor cleanup
2005-03-30 18:58:52 +00:00
Pierangelo Masarati
7cf03f2b50
don't fail if the directory can't be opened because it doesn't exist; silence few warnings
2005-03-30 18:38:04 +00:00
Pierangelo Masarati
7d531d1416
release lock as early as possible; deferring referral checking in searches may reduce the amount of dynamic entry generation
2005-03-29 23:56:23 +00:00
Pierangelo Masarati
908aaa5107
add manageDSAit & referral support (to be tested); cleanup some error conditions
2005-03-29 18:57:42 +00:00
Pierangelo Masarati
40ec0992d6
don't continue if fopen failed
2005-03-29 11:43:36 +00:00
Howard Chu
fbbc07e644
Allow for alternate ordering characters to be used in the filesystem
2005-03-29 08:29:38 +00:00
Howard Chu
b8bf38cd5b
Tighten up some schema
2005-03-29 03:31:48 +00:00
Howard Chu
aaf112c9c2
Better numeric sorting for ordered entries
2005-03-29 03:11:40 +00:00
Sang Seok Lim
d2af85fd08
Fixing memory leakage in attribute aliasing
2005-03-29 00:12:05 +00:00
Pierangelo Masarati
429629ff0c
fix previous commit
2005-03-28 18:53:57 +00:00
Pierangelo Masarati
27e5fabb8b
document missing feature; avoid the risk of returning argv in an inconsistent state when an error occurs
2005-03-28 18:51:02 +00:00
Howard Chu
62d21aadd0
Register ManageDSAit control
2005-03-28 10:23:04 +00:00
Howard Chu
51c913d83c
Fix missing break's, add overlay works
2005-03-27 13:27:30 +00:00
Howard Chu
a2348970e5
Fix search, fix add. Adding backends/databases works.
2005-03-27 13:08:57 +00:00
Howard Chu
18bf31b3c6
ITS#3607 build alock
2005-03-27 06:45:15 +00:00
Howard Chu
4d4e58d8f1
ITS#3607 build alock code
2005-03-26 10:21:43 +00:00
Howard Chu
d7396583d5
ITS#3607 add automatic BDB recovery
2005-03-26 09:52:04 +00:00
Kurt Zeilenga
e7e8ec90b6
Update uniqueMemberMatch to be consistent with latest
...
draft-ietf-ldapbis-syntaxes
Add uniqueMemberMatch approximate support
Add uniqueMemberMatch indexing support
2005-03-26 02:07:00 +00:00
Kurt Zeilenga
71c2c1c9fe
Change "subtree delete not supported" diagnostic text to
...
"subordinate objects must be deleted first" as the "not supported"
language implies some feature of LDAP is not implemented in slapd(8).
2005-03-26 00:53:00 +00:00
Howard Chu
eb8f927af3
Fix copyright/attribution comments
2005-03-25 20:11:28 +00:00
Kurt Zeilenga
8da81d42c7
ITS#3538: improved substrings matching (spaces handled
...
in accordance with LDAPprep)
2005-03-25 05:57:07 +00:00
Howard Chu
5a66d7de66
Fix prev commit
2005-03-24 06:06:40 +00:00
Howard Chu
0076b40c32
Convert backendInfo/backendDB to STAILQs
2005-03-24 05:13:31 +00:00
Kurt Zeilenga
7677c00d80
cleanup
2005-03-23 01:50:49 +00:00
Howard Chu
5c3a4e176e
Preliminary ldapAdd support
2005-03-21 23:59:53 +00:00
Howard Chu
4fcab959c0
Define SLAP_USE_CONFDIR, fix moduleload
2005-03-21 20:07:05 +00:00
Howard Chu
c9141a9a08
More parsing fixes
2005-03-21 11:14:37 +00:00
Howard Chu
38383fca41
Fix startup check
2005-03-21 10:32:28 +00:00
Howard Chu
3f357270d4
Fix unparsers, schema loading works
2005-03-21 10:23:01 +00:00
Howard Chu
119cbcaba4
Schema unparsing support
2005-03-21 08:31:48 +00:00
Howard Chu
fba9235d0f
Add HARDCODE schema flags
2005-03-21 00:22:54 +00:00
Howard Chu
1476ad80a6
Tweak log msg in prev commit
2005-03-20 20:55:49 +00:00
Howard Chu
e2a4978d82
Runtime detection of BDB read-only transaction patch
2005-03-20 20:54:44 +00:00
Kurt Zeilenga
9198281e9e
db mismatch (including patch mismatch) should be an error
2005-03-20 17:18:15 +00:00
Howard Chu
320c291455
Fix config_rootpw
2005-03-20 09:50:09 +00:00
Howard Chu
48ee1e7021
Fix prev commit
2005-03-20 09:24:35 +00:00
Howard Chu
fda662bd34
More for loading config from LDIF
2005-03-20 09:13:48 +00:00
Kurt Zeilenga
43ba1a98db
ITS#3579 fixes
2005-03-20 04:29:35 +00:00
Kurt Zeilenga
9507a11573
cleanup
2005-03-20 01:58:38 +00:00
Kurt Zeilenga
305f6c4f2c
Honor disclose in compare_entry()
2005-03-19 20:14:14 +00:00
Kurt Zeilenga
5d169e40ea
move honor disclose back behind LDAP_DEVEL
...
needs more work before really ready for release (2.4?)
2005-03-19 19:31:32 +00:00
Howard Chu
90172993a3
Add ordered-values schema flag
2005-03-18 23:24:28 +00:00
Howard Chu
c2a9642850
Support subtree rename, refuse subtree delete
2005-03-18 23:22:12 +00:00
Howard Chu
f06247fede
Added some implementation notes (reminders...)
2005-03-18 09:50:06 +00:00
Howard Chu
f77233d2ea
Fix slapd_crypt declaration
2005-03-18 06:12:54 +00:00
Howard Chu
afe12db0d1
Cleanup prev commit
2005-03-18 06:12:27 +00:00
Howard Chu
2da2336ac6
Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy
2005-03-18 06:06:38 +00:00
Pierangelo Masarati
dec4c2197a
avoid potential deadlock related to ACLs checking
2005-03-18 00:10:10 +00:00
Kurt Zeilenga
c29c0c9bd8
Fix compile warning
2005-03-17 23:55:52 +00:00
Howard Chu
ac3ad635ef
Silently ignore if back-ldif is not present
2005-03-17 23:47:20 +00:00
Howard Chu
83c748fe5c
More for loading config from database. Fix non-reentrant strtok_quote.
2005-03-17 23:07:44 +00:00
Howard Chu
1e5f43ddd1
In aci_set_gather propagate op->o_private to subordinate search
2005-03-17 22:28:30 +00:00
Kurt Zeilenga
85bc7ccd2c
"disclose" implementation good enough for beta
2005-03-17 17:33:03 +00:00
Howard Chu
4a8d8eb78a
Read config tree from back-ldif
2005-03-17 06:34:11 +00:00
Howard Chu
dccfd8ae23
Fix enum_tree, return in lexical order
2005-03-17 06:31:50 +00:00
Howard Chu
3ead49d206
ITS#3542 - ignore timevals from deferred tasks
2005-03-17 05:03:28 +00:00
Howard Chu
9bfb4e7213
Revert prev commit, wrong fix
2005-03-17 04:50:19 +00:00
Howard Chu
d1050c5aa2
ITS#3542 if slapd processes too slowly, time diff can go negative
2005-03-17 04:44:21 +00:00