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