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
Kurt Zeilenga
bd765b849d
ITS#2768: configuring slurpd's interval between replog checks
...
based upon a patch submitted by Jason Townsend (Apple).
2004-03-23 01:12:11 +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
Howard Chu
e9188de738
Replaced slap_overinfo.oi_bd with oi_orig.
2004-03-20 12:56:31 +00:00
Howard Chu
09a379394a
ITS#3033 fix debug msg segv
2004-03-20 09:51:33 +00:00
Howard Chu
9f5667c703
Restructure to release locks before sending result
2004-03-20 09:25:00 +00:00
Howard Chu
aec5d60620
Use REP_MATCHED_MUSTBEFREED reply flag
2004-03-20 09:24:01 +00:00
Kurt Zeilenga
9b91e0b067
Add readme.
2004-03-19 16:37:20 +00:00
Howard Chu
cbabd269a5
ITS#2457 Added LUTIL_SLASHPATH macro and func for converting
...
forward-slash paths to Windows back-slash format.
2004-03-19 08:06:42 +00:00
Kurt Zeilenga
56cdaa594c
ITS#3032: retry when GSSAPI creds are not available
2004-03-19 06:16:45 +00:00
Pierangelo Masarati
6beb139e61
fix nasty subtype bug (too many results)
2004-03-18 23:38:55 +00:00
Kurt Zeilenga
ec4e7ef232
Add note that some of the unimplemented matching rules are
...
now described in RFC 3698. Would be good to implement these.
2004-03-18 21:39:57 +00:00
Pierangelo Masarati
d3de8c3336
cleanup error messages
2004-03-18 20:11:49 +00:00
Pierangelo Masarati
9d48197461
to be conservative ...
2004-03-18 19:45:34 +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
Kurt Zeilenga
a2b2dfd461
Hide noop control until published and code is updated.
2004-03-18 04:06:20 +00:00
Kurt Zeilenga
feef2424ad
Fix typo in commit before last
2004-03-18 01:20:14 +00:00
Kurt Zeilenga
f311255e3e
cleanup
2004-03-18 01:18:35 +00:00
Kurt Zeilenga
e323437c6a
cleanup for release engineering
2004-03-18 01:06:39 +00:00
Pierangelo Masarati
5ddbd69451
improve previous commit
2004-03-17 23:43:00 +00:00
Pierangelo Masarati
764aa5d938
move DN/config test in slapdn/slaptest
2004-03-17 23:25:09 +00:00
Pierangelo Masarati
cd8e154e4f
works in most cases ...
2004-03-17 22:37:59 +00:00
Pierangelo Masarati
802e3cc069
add labeledURI to back-ldap databases
2004-03-17 22:37:40 +00:00
Pierangelo Masarati
66ee9b2d73
carefully check the URI
2004-03-17 22:36:47 +00:00
Kurt Zeilenga
45332097a6
password always replaces old passwords
2004-03-17 22:21:21 +00:00
Kurt Zeilenga
5ff057089b
cleanup
2004-03-17 22:14:32 +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
2821d0bdd6
Add connection_fake_init()
2004-03-17 19:33:13 +00:00
Howard Chu
829bc9969d
Fix passing of state info to over_back_response
2004-03-17 17:59:47 +00:00
Pierangelo Masarati
3fe2cec561
only works with explicit overlay instantiation
2004-03-17 12:21:40 +00:00
Pierangelo Masarati
adb152972f
fix previous commit
2004-03-17 11:58:59 +00:00
Pierangelo Masarati
ec6a663820
reset SlapReply flags
2004-03-17 11:50:15 +00:00
Pierangelo Masarati
b3d238465d
added callbacks to most of the functions; more cleanup
2004-03-17 11:14:30 +00:00
Pierangelo Masarati
f07e485e82
search/unbind works; need to consistently add callbacks to other ops
2004-03-17 10:05:38 +00:00
Pierangelo Masarati
c0606cdfb7
reset flags (need to check consistence across slapd)
2004-03-17 09:59:04 +00:00
Howard Chu
dbade4ad8c
Fix account lock check
2004-03-17 09:54:49 +00:00
Pierangelo Masarati
32573b3418
need to turn it into a man page, when it freezes
2004-03-17 09:26:50 +00:00
Pierangelo Masarati
737f3d8636
slight improvements; doesn't work yet
2004-03-17 09:25:59 +00:00
Pierangelo Masarati
e9c8fd5ee6
actually, teh backend could also be selected on a per-operation basis, if "relay <real naming comntext>" is not provided
2004-03-17 07:56:19 +00:00
Pierangelo Masarati
ba470467af
add back-relay (doesn't work yet)
2004-03-17 01:03:21 +00:00
Pierangelo Masarati
fc28663a14
seeAlso to overlays as well
2004-03-16 22:18:45 +00:00
Howard Chu
52b3ca4a80
Fix non-standard OIDs
2004-03-16 22:00:10 +00:00
Pierangelo Masarati
c76427d8db
add overlay subsystem and connect it to databases
2004-03-16 21:58:29 +00:00
Pierangelo Masarati
16d820ad84
add iterator on overlays
2004-03-16 21:56:40 +00:00
Pierangelo Masarati
9f5f75c7b0
init 'oi' also when the backend already has overlays...
2004-03-16 21:55:45 +00:00
Pierangelo Masarati
a453df6280
add DN check mode; rework check sinfrastructure
2004-03-16 18:36:38 +00:00
Pierangelo Masarati
4fa18e1b37
remove {} from procedures invocation, as noted in ITS#2641; copied annotations from postgres example
2004-03-16 15:15:14 +00:00
Pierangelo Masarati
5ff958a5fd
fix brain dead count (part of ITS#2641)
2004-03-16 11:03:27 +00:00
Howard Chu
23a9893726
Password policy schema from draft 7
2004-03-16 10:34:24 +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
Howard Chu
71bc8817e6
Revert "delete old" change; doesn't work for salted hashes.
2004-03-16 04:24:39 +00:00
Howard Chu
075137b8dd
Fix prev commit
2004-03-16 03:24:08 +00:00
Pierangelo Masarati
27f28d5270
handle overlays
2004-03-16 01:22:34 +00:00
Howard Chu
db52f51943
Preserve old slap_passwd_hash() signature, add slap_passwd_hash_type()
2004-03-15 20:58:41 +00:00
Howard Chu
0c9b308781
Delete old password if provided
2004-03-15 19:52:17 +00:00
Kurt Zeilenga
3e586bd393
cleanup
2004-03-14 00:59:37 +00:00
Howard Chu
e05b4b7db6
Cleanup result handling
2004-03-12 21:08:37 +00:00
Howard Chu
cdeda34029
Add c_conn_idx, to simplify external modules managing per-connection state
2004-03-12 18:22:37 +00:00
Pierangelo Masarati
ed1f5965bd
fix error message
2004-03-11 13:02:13 +00:00
Pierangelo Masarati
246fa41c96
"searchFilter" by default must be empty
2004-03-10 21:53:39 +00:00
Jong Hyuk Choi
33442d7ced
for ITS#3105
2004-03-10 21:49:08 +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
6a75d14930
revert previous commit
2004-03-10 21:12:53 +00:00
Pierangelo Masarati
65b49dd312
add "searchFilterAttrDN" rewrite context, and allow filterstring rewrite
2004-03-10 21:11:14 +00:00
Pierangelo Masarati
823fa1705e
rewrite entry DN-valued attrs
2004-03-10 19:04:18 +00:00
Pierangelo Masarati
d779a3d543
use prepare/bind/execute instead of bind/execdirect (addresses ITS#2641)
2004-03-10 14:51:41 +00:00
Howard Chu
35c774d3b8
Yet more for ITS#3008. Seems to work properly now.
2004-03-10 09:11:20 +00:00
Howard Chu
3853fade60
More for ITS#3008
2004-03-10 08:00:41 +00:00
Howard Chu
cac30b1855
ITS#3008 fix value-based ACLs
2004-03-10 02:59:03 +00:00
Howard Chu
75725a7ad8
Turn off syslog for slap tools
2004-03-10 02:44:38 +00:00
Howard Chu
826de96417
Minor cleanup
2004-03-10 02:44:10 +00:00
Jong Hyuk Choi
2b77fb424c
backend operations check
2004-03-09 20:43:19 +00:00
Jong Hyuk Choi
4bb948620a
checking limits at the frontend
2004-03-09 20:43:01 +00:00
Pierangelo Masarati
25b24289d2
fix typos
2004-03-09 20:21:10 +00:00
Pierangelo Masarati
006745430e
allow "expand" style in peername, sockname, sockurl as well; more sanity checks
2004-03-09 19:44:14 +00:00
Pierangelo Masarati
042869366d
use "expand" instead of "regex" for group ACLs that allow substring expansion, preserving backwards compatibility; add sanity checks
2004-03-09 16:33:05 +00:00
Pierangelo Masarati
490e1e4aa9
move limits check and preparation in a helper function
2004-03-09 15:59:01 +00:00
Pierangelo Masarati
960b5f8656
add sanity checks
2004-03-09 14:45:10 +00:00
Pierangelo Masarati
82019df71a
cleanup
2004-03-09 14:33:23 +00:00
Pierangelo Masarati
f145457d0c
move limits check and preparation in a helper function
2004-03-09 14:32:00 +00:00
Luke Howard
d249714033
s/SERVER_SEARCH_FLAG/SEARCH_FLAG
2004-03-09 14:12:34 +00:00
Luke Howard
87a02dbb14
Support server search flag control as alias for permissive modify
...
Recognise tree delete control - needs backend support
2004-03-09 14:05:01 +00:00
Pierangelo Masarati
28285002a1
deny an operation
2004-03-09 10:23:19 +00:00
Pierangelo Masarati
2fe1eb921d
cleanup
2004-03-09 07:08:04 +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
Jong Hyuk Choi
ede2f47452
supress log message for glue add case
2004-03-09 00:34:32 +00:00
Jong Hyuk Choi
964dcc04a2
patch to fix consumer replica cookie format in slaptools
2004-03-09 00:34:01 +00:00
Pierangelo Masarati
a4e062ca36
apply advanced peername ACL (ITS#2907)
2004-03-08 18:49:12 +00:00
Pierangelo Masarati
091246c6fd
move limits evaluation to frontend
2004-03-08 18:12:45 +00:00
Pierangelo Masarati
4645eeb5ec
cleanup DN style in limits
2004-03-08 13:13:30 +00:00
Pierangelo Masarati
ac0d45179f
log set in ACL (ITS#2949)
2004-03-08 11:09:49 +00:00
Pierangelo Masarati
2d8467d480
declarations must occur before instructions
2004-03-08 11:01:52 +00:00
Howard Chu
48ac610097
ITS#3004 fix again
2004-03-06 19:16:20 +00:00
Howard Chu
113870c194
Revert to original code
2004-03-06 19:15:39 +00:00
Pierangelo Masarati
5c6ec10f48
massage normalized DN when either is fine
2004-03-06 16:49:08 +00:00
Pierangelo Masarati
29a5162483
cleanup
2004-03-06 16:47:58 +00:00
Pierangelo Masarati
9b6d816fe1
handle unknown attribute type (ITS#3005)
2004-03-06 15:58:26 +00:00
Pierangelo Masarati
abf2df7a11
initial round of fixes related to ITS#2986
2004-03-06 15:01:16 +00:00
Howard Chu
ea0d619dae
Store IDs in BeigEndian format on disk
2004-03-06 12:41:29 +00:00
Howard Chu
ef7195fc31
Store IDs in BigEndian format on disk
...
bdb_idl_cache_put replaces existing entries instead of ignoring them
2004-03-06 12:41:00 +00:00
Howard Chu
23b2ce8b3a
ITS#3004, fix IDL cache AVL comparisons
2004-03-06 12:29:19 +00:00
Pierangelo Masarati
5716b7f1b2
document saslAuthzTo/saslAuthzFrom new syntax; add onelevel style to DN type
2004-03-06 11:00:49 +00:00
Pierangelo Masarati
2b393962fc
fix continuation of ITS#2999
2004-03-06 09:33:24 +00:00
Howard Chu
efd23f5c0c
Fix prev commit
2004-03-05 19:29:02 +00:00
Howard Chu
9b16d161d5
Take advantage of IDL cache in bdb_idl_insert/delete_key
2004-03-05 15:41:30 +00:00
Howard Chu
18bb805736
Fix prev commit
2004-03-05 15:40:37 +00:00
Howard Chu
c5d8c776ca
Set IDL cache to 10x Entry cache by default
2004-03-05 13:46:12 +00:00
Howard Chu
896beebadc
unifdef SLAP_IDL_CACHE
2004-03-05 13:43:18 +00:00
Howard Chu
c558bd49bc
ITS#2992 Windows fixes from Alexey Melnikov
2004-03-05 12:24:06 +00:00
Howard Chu
87a4c01b29
ITS#2998 rename pcl -> be_pcl
2004-03-05 10:33:41 +00:00
Pierangelo Masarati
f5ffcae717
cleanup
2004-03-05 09:56:16 +00:00
Pierangelo Masarati
b761105439
improve fix to ITS#2999: don't care about limits after abandon
2004-03-04 23:02:30 +00:00
Pierangelo Masarati
23b0e84cb8
fix ITS#2999
2004-03-04 22:56:49 +00:00
Howard Chu
de1ee3757b
Fix missing EQAULITY rules
2004-03-03 10:51:32 +00:00
Howard Chu
896271195a
ITS#2974 fix hole array allocation
2004-03-02 23:01:04 +00:00
Howard Chu
4504b48c6b
default_passwd_hash now takes a list of schemes
...
passwordModify exop will generate all the configured hashes
2004-03-02 22:12:23 +00:00
Howard Chu
5f63dfc566
lutil_passwd_hash result berval is in argument list now
2004-03-02 22:11:31 +00:00
Howard Chu
1b98cd6262
Fix SLAPI_ADD_RESCONTROLS
2004-03-02 20:31:37 +00:00
Howard Chu
4a8bb3991f
ITS#2961 check for NULL authcDN
2004-03-02 18:37:49 +00:00
Howard Chu
e729d96ecd
ITS#2985 fix slappasswd typo
2004-03-01 14:54:05 +00:00
Howard Chu
b480d7c9ff
Added pwdexop request structure to avoid redundant parsing
2004-02-29 19:04:34 +00:00
Pierangelo Masarati
d015b9583c
handle filter computed in a more granular way (ITS#2977)
2004-02-28 16:05:59 +00:00
Pierangelo Masarati
ca5515b460
fix the problem right now
2004-02-28 15:20:56 +00:00
Pierangelo Masarati
fa2cb48f3a
should fix ITS#2983 - total count of ops initiated/completed in root of operations branch
2004-02-28 14:36:19 +00:00
Kurt Zeilenga
c850d82559
Move to Attic
2004-02-27 01:23:44 +00:00
Howard Chu
57ba4cac66
Merged slap tools with main slapd binary; installs symlinks.
...
tools directory is now obsolete.
2004-02-26 19:03:41 +00:00
Howard Chu
2d0af83c71
ITS#2934 - don't touch conn->c_sasl_dn for Simple Binds
2004-02-26 11:48:34 +00:00
Howard Chu
7fe35bcddb
ITS#2978 make sure liboverlays.a is always built and used
2004-02-26 03:38:38 +00:00
Howard Chu
0aebe2e51a
ITS#2970 fix build_new_dn for zero-length parent DN
2004-02-26 02:58:12 +00:00
Jong Hyuk Choi
4e3c30bbf0
misc addition to the previous glueing commit
2004-02-24 01:55:59 +00:00
Jong Hyuk Choi
d7d19b7420
Glue entry pruning: delete parent entries when they are glues and become leaves
2004-02-23 22:49:24 +00:00
Jong Hyuk Choi
372dcb78eb
Glue entry pruning : delete parent entries after modrdn when they are glue and become leaf entry
2004-02-23 22:48:46 +00:00
Jong Hyuk Choi
0c58aa3ab9
Glue entry pruning support: delete the parent entries when they are glue and become leaf
2004-02-23 22:47:55 +00:00
Pierangelo Masarati
6f9b99bc69
improve filter error logging in case of unknown attribute type
2004-02-23 11:45:19 +00:00
Jong Hyuk Choi
53d191e14d
syncrepl update: 1) improve error handling 2) glueing support for non-leaf deletion (TODO : deletion of leaf glue entries in the delete / modrdn code)
2004-02-22 20:44:44 +00:00
Pierangelo Masarati
4e57108991
allow search limits based on groups (ITS#2967)
2004-02-18 16:40:36 +00:00
Jong Hyuk Choi
528ea2f808
sync with the man page slapadd(8) : does not change syncrepl entries in the ldif file when neither of the promotion (-p) or the demotion (-r) option is given.
2004-02-17 23:56:18 +00:00
Pierangelo Masarati
129aa2884b
fix numericStringMatch (ITS#2938)
2004-02-17 20:30:37 +00:00
Pierangelo Masarati
1ac20b1f02
improve previous commit
2004-02-17 13:34:51 +00:00
Pierangelo Masarati
cb3d538ea3
allow no-user-modification propagations if back-ldap is used for replication (i.e. updatedn is defined)
2004-02-17 12:39:42 +00:00
Howard Chu
8a55795fbe
ITS#2888 fix back-ldap to check result of send_search_entry.
...
Make sure sizelimit errors are propagated.
2004-02-13 02:44:13 +00:00
Howard Chu
4479b4c417
ITS#2962 - EBCDIC db_version string
2004-02-13 00:53:02 +00:00
Howard Chu
b36e3a1ab0
ITS#2960 - make sure bi_open gets invoked
2004-02-13 00:42:21 +00:00
Kurt Zeilenga
5d0f6e75b4
Don't defer abandon due to pending
2004-02-10 00:17:21 +00:00
Kurt Zeilenga
3c1b2ed9cb
ITS#2959: provide reason for deferring operation in log message
...
Also, took away abandon operations blank check against deferment.
Abandon must be deferred in some cases (such as when other operations
are pending) and should be deferred in some other cases (such as too
many threads).
2004-02-09 21:33:21 +00:00
Jong Hyuk Choi
7707a66d33
fix for ITS#2947
2004-02-06 22:41:55 +00:00
Howard Chu
12b09c58e2
Another EBCDIC syslog fix
2004-02-04 23:00:05 +00:00
Pierangelo Masarati
253f70e0c2
fix duplicate key in metadata
2004-01-31 10:31:13 +00:00
Kurt Zeilenga
733c3c5f87
Remove now redundant error check
2004-01-30 05:33:27 +00:00
Howard Chu
e0e3560cf5
Use Btree instead of Hash for indexing
2004-01-28 05:00:56 +00:00
Jong Hyuk Choi
d84a5d29ab
Fix the missing delete problem (reported by Doug Council)
2004-01-27 18:16:40 +00:00
Howard Chu
89812424f4
Skip spurious Statslog's for callback-intercepted responses.
2004-01-22 01:20:15 +00:00
Howard Chu
54453690f6
ITS#2888 once more, fix sizelimit propagation
2004-01-21 10:25:41 +00:00
Pierangelo Masarati
eeb9a07823
make file names more slapd-ish; add attribute inheritance to search attributes; precompile uppercased search
2004-01-19 22:13:15 +00:00
Ralf Haferkamp
8b3a69ae39
Additional fix for ITS#2924: check for availability of
...
glueBack->be_entry_close before calling it
2004-01-19 14:38:15 +00:00
Pierangelo Masarati
6c27bf332c
cleanup
2004-01-17 18:26:36 +00:00
Pierangelo Masarati
945f3fc9d0
cleanup
2004-01-17 18:07:43 +00:00
Pierangelo Masarati
c4a8f58a0d
honor attributeType inheritance as well
2004-01-17 16:27:11 +00:00
Pierangelo Masarati
d65f402058
improve fix to ITS#2923; note that suffix massaging is inherently flawed, because comperisons should always occur on Normalized DN, while massaging can also occur on Pretty DN, but there is no guarantee they have the same length or any length-based comparison can work; so in any case, we should pass the Normalized DN and, if the Pretty DN is present, massage it as well accordingly
2004-01-17 12:25:46 +00:00
Pierangelo Masarati
2c049ebb42
fix ITS#2923
2004-01-17 11:48:14 +00:00
Pierangelo Masarati
fa856463fe
now I remember why I introduced the 'has_ldapinfo_dn_ru' flag
2004-01-17 11:33:13 +00:00
Howard Chu
4b88f8c1b2
slapd_shutdown/syncrepl fix
2004-01-16 20:02:07 +00:00
Howard Chu
f77474f1df
ITS#2924, fix transition to subsequent subordinates
2004-01-16 19:07:03 +00:00
Pierangelo Masarati
aa39de6db3
should improve readability and (hopefully) decrease traffic on openldap-software; sorry I can't test it right now
2004-01-16 18:56:22 +00:00
Howard Chu
c9d033ae30
Fix syncrepl slapd_shutdown detection, would not stop on a gentlehup.
2004-01-15 21:35:05 +00:00
Howard Chu
fc32304934
sl_malloc tweak
2004-01-15 21:32:58 +00:00
Howard Chu
bb1a97544d
ITS#2921, fix client connection handling for HAVE_WINSOCK
2004-01-15 20:20:17 +00:00
Howard Chu
d720ebdbbd
Fix static mingw dependency
2004-01-15 07:25:35 +00:00
Pierangelo Masarati
92a05ccf74
add extra level of parens only if required
2004-01-13 00:33:14 +00:00
Howard Chu
36914d7be6
trim prev commit
2004-01-12 04:15:51 +00:00
Howard Chu
a8dbfd322a
Really fix ITS#2905
2004-01-12 04:09:52 +00:00
Howard Chu
778516cc8c
Fix ITS#2905, properly detect duplicate entries
2004-01-12 03:54:01 +00:00
Pierangelo Masarati
fbb72268fb
warn if no suffix or no init function are present
2004-01-11 23:56:13 +00:00
Pierangelo Masarati
1a9bc6655d
don't segfault if a database doesn't have the suffix
2004-01-11 23:40:33 +00:00
Pierangelo Masarati
04096a3cca
fix ITS#2901
2004-01-11 22:52:07 +00:00
Pierangelo Masarati
db395f2cd7
don't search if the filter is invalid; search also if an attribute is undefined for that objectclass, the filter may succeed anyway
2004-01-11 22:50:25 +00:00
Pierangelo Masarati
93725181af
cleanup avl duplicate handling
2004-01-10 11:12:53 +00:00
Pierangelo Masarati
634324d5b9
allow multiple attribute definitions; honor ldap_entry_objclasses in filter; major cleanup
2004-01-10 10:42:44 +00:00
Pierangelo Masarati
354d8a183c
honor objectclass inheritance in filters + some cleanup
2004-01-09 11:43:00 +00:00
Kurt Zeilenga
c8408d3c6a
ITS#2906: report invalid userPassword schemes, clarify documentation
2004-01-09 04:11:57 +00:00
Pierangelo Masarati
14da72a97a
don't try to decide if uppercase based on LDAP matching rules
2004-01-09 01:53:03 +00:00
Pierangelo Masarati
15da03a587
table 'ldap_entries' must be aliased to allow filtering for DN-valued attrs
2004-01-09 01:48:41 +00:00
Pierangelo Masarati
e8e62aa617
need odbc libs when building back-sql as module
2004-01-08 23:00:44 +00:00
Kurt Zeilenga
57a7682f40
Fix typo in slap_auxprop_init() (should not impact behavior) (ITS#2909)
...
found by Nalin Dahyabhai (Redhat).
2004-01-08 01:14:04 +00:00
Pierangelo Masarati
1dd604fb04
fix ITS#2900
2004-01-05 18:32:27 +00:00
Luke Howard
3102602002
Fix previous commit
2004-01-02 06:34:50 +00:00
Luke Howard
53002fc3ce
Wrap slapi_entry_attr_get_charptr() around slapi_value_get_string()
2004-01-02 06:10:51 +00:00
Luke Howard
cc9101d980
Check value is a C string in slapi_value_get_string()
2004-01-02 06:07:22 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Luke Howard
c03a70955d
Make defaulted backend available to ACL plugin pblock
2004-01-01 09:42:44 +00:00
Luke Howard
03e5db818f
Fix ACL plugin bug - return value of ACL plugins was being ignored
2004-01-01 06:33:18 +00:00
Jong Hyuk Choi
0c0b29fc85
a patch for persistent search
2003-12-31 22:11:38 +00:00
Kurt Zeilenga
d3168d0011
cleanup
2003-12-31 04:26:17 +00:00
Kurt Zeilenga
7f59380c5e
Quick hack for PSEARCH crash.
2003-12-31 04:26:07 +00:00
Kurt Zeilenga
45a0cbdfcd
cleanup
2003-12-31 01:41:16 +00:00
Kurt Zeilenga
d44c1d999d
clarify meaning of strongAuthRequired
2003-12-30 21:09:01 +00:00
Kurt Zeilenga
a3c1b64a73
Initial subordinate implementation (for chaining)
2003-12-30 03:53:03 +00:00
Luke Howard
f289d6b7f0
Fix assertion failure if acl_check_modlist() called where op->o_bd == NULL.
...
Behavior now matches access_allowed() - the first backend is used. The
code needs review, I have not tested it.
2003-12-30 03:50:14 +00:00
Kurt Zeilenga
29bd3d4056
Update OID
2003-12-30 01:58:23 +00:00
Kurt Zeilenga
c7f1759e80
Misc cleanup
2003-12-30 01:26:38 +00:00
Kurt Zeilenga
8538184861
LDAP_SCOPE_SUBORDINATES (for chaining)
2003-12-30 01:25:50 +00:00
Kurt Zeilenga
2775c8d4a8
Update no-op control to return LDAP_NO_OPERATION instead of LDAP_SUCCESS.
...
(back-sql needs to be updated)
2003-12-29 23:31:39 +00:00
Kurt Zeilenga
fcad25da47
Misc code cleanup
2003-12-29 22:25:43 +00:00
Luke Howard
0549d46adf
Don't require slapi to be in the path - always include slapi/slapi.h
2003-12-28 04:17:48 +00:00
Luke Howard
b0416d1140
Cleanup SLAPI namespace
2003-12-28 04:14:19 +00:00
Luke Howard
71dfd57e75
Initialize terminating bv_len in slapi_int_ldapmods2modifications
2003-12-27 08:43:02 +00:00
Howard Chu
e933f076cc
Better fix for ITS#2512. Use callback to invoke replog before sending
...
result to client.
2003-12-25 15:01:53 +00:00
Howard Chu
d8f9f4ee22
Revert prev commit, unnecessary
2003-12-25 14:57:26 +00:00
Howard Chu
c0b92cd963
Revert prev commit, not necessary
2003-12-25 14:56:02 +00:00
Howard Chu
4c1ce5a02a
Fix prev commit
2003-12-24 23:48:07 +00:00
Howard Chu
329bd66d6a
Use a separate mutex for the replication timestamp
2003-12-24 14:32:33 +00:00
Howard Chu
e6f34fddcd
ITS#2895 TXN_PREPARE is not needed since we use nested transactions. It
...
also has a side-effect of releasing all the transaction's existing locks.
2003-12-24 13:27:03 +00:00
Howard Chu
93390425df
ITS#2895 store a copy in the entry cache
2003-12-24 10:59:50 +00:00
Howard Chu
97edd9f83d
Fix bogus "Internal error" when deleting non-existent entry
2003-12-24 10:58:11 +00:00
Howard Chu
0fc932daee
Fix reject error logging
2003-12-24 10:39:14 +00:00
Howard Chu
45d24d16eb
Don't assume the replog is sorted, sort the queue before processing.
2003-12-23 18:51:52 +00:00
Howard Chu
d31230f859
Fix replog sequencing - assign sequence numbers at beginning of operation,
...
instead of getting a timestamp at the end. This makes it possible for
slurpd to sort the log later.
2003-12-23 18:48:36 +00:00
Howard Chu
c7da63df3d
ITS#2887 fix slapi crash
2003-12-23 18:40:56 +00:00
Howard Chu
8aaaad0dd7
Revert to simple authzID behavior
2003-12-23 14:27:54 +00:00
Howard Chu
171e934bf0
Execute overlays in reverse of config order.
2003-12-23 14:18:47 +00:00
Howard Chu
71c076dd5d
Avoid runtime copying of BackendDB
2003-12-23 14:12:54 +00:00
Pierangelo Masarati
18360d1eb2
fix previous commit
2003-12-20 17:41:08 +00:00
Pierangelo Masarati
79bc396ed8
in the <what> clause of ACLs, only 'attr=' or 'attrs=' are allowed; the former for backwards compatibility, while slapd.access(5) correctly uses only the latter form
2003-12-20 15:31:54 +00:00
Pierangelo Masarati
39574bcb5f
for consistency, always allow 'onelevel' as an alias for 'one' in dnstyle
2003-12-20 15:18:21 +00:00
Howard Chu
2b44c72d84
Fix handling of an_oc_exclude
2003-12-20 14:35:13 +00:00
Howard Chu
1586a68219
ITS#2888 don't return LDAP_SIZELIMIT_EXCEEDED prematurely
2003-12-20 10:10:59 +00:00
Howard Chu
c3bb9e42a6
More cleanup
2003-12-20 09:55:17 +00:00
Howard Chu
59f76d543c
Clean up prev commit
2003-12-20 09:19:19 +00:00
Howard Chu
d27b734770
ITS#2889 - fix explicit objectClass inclusion/exclusion
2003-12-20 06:28:05 +00:00
Luke Howard
120adb6b1b
Fix slapi_modify_internal() to deal with just the modification type of
...
a mod operation
2003-12-19 10:10:59 +00:00
Kurt Zeilenga
aabcce3e58
Document +0
2003-12-19 05:06:51 +00:00
Kurt Zeilenga
5481755c0e
Move ldapi to /var/run
2003-12-19 02:28:06 +00:00
Kurt Zeilenga
fdbd8705ae
Move pid/args files into $(RUNDIR)/run
...
Move ldapi into $(RUNDIR)/run/openldap
2003-12-19 02:18:29 +00:00
Howard Chu
3b0b66de10
Fix install rule
2003-12-18 20:26:05 +00:00
Kurt Zeilenga
e9133952fb
Move experimental built-in SASL behind SLAP_BUILTIN_SASL macro
2003-12-18 20:01:47 +00:00
Pierangelo Masarati
42d7d6d743
propagate flags to sasl-regexp functions (will need it later)
2003-12-18 18:32:45 +00:00
Pierangelo Masarati
113727ba53
allow 'all' vs. 'any' sasl-authz-policy
2003-12-18 18:28:43 +00:00
Kurt Zeilenga
babc993ef7
clarify default access control policy
2003-12-18 17:32:30 +00:00
Kurt Zeilenga
9647ccd945
Completely untested built-in EXTERNAL implementation
...
Needs identity mapping and proxy authorization support
2003-12-18 06:52:39 +00:00
Howard Chu
e4b899df95
ITS#2884 silence warning. We don't dereference this pointer, we just use
...
it's value as a unique key.
2003-12-18 03:54:48 +00:00
Howard Chu
9777dc2114
ITS#2883 initialize rc before running callbacks
2003-12-18 03:50:09 +00:00
Kurt Zeilenga
3eb5337020
Make modify/increment conditional
2003-12-17 21:42:48 +00:00
Pierangelo Masarati
f2a9089e4d
cleanup most of the -pedantic warnings (ITS#2884) and other small fixes
2003-12-17 20:55:46 +00:00
Kurt Zeilenga
271fff13de
Sync with HEAD
2003-12-17 17:55:27 +00:00
Luke Howard
516fd0ff50
First round of SLAPI cleanups - use slapi_int_XXX for internal functions
...
(slapi_x_XXX is still reserved for exported functions that are not part
of the SLAPI specification)
2003-12-16 15:49:31 +00:00
Pierangelo Masarati
2d948c7106
fix a couple of (too optimistic) comments...
2003-12-16 14:25:36 +00:00
Luke Howard
c8f62b12d3
Honour any controls that are sent by a SLAPI plugin
2003-12-16 11:17:54 +00:00
Pierangelo Masarati
8fa476a5c6
line up comments and code
2003-12-16 11:05:52 +00:00
Pierangelo Masarati
4e83a282d0
improve error handling for attr val ACL syntax
2003-12-16 10:56:21 +00:00
Luke Howard
0bcddbc908
Don't leak SLAPI_RESCONTROLS when free'ing parameter block - these
...
are allocated by the plugin
2003-12-16 05:59:50 +00:00
Kurt Zeilenga
a736f237f8
Deprecate +objectClass in favor of @objectClass per IETF discussions
2003-12-16 05:55:52 +00:00
Kurt Zeilenga
e3ffc1b165
Revert last commit
2003-12-16 01:55:56 +00:00
Pierangelo Masarati
e2483d8a9b
honor '!' (objectClass negation) when checking attribute presence in list
2003-12-16 01:10:33 +00:00
Pierangelo Masarati
ee34f3fb64
add to 'val[.<style>=<value>' ACLs special match styles for DN-valued attributes; add negated objectClass to attribute name lists for ACLs and partial replication
2003-12-16 00:49:10 +00:00
Howard Chu
6e6bef8f56
Fix - need to initialize lutil_passwd.
2003-12-16 00:39:29 +00:00
Pierangelo Masarati
bc972e0656
allow 'AUTHZ' mech in proxyAuthz control to allow also the <mech> part of the 'u:' user
2003-12-15 18:19:14 +00:00
Pierangelo Masarati
3a5c53a8b1
typo
2003-12-14 15:36:46 +00:00
Pierangelo Masarati
b4629f1e79
fix previous commits
2003-12-14 14:08:15 +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
Kurt Zeilenga
4d29df5bd1
Add LDAP_DEPRECATED macro
...
Need to remove use of deprecated functions.
2003-12-14 02:47:42 +00:00
Kurt Zeilenga
5b0236f4ae
Add u: comment
2003-12-13 23:41:44 +00:00
Kurt Zeilenga
1fadacaa31
Forward parse the uauthzid. A realm cannot be specified unless
...
a mechanism is specified. (Few mechanisms (DIGEST-MD5 only) support
separate realms.)
2003-12-13 23:38:05 +00:00
Pierangelo Masarati
4602c935f7
saslAuthzTo/From stuff
...
when comparing IDs to saslAuthzTo/From values, the saslAuthzTo
saslAuthzFrom values can take different forms:
dn[.<style>]:<pattern>
<style> ::= exact ; exact match
children ; children of <pattern> match
subtree ; <pattern> or children of <pattern> match
regex ; <pattern> is regcomp() & regexec()
if no <style>, then exact is assumed
u[.<mech>][/<realm>]:<user>
when parsing a proxyAuthz value, only exact DN is allowed,
and no <mech> can be specified. <user> cannot contain ':'
and <mech> cannot contain '/'.
2003-12-13 23:02:59 +00:00
Howard Chu
0d8613c274
Use c_authmech when c_sasl_bind_mech is empty
2003-12-13 22:43:01 +00:00
Howard Chu
e85cd1e154
Fix prev commit, use c_authtype
2003-12-13 22:16:03 +00:00
Howard Chu
d9aec4ef28
Always set c_authmech
2003-12-13 21:39:51 +00:00
Kurt Zeilenga
4bedf015f0
cleanup
2003-12-13 18:57:00 +00:00
Kurt Zeilenga
dbc37977f2
Look for the '@' in userid@realm in reverse so that a@b@c results
...
in userid of a@b and realm of c.
2003-12-13 17:25:59 +00:00
Pierangelo Masarati
6e5ddd6420
note a potential problem
2003-12-13 17:21:17 +00:00
Pierangelo Masarati
5a00f25542
conn must be non-null
2003-12-13 15:29:49 +00:00
Pierangelo Masarati
d6bc071dd9
add subtree/children styles to saslAuthzTo/From; 'dn:' now defaults to exact
2003-12-13 12:23:56 +00:00
Pierangelo Masarati
43db7cf4bf
cleanup saslauthz code
2003-12-13 10:58:31 +00:00
Pierangelo Masarati
529a03df53
use dedicated admin identity to proxyAuthz
2003-12-13 10:57:42 +00:00
Pierangelo Masarati
9c5fe98a79
declare overlays_init()
2003-12-13 10:57:13 +00:00
Howard Chu
b011c51390
Clean up entry initialization
2003-12-13 02:00:07 +00:00
Kurt Zeilenga
552a51ca50
Tweak the codes
2003-12-11 07:28:01 +00:00
Jong Hyuk Choi
fa2aa5bb25
fix for concurrent persistent searches
2003-12-11 00:04:52 +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
Pierangelo Masarati
0176e02398
cleanup handling of unknown directives ...
2003-12-09 23:49:13 +00:00
Howard Chu
cc743d2c1f
ITS#2865 don't try to calloc 0 bytes, log an error and return instead.
...
Don't crash in slapcat when NULL entry is returned.
2003-12-09 20:10:44 +00:00
Howard Chu
67ee75ccd8
ITS#2868 check result from slap_startup
2003-12-09 19:26:14 +00:00
Howard Chu
313bb1dcae
Minor cleanup. Still need to address ITS#2866 point 2
2003-12-09 19:09:58 +00:00
Kurt Zeilenga
38ccdaf7a3
unifdef -DLDAP_CONTROL_PAGEDRESULTS (as it is always defined)
2003-12-08 18:16:07 +00:00
Kurt Zeilenga
fbba83b20f
notices and acknowledgements
2003-12-08 17:41:40 +00:00
Kurt Zeilenga
fd5ded3afb
notices and acknowledgements
2003-12-07 19:19:18 +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
864aea13f7
ITS#2864 removed sl_mark/sl_release code
2003-12-07 04:00:47 +00:00
Howard Chu
b5052153c2
Minor cleanup
2003-12-07 03:59:54 +00:00
Howard Chu
b0b3eff457
ITS#2864 don't use sl_mark/release.
2003-12-07 03:41:10 +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
74db966ebb
Move SLAB_SIZE def to slap.h
2003-12-06 22:30:45 +00:00
Howard Chu
0cef026e98
More memory cleanup
2003-12-06 21:55:47 +00:00
Kurt Zeilenga
c425a7ce1d
Move back-tcl to the Attic
2003-12-06 21:37:44 +00:00
Kurt Zeilenga
da6d557cdc
Notices
2003-12-06 19:25:01 +00:00
Howard Chu
c59e89de2f
Clear ocflags
2003-12-06 14:39:07 +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
066a80bbbb
Moved proxy caching to overlay
2003-12-06 11:12:53 +00:00
Howard Chu
1762b5b71d
Overlay build environment, remove internal proxycache support
2003-12-06 11:04:39 +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
485f478707
Don't free default_referral
2003-12-06 06:12:45 +00:00
Luke Howard
e114ecbad5
Use gmtime_r()/localtime_r if HAVE_GMTIME_R/HAVE_LOCALTIME_R is defined (need to add autoconf check)
2003-12-06 05:50:47 +00:00
Luke Howard
399b57eada
Use gmtime_r() if HAVE_GMTIME_R is defined (need to add autoconf check)
2003-12-06 05:37:00 +00:00
Luke Howard
369b1515db
Ensure exact DNs are normalized in slap_parseURI.
2003-12-06 02:16:39 +00:00
Kurt Zeilenga
fc11d8312c
ITS#2861 fix: don't try to dup a NULL reqdata...
2003-12-05 19:54:42 +00:00
Howard Chu
58355c5bc2
Proxy-cache rewritten as an overlay
2003-12-05 15:49:38 +00:00
Howard Chu
3152932e96
Moved ldbm into back-ldbm. No more libldbm.
2003-12-04 22:38:54 +00:00
Kurt Zeilenga
20c8ea8a44
Update Mark's notice (with permission)
2003-12-04 21:12:17 +00:00
Howard Chu
2d07fc4f3b
ITS#2740 - link librewrite statically into back-ldap when it's built
...
as a module. Since back-meta also depends on back-ldap, this fixes
both at once.
2003-12-04 10:50:36 +00:00
Howard Chu
8c357efd28
ITS#2521 log names of unrecognized attributeTypes in search filters
2003-12-04 01:10:02 +00:00
Howard Chu
32752fb396
ITS#2836 add SLAPI_ADD_RESCONTROL support, fix SLAPI_RES_CONTROLS def
2003-12-04 00:52:03 +00:00
Howard Chu
841e865910
Reorganize, attempt some fault tolerance...
2003-12-03 12:30:28 +00:00
Howard Chu
8ba2296dc8
ITS#2795 fix double-free on failure, reset dn2id database
2003-12-03 11:31:43 +00:00
Howard Chu
e325a3a923
ITS#2795 fix hang. failure still leaves corrupt database though.
2003-12-03 11:06:00 +00:00
Pierangelo Masarati
93d0c25c45
syntax improvement (ITS#2852)
2003-12-03 00:29:29 +00:00
Kurt Zeilenga
4898913fb6
ITS#2807: version option support (-V[V]) based on patch submitted
...
by <luca.scamoni@sys-net.it>.
2003-12-02 16:57:34 +00:00
Howard Chu
7fd21ada07
ITS#2764, #2781 revert backend.c patch, just catch the NULL referral
...
case in extended_op
2003-12-02 03:01:49 +00:00
Howard Chu
49b0985c88
Fix prev commit, return generated passwd
2003-12-02 00:49:26 +00:00
Kurt Zeilenga
ed369e02af
Don't search for proxy authz control unnecessarily.
...
Add note regarding control use with the Bind operation.
2003-12-01 21:49:52 +00:00
Jong Hyuk Choi
da38356d16
fix prev commit
2003-12-01 18:09:48 +00:00
Jong Hyuk Choi
2bb75d5469
misc cleanup
2003-12-01 17:56:36 +00:00
Howard Chu
59e129158c
Removed passwd.c
2003-12-01 12:55:05 +00:00
Howard Chu
b552cdb5c7
Let the backend have a crack at the op (for back-ldap etc.), then do it
...
in the frontend if the backend doesn't.
2003-12-01 12:51:54 +00:00
Howard Chu
94f7141dda
Consolidate passwd extop in frontend
2003-12-01 12:38:11 +00:00
Howard Chu
77f8a2d72f
Added slap_null_cb
2003-12-01 12:20:51 +00:00
Howard Chu
7b423b20b0
Fix slapi include path
2003-12-01 12:14:39 +00:00
Howard Chu
42d8c0a39d
Added slap_null_cb
2003-12-01 12:03:20 +00:00
Pierangelo Masarati
bd134e22e5
ITS#2851
2003-12-01 11:12:04 +00:00
Pierangelo Masarati
cdb11fc5eb
add administrative bind and proxyAuthz control to enable bound operations in distributed directories (need to manually #define LDAP_BACK_PROXY_AUTHZ and patches from ITS#2851 and ITS#2852)
2003-12-01 08:04:51 +00:00
Pierangelo Masarati
2c68cb41f6
this memory will be freed by free()
2003-12-01 08:01:31 +00:00
Pierangelo Masarati
a4c5f54601
detect problems in saslauthz
2003-12-01 07:59:30 +00:00
Pierangelo Masarati
ff919168fb
if rule is an URI, must have a filter field
2003-12-01 07:50:27 +00:00
Kurt Zeilenga
0398bad8f0
Cleanup
2003-12-01 01:54:11 +00:00
Hallvard Furuseth
e491e9e522
Cleanup: Remove unused label 'no_co_op_free:' in connection_operation().
2003-11-30 16:14:40 +00:00
Jong Hyuk Choi
fb91d430f2
it seems more appropriate to return LDAP_SUCCESS.
2003-11-30 05:45:13 +00:00
Jong Hyuk Choi
0675a320d7
Fix copy & paste error. (ITS#2850)
2003-11-30 05:29:19 +00:00
Kurt Zeilenga
9f149d70f6
ITS#2847: fix syncCookie value_match
2003-11-30 03:30:39 +00:00
Kurt Zeilenga
041c8dacc2
Misc cleanup
2003-11-30 01:19:40 +00:00
Kurt Zeilenga
12d5c6bba2
Move global to ldapsync
2003-11-30 01:09:12 +00:00
Howard Chu
0a5f1e8516
#ifdef for slap_auxprop_store
2003-11-29 23:01:56 +00:00
Kurt Zeilenga
bd1543ce44
notices
2003-11-29 22:38:48 +00:00
Kurt Zeilenga
f0cd57eb9b
cleanup
2003-11-29 22:37:07 +00:00
Kurt Zeilenga
62e6779e4c
Cleanup rcsid comments
2003-11-29 18:03:43 +00:00
Pierangelo Masarati
3aa27601e1
fix 'control reaches end of non-void function'
2003-11-29 18:00:07 +00:00
Pierangelo Masarati
99a3164972
fix uninitialized buffer (ITS#2849)
2003-11-29 17:58:49 +00:00
Pierangelo Masarati
43f7494a5d
remove /* in comments
2003-11-29 17:52:05 +00:00
Pierangelo Masarati
e30a736354
clarify auxprop_store member type
2003-11-29 17:50:50 +00:00
Hallvard Furuseth
51f1b8ccd7
Avoid /* inside comments.
2003-11-29 17:29:44 +00:00
Hallvard Furuseth
d0a0687a26
Avoid 'suggest parentheses' warnings.
2003-11-29 17:27:44 +00:00
Hallvard Furuseth
3d522a0c9f
Format %d -> %ld.
2003-11-29 17:26:23 +00:00
Pierangelo Masarati
71d488c28f
fix uninitialized var
2003-11-29 17:24:34 +00:00
Howard Chu
65c26598d5
ITS#2846 - make veryclean
2003-11-29 12:01:10 +00:00
Howard Chu
ddd056158e
Add auxprop_store support for Cyrus SASL 2.1.16+
2003-11-29 07:02:16 +00:00
Hallvard Furuseth
1fc24a3a82
Fix format errors: %d -> %ld, and add (long) casts as appropriate.
2003-11-28 22:06:54 +00:00
Hallvard Furuseth
2448725f9a
#include lber-int.h, to get ber_strndup().
...
The right fix may be for slap.h to #include it instead, since
ber_strndup() is used via SLAP_STRNDUP() which is #defined in slap.h.
2003-11-28 22:05:38 +00:00
Hallvard Furuseth
546e074be0
Kill '//'-style comment.
2003-11-28 22:03:13 +00:00
Hallvard Furuseth
d45a47d40f
Delete $(LDIF_LIBS). The library has been merged into -llutil.
2003-11-28 22:01:44 +00:00
Kurt Zeilenga
9d811eb1fa
Notices
2003-11-28 21:08:20 +00:00
Kurt Zeilenga
410d514461
Notices and acknowledgements
2003-11-28 21:07:50 +00:00
Kurt Zeilenga
7000d76879
notices
2003-11-28 20:24:54 +00:00
Kurt Zeilenga
0bc23d571e
Fix last commit
2003-11-27 06:45:08 +00:00
Kurt Zeilenga
3e5875d7e7
notices and acknowledgements
2003-11-27 06:35:49 +00:00
Kurt Zeilenga
a3d8cda201
notices and acknowledges
2003-11-27 06:35:14 +00:00
Kurt Zeilenga
674e71710f
Notice and acknowledgements
...
"this is an altered version" statement
2003-11-27 02:35:20 +00:00
Kurt Zeilenga
7017749fb4
Notices and acknowledgements
2003-11-27 01:42:27 +00:00
Kurt Zeilenga
4e15a84452
Updated notices
2003-11-27 01:17:14 +00:00
Jong Hyuk Choi
4ae382fd79
misc updates
...
- syncrepl : id -> rid
- man page update
2003-11-26 21:37:44 +00:00
Jong Hyuk Choi
5d411fd963
Another patch for the multi syncrepl thread support
2003-11-26 20:40:16 +00:00
Jong Hyuk Choi
1fdda703e6
Support multiple sync replication at the consumer :
...
1) simultaneous operation of multiple active sync replication threads
2) cookie management for individual sync replication thread
(include rid=%3d to the slapd cookie command line option (-c))
2003-11-26 19:49:47 +00:00
Kurt Zeilenga
c43ad3b62f
Notes and Acknowledgements
2003-11-26 18:19:00 +00:00
Kurt Zeilenga
b9e8a942aa
notices and acknowledgements
2003-11-26 17:42:56 +00:00
Kurt Zeilenga
0f447a75c4
notices and acknowledgements
2003-11-26 17:34:58 +00:00
Kurt Zeilenga
fb88a1176e
notices and acknowledgements
2003-11-26 17:28:33 +00:00
Kurt Zeilenga
595fcbd29b
notices and acknowledgements
2003-11-26 17:17:26 +00:00
Kurt Zeilenga
c779e5b890
Notices and acknowledgements
2003-11-26 16:52:33 +00:00
Kurt Zeilenga
f6b9ac1338
Update notices and acknowledgements
2003-11-26 16:05:06 +00:00
Kurt Zeilenga
e3a4c4ec9c
Notice/Acknowledge updates
2003-11-26 02:58:56 +00:00
Kurt Zeilenga
b24f96cd51
Berkeley DB 4.2 support (DB 4.2 required by default)
...
libldif to libutil updates
notice updates
2003-11-25 23:22:12 +00:00
Howard Chu
2bfb0bdeb8
Fix spurious lock messages from slapcat
2003-11-25 10:31:10 +00:00
Jong Hyuk Choi
84a7381225
misc comment update
2003-11-24 17:45:44 +00:00
Jong Hyuk Choi
b6789f27b4
cleanup
2003-11-24 16:42:07 +00:00
Jong Hyuk Choi
40365af3f9
change default syncrepl base
2003-11-24 16:34:45 +00:00
Kurt Zeilenga
9259a8c558
hide openldapACI
2003-11-22 18:24:15 +00:00
Kurt Zeilenga
31f34d6985
Misc Update
2003-11-20 06:14:04 +00:00
Kurt Zeilenga
35dc15ad66
Normalize to IBM's OPL notice (with permission).
2003-11-20 05:11:37 +00:00
Kurt Zeilenga
986aabae01
Update to basic notice.
2003-11-20 04:59:01 +00:00
Kurt Zeilenga
b83074c348
Formating
2003-11-20 04:45:08 +00:00
Jong Hyuk Choi
efdd0fb6f9
add copyright heading (for replca management modifications)
2003-11-20 02:15:42 +00:00
Jong Hyuk Choi
f97dc983ac
Collective entryUUID transmission of PRESENT messages in a single PDU
...
(refer to draft-zeilenga-ldup-sync-04.txt)
2003-11-20 02:14:47 +00:00
Jong Hyuk Choi
89ac237d7c
slaptools : normalize entryUUID
2003-11-20 01:13:00 +00:00
Howard Chu
b179e05ea1
For previous, assert (writewaiter==0) in conn_destroy too.
2003-11-20 00:54:46 +00:00
Kurt Zeilenga
21796e671a
Don't assume offsetof(foo,firstelement) is zero
2003-11-19 18:04:49 +00:00
Howard Chu
1989cf6f42
More verbose error messages for Reject log
2003-11-19 10:23:08 +00:00
Howard Chu
d31a3fb981
ITS#2570 - don't permanently give up on TLS due to transient failures
2003-11-19 09:25:56 +00:00
Howard Chu
5083977fee
Cleanup TLS library, for ITS#2620
2003-11-19 09:01:13 +00:00
Jong Hyuk Choi
e9115c2f09
exchange normalized entryUUID
2003-11-19 07:28:42 +00:00
Howard Chu
a718cb335c
Unbind all connections on shutdown
2003-11-19 05:23:17 +00:00
Jong Hyuk Choi
91e69fc335
add slap_uuidstr_from_normalized()
2003-11-19 00:45:59 +00:00
Jong Hyuk Choi
9965ccc224
add slap_uuidstr_from_normalized() - any better place to put this ? liblutils ?
2003-11-19 00:45:20 +00:00
Howard Chu
86c0f733a4
Cleanup prev commit, assert if writewaiter != 0 in init
2003-11-18 22:55:53 +00:00
Jong Hyuk Choi
11a8655bc8
heading update
2003-11-18 22:42:41 +00:00
Jong Hyuk Choi
8ee301e011
csn format update & cleanup
2003-11-18 22:42:13 +00:00
Howard Chu
43a843dbf0
ITS#2832 init conn->c_writewaiter to 0
2003-11-18 22:18:33 +00:00
Kurt Zeilenga
99ba95ab92
cleanup
2003-11-18 22:11:11 +00:00
Jong Hyuk Choi
f6db6d336f
misc cleanup
2003-11-18 19:08:33 +00:00
Pierangelo Masarati
75244afd8d
silence warning?
2003-11-14 18:41:42 +00:00
Pierangelo Masarati
a3deda8026
fix a number of mem leaks; add destroy code; HEADS-UP: API change in rewrite_info_delete()
2003-11-14 18:39:18 +00:00
Howard Chu
e61748780b
ITS#2816 init_module for dynamic HDB
2003-11-13 21:49:48 +00:00
Howard Chu
f4649fbde3
ITS#2825 fix SASL internal searches
2003-11-13 21:42:28 +00:00
Howard Chu
14ea115209
ITS#2827 patch from Masato Taruishi
2003-11-13 08:22:03 +00:00
Jong Hyuk Choi
2d7481d662
adjust cookie precedence : command line cookie has higer precedence over stored cookie
2003-11-13 01:11:07 +00:00
Jong Hyuk Choi
64dd6a0760
fix for the cascading replication (reenabling test019)
2003-11-13 00:11:44 +00:00
Jong Hyuk Choi
0db0d4e005
fix typo
2003-11-12 07:05:12 +00:00
Jong Hyuk Choi
e36f1398f0
misc cleanup
2003-11-12 00:24:11 +00:00
Jong Hyuk Choi
f3586499d0
update ldapsync/syncrepl code according to the new version of
...
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Jong Hyuk Choi
279760a467
1. Session history support
...
- memory based session history to minimize sync traffic
- when client is covered by a session history, then
[add+delete] mode is used
- when client cookie is not covered by the history because
the cookie is too outdated and/or the history is truncated,
[add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
2003-11-10 02:44:25 +00:00
Kurt Zeilenga
bfafd42163
Code and logging cleanup
2003-11-06 03:42:46 +00:00
Jong Hyuk Choi
cc5e417234
second level interval support, interval=dd:hh:mm:ss
...
changed the test scripts and test conf files accordingly
2003-11-05 16:10:43 +00:00
Howard Chu
d46195d08d
ITS#2805 fix core dump using LDBM
2003-11-03 09:54:28 +00:00
Howard Chu
ccf224a759
ITS#2808 fix UUIDNormalize, use it.
2003-11-03 08:22:13 +00:00
Howard Chu
f2e1d7434b
Fix ASCII_HEX tests
2003-11-03 07:00:16 +00:00
Howard Chu
8acb1a0466
Fix refresh mode rescheduling
2003-11-03 06:57:13 +00:00
Howard Chu
fab84134ba
ITS#2806 fix abort
2003-11-01 23:03:44 +00:00
Kurt Zeilenga
80fa73bf8c
Update entryUUID to latest draft specification
2003-10-31 17:41:31 +00:00
Hallvard Furuseth
701f6b9d5d
cast isdigit argument to unsigned char.
2003-10-30 22:55:02 +00:00
Kurt Zeilenga
4eb36216db
ITS#2801: fix str2entry trace
2003-10-30 22:45:18 +00:00
Kurt Zeilenga
b1a1f46d64
cleanup
2003-10-30 22:44:45 +00:00
Howard Chu
5ed0318b79
Fix retry on failure
2003-10-25 22:07:31 +00:00
Howard Chu
782d1be0ad
Fix prev commit, don't timeout outbound connections
2003-10-25 21:14:07 +00:00
Pierangelo Masarati
b51cd87a22
this should be the intended behavior
2003-10-25 16:32:17 +00:00
Kurt Zeilenga
c7f1e6e83c
More naming checks
2003-10-25 02:26:19 +00:00
Kurt Zeilenga
9e7749541b
Provide more descriptive naming violation error messages
2003-10-25 01:40:55 +00:00
Kurt Zeilenga
802671cad7
fix compile error
2003-10-24 17:34:33 +00:00
Howard Chu
941d1e5c72
Outbound connection management
2003-10-24 12:58:13 +00:00
Howard Chu
08676eb49d
Add support for outbound connections in main listener.
...
Restructure syncrepl/persist to use outbound connection manager.
2003-10-24 12:57:24 +00:00
Howard Chu
645c2bcb02
Drop unused arguments from syncrepl_add_glue
2003-10-24 08:10:16 +00:00
Howard Chu
f9a8093c83
Drop SLAPI support
2003-10-24 06:06:55 +00:00
Howard Chu
df74409d97
Fix prev commit
2003-10-24 06:01:55 +00:00
Howard Chu
01f7a7466b
SLAPI fix - no-op when slapi_plugins_used == 0
2003-10-24 05:58:42 +00:00
Kurt Zeilenga
d0c05e814d
Add a basic DIT content rule test.
...
Fix DIT rules to allow extensibleObject in AUX
unifdef -DSLAP_EXTENDED_SCHEMA
2003-10-24 04:40:32 +00:00
Howard Chu
ac7404eabd
Fix error recovery, cleanup session handles. Always reschedule task
...
at end of do_syncrepl; this fixes the problem of syncrepl never starting
if the master isn't up. Set sync interval to 60 seconds in persist mode;
it will retry connecting to the master when the master isn't up. Fail on
SASL at config time instead of at runtime when SASL is not enabled.
2003-10-24 04:11:28 +00:00
Howard Chu
7126ccf569
Fix caseExact/caseIgnore IA5 normalization
2003-10-23 05:28:22 +00:00
Howard Chu
bd1356f01e
ITS#2781 don't worry about missing updateref if SLAPD_MULTIMASTER
2003-10-23 01:50:12 +00:00
Howard Chu
b0a1f2e956
(clean up o_groups anyway)
2003-10-23 01:30:54 +00:00
Howard Chu
6ad5fd16ca
Use tmpmem for group cache, doesn't need cleanup
2003-10-23 01:29:56 +00:00
Howard Chu
102d8159a7
ITS#2779, cache group ACLs per operation instead of per-connection
2003-10-23 01:23:45 +00:00
Kurt Zeilenga
e81d17e357
cleanup
2003-10-23 01:16:06 +00:00
Kurt Zeilenga
25f2985024
Don't return garbage when plist is empty.
2003-10-23 01:15:36 +00:00
Howard Chu
942320dca1
Fix dnPrettyNormalize mem usage
2003-10-22 10:35:49 +00:00
Howard Chu
72ace288e8
Fix prev commit, avoid abort when entry is NULL
2003-10-22 07:57:25 +00:00
Howard Chu
95a5866965
Shortcut syncrepl candidate selection if CSN is up to date
2003-10-22 07:53:28 +00:00
Jong Hyuk Choi
11e23f6903
syncrepl_entry() return code fix (returns 1 when e needs to be freed)
2003-10-22 06:28:34 +00:00
Kurt Zeilenga
ce4b199485
Syncrepl code cleanup (namely prefix struct field names)
2003-10-22 05:19:30 +00:00
Jong Hyuk Choi
8b8383a85d
fix for changing si->syncCookie to bvarray
2003-10-21 22:02:30 +00:00
Howard Chu
ab2a7195d0
Fix cookie search
2003-10-21 08:26:58 +00:00
Kurt Zeilenga
4821c2c6ed
Avoid questionable use of strlen(), strcpy(), and strcat().
2003-10-20 22:23:11 +00:00
Howard Chu
7710791382
ITS#2684 keep psearch operations on the connection's active list so they
...
can be located by connection_abandon() during an unexpected close. Remove
the operations in bdb_abandon() etc.
2003-10-19 11:20:34 +00:00
Howard Chu
56498a59dd
ITS#2780, redundant cache add
2003-10-19 09:55:31 +00:00
Howard Chu
91ebcd87bd
Fix prev commit, syncrepl_add_glue must start from sufix
2003-10-19 08:57:30 +00:00
Howard Chu
b144ca2169
ITS#2684 fix bogus entry_free(), connection problem remains
2003-10-19 04:42:02 +00:00
Howard Chu
f0c8dcc331
ITS#2778 use real malloc for new entry, not sl_malloc
2003-10-19 02:18:38 +00:00
Howard Chu
08407b5b00
More malloc cleanup
2003-10-19 00:30:55 +00:00
Luke Howard
a7619c4ce9
Return duplicated entry from entry_dup() - interesting that
...
this was actually working when compiling without optimization
2003-10-18 15:07:51 +00:00
Howard Chu
b6835be962
ITS#2747, Reorganize syncrepl, fix some memleaks. More remain.
2003-10-18 14:13:37 +00:00
Kurt Zeilenga
aa225c2c70
Explicitly mark attribute/assertion syntax of values to be normalized
2003-10-18 06:18:05 +00:00
Howard Chu
dee604c608
ITS#2771 fix memory usage in LDAPDN_rewrite, fix normalizer
2003-10-18 05:49:58 +00:00
Kurt Zeilenga
c57db6c33e
Add basic support for certificateMatch (as an extensible matching rule)
2003-10-18 04:20:19 +00:00
Kurt Zeilenga
3fbe93c704
Rework support for certificate exact matching based, in part,
...
on patch submitted by Mark Ruijter <openldap@siennax.com>.
This addresses (hopefully) ITS 2702, 2703, 2719, 2771.
Additional work:
fix extraneous frees in libldap/getdn.c x509 rewrite routine
indexing
2003-10-18 02:39:08 +00:00
Kurt Zeilenga
e3a0148328
Fix modify attrs= overflow bug
2003-10-18 02:33:15 +00:00
Kurt Zeilenga
3f523b4303
Add a trace message to dnX509normalize
2003-10-17 22:38:19 +00:00
Howard Chu
4c5c632d70
ITS#2769 - NT SIGBREAK handling
2003-10-15 12:16:35 +00:00
Kurt Zeilenga
81ed052186
Improve printing of ACLs
2003-10-15 07:48:01 +00:00
Kurt Zeilenga
f1e5201bf7
cleanup
2003-10-15 03:08:43 +00:00
Jong Hyuk Choi
9d59b5a41c
ITS #2766 (remove slap_syncrepl_bvc & slap_syncrepl_cn_bvc from proto-slap.h)
2003-10-14 20:40:44 +00:00
Jong Hyuk Choi
13f981fdd4
remove #include <db.h> (ITS#2765)
2003-10-14 20:22:09 +00:00
Jong Hyuk Choi
490d9e55d4
fix slap_syncrepl_cn_bv
2003-10-14 16:26:01 +00:00
Jong Hyuk Choi
35455699e7
rq_mutex placing fix
2003-10-13 14:08:55 +00:00
Kurt Zeilenga
2d910bf1f8
Fix pdn assert
2003-10-12 22:34:14 +00:00
Kurt Zeilenga
ef3f20a064
Add a note that plaform #ifdefs are misplaced
2003-10-12 22:00:17 +00:00
Jong Hyuk Choi
85ff0377d2
runqueue locking fix (ITS#2746)
2003-10-12 09:13:04 +00:00
Kurt Zeilenga
4f003dbdaf
mv ldap_int_get_controls to ldap_pvt_get_controls
2003-10-12 08:14:28 +00:00
Kurt Zeilenga
10622b1d0a
Further cleanup last commit.
2003-10-12 07:31:31 +00:00
Kurt Zeilenga
535c221599
Tentative fix for last comment (tests still running)
2003-10-12 07:19:27 +00:00
Kurt Zeilenga
dfcd732813
ITS#2757: fix parent-less add bug
2003-10-12 06:32:44 +00:00
Kurt Zeilenga
71f484bad8
Finish off berbuf fix
2003-10-12 06:07:02 +00:00
Kurt Zeilenga
767cf365ea
Initial fix for berbuf alignment bug (ITS#2760)
...
Needs to be applied to other stack allocated berbufs.
2003-10-12 04:45:09 +00:00
Howard Chu
5cd2c68a2b
ITS#2751 additional fix
2003-10-11 02:52:48 +00:00
Howard Chu
1e89a1daee
ITS#2751 reset op->o_callback before returning
2003-10-11 02:41:37 +00:00
Howard Chu
b5b036d9fb
ITS#2762 tweak SASL include paths
2003-10-11 01:24:44 +00:00
Kurt Zeilenga
81f1a24e1b
Generate pid/arg files after detaching
2003-10-10 02:07:24 +00:00
Jong Hyuk Choi
cdb7417765
misc syncrpel updates
2003-10-08 09:36:06 +00:00
Luke Howard
79a44ac26e
Don't duplicate e_bv in entry_dup()
2003-10-08 06:40:16 +00:00
Howard Chu
8c9f033aa5
Fix prev commit setting NO_GRANDKIDS incorrectly
2003-10-08 06:05:48 +00:00
Luke Howard
7a1c94acd3
Add entry_dup(); make slapi_entry_dup() use it
2003-10-08 00:48:33 +00:00
Jong Hyuk Choi
a8574a450f
slaptools update : replica promotion / demotion
...
new slapadd options
-p : promote : If the ldif file contains syncConsumerSubentries, convert
them to a single syncProviderSubentry. Its contextCSN
attribute has the largest value of the syncreplCookie
attributes of the syncConsumerSubentries.
syncProviderSubentry in the ldif file is retained.
-p -w : promote : Recalculate contextCSN based on entryCSN of each entry.
create Existing syncConsumerSubentries and syncProviderSubentry
are ignored and not added to the directory.
-r : demote : If the ldif file contains syncProviderSubentry, convert it
to a syncConsumerSubentry having the default syncrepl id
of 0. syncConsumerSubentries in the ldif file are retained.
-r -w : demote : Recalculate syncreplCookie based on entryCSN of each entry.
create Existing syncConsumerSubentries and syncProviderSubentry
are ignored and not added to the directory. The default
syncrepl id of 0 will be used for the new
syncConsumerSubentry.
-r -w -i %d[,%d]* : Using the comma separated list followed by the -i option,
it is possible to create multiple syncConsumerSubentries
having the syncrepl ids specified in the list.
syncreplCookie values of these sycnConsumerSubentries
will have the same value, either from the maximum
entryCSN value or from the contextCSN value of the
syncProviderSubentry.
2003-10-07 20:01:37 +00:00
Luke Howard
6c25cb17d5
Use slapi_entry_dup() instead of converting entry to string and back
2003-10-07 16:09:40 +00:00
Pierangelo Masarati
a78c03bb4a
fix a_nvals according to back-ldap implementation (ITS#2716; at least part of it)
2003-10-04 17:18:25 +00:00
Howard Chu
040a9cf64c
Fix HDB's use of IDL cache
2003-10-03 02:19:09 +00:00
Jong Hyuk Choi
bcb4529d9d
ITS#2744
2003-09-30 18:01:47 +00:00
Hallvard Furuseth
887ef60ea9
Fix typo in comment.
2003-09-30 17:11:44 +00:00
Hallvard Furuseth
8efd391832
#include "lutil.h", to get lutil_entropy(). Fix call to lutil_entropy().
2003-09-29 23:33:39 +00:00
Hallvard Furuseth
b10daf623f
Declare bdb_cache_entry_db_unlock().
2003-09-29 23:32:11 +00:00
Howard Chu
dcbca288a9
ITS#2745 reset bei_state when reusing an EntryInfo
2003-09-29 22:01:03 +00:00
Howard Chu
16cde39daa
ITS#2743 initialize rc
2003-09-29 19:54:53 +00:00
Hallvard Furuseth
6194b91ca9
Declare filter_escape_value_x() and make it static.
2003-09-29 14:09:31 +00:00
Hallvard Furuseth
705d789dbe
Move #include ldap_pvt.h after slap.h, to get ldap_bv2dn_x() & co.
2003-09-29 14:08:23 +00:00
Hallvard Furuseth
76dd417dc9
Plug memory leak in slap_get_csn().
2003-09-29 14:06:48 +00:00
Howard Chu
dbdfb8c0a3
Plug read_config memleak
2003-09-29 11:15:12 +00:00
Howard Chu
bdf86d44a8
ITS#2130 glued subordinates are not referrals, ignore ManageDSAit control
2003-09-29 10:39:41 +00:00
Howard Chu
0eb7ca22f7
Starting a collection of overlays
2003-09-29 05:49:39 +00:00
Howard Chu
0bb0551381
Initialization fixes
2003-09-29 05:04:43 +00:00
Howard Chu
a875d7df18
plug modrdn memleaks
2003-09-27 07:52:20 +00:00
Howard Chu
1bb48a06fc
ITS#2736 clear result strings
2003-09-27 07:36:20 +00:00
Howard Chu
c9ef0da66b
Don't timeout slow-running operations
2003-09-27 05:36:20 +00:00
Howard Chu
dcd777b0b8
Fix hdb cursor leak.
2003-09-27 05:17:08 +00:00
Luke Howard
8c8c89b8a9
reinstate first argument to bdb_cache_delete_cleanup()
2003-09-27 05:12:17 +00:00
Luke Howard
abaddd1c70
Cleanup SLAPI logging
...
Remove _SPARC hostname special case - gethostname() should work
2003-09-27 05:03:16 +00:00
Howard Chu
121c73d838
Add EntryInfo free list
2003-09-27 04:58:36 +00:00
Luke Howard
283c310302
Fix tree breakage - bdb_cache_delete_cleanup() only takes one argument
...
???
2003-09-27 04:24:31 +00:00
Luke Howard
ce17fd5f04
Don't leak SLAPI_RESULT_MATCHED
...
Call SLAPI_PLUGIN_PRE_RESULT_FN plugins
2003-09-27 03:59:40 +00:00
Luke Howard
613f493cae
Add slapi_dn_beparent, slapi_dn_parent and slapi_dn_isparent API.
2003-09-27 03:29:05 +00:00
Howard Chu
5c711a3b46
ITS#2741 yield before backing off
2003-09-27 03:16:38 +00:00
Luke Howard
a57956ac0f
Implementation of slapi_send_ldap_search_reference()
2003-09-26 17:10:03 +00:00
Howard Chu
1aabc02038
Fix typo in libslapi rule
2003-09-25 20:33:07 +00:00
Jong Hyuk Choi
4495320839
move c->c_n_ops_executing/completed to the right place
2003-09-25 20:14:53 +00:00
Howard Chu
25e145f8c8
Plug SLAPI leak
2003-09-25 11:28:31 +00:00
Jong Hyuk Choi
eee84463c0
do not cache internal search results for present entry priming
2003-09-25 07:49:50 +00:00
Jong Hyuk Choi
d5823fa912
no caching flag in Operation structure
2003-09-25 07:48:53 +00:00
Jong Hyuk Choi
67b485e3ee
revert changes for persistent search
2003-09-25 02:14:20 +00:00
Jong Hyuk Choi
d2320dbd7a
followup of the previous commit
2003-09-25 01:40:33 +00:00
Jong Hyuk Choi
cd108bb682
loose ends fixed
2003-09-25 00:59:27 +00:00
Howard Chu
76dd6bb6da
Revert to previous behavior:
...
always use DB_AUTO_COMMIT when opening a database, don't make it
dependent on an in-progress transaction
use mutex instead of DB lock for db access.
2003-09-25 00:27:22 +00:00
Howard Chu
c58ac9d8f1
Add memctx param to build_new_dn(). cleanup DN leaks.
2003-09-24 04:30:41 +00:00
Howard Chu
ece76c067f
Silence valgrind warnings of uninit'd memory
2003-09-24 03:03:53 +00:00
Howard Chu
7fd47cedb7
ITS#2735 - plug memory leaks
2003-09-24 00:32:27 +00:00
Jong Hyuk Choi
3e99679ca4
log the cause of the error when ldap_result() returns -1
2003-09-23 23:41:57 +00:00
Howard Chu
0b23dff298
ITS#2735 - plug memory leaks, cleanup
2003-09-23 22:52:35 +00:00
Howard Chu
30f3b91ddc
ITS#2735 - plug memory leaks
2003-09-23 22:52:35 +00:00
Howard Chu
772ce3b911
Plug a leak.
2003-09-23 17:14:01 +00:00
Howard Chu
d7771374e2
Fix alignment issues in hdb_dn2idl_internal
2003-09-23 10:55:57 +00:00
Howard Chu
99d2b7e7e9
Fix back-hdb test006 failures due to bad return code in hdb_dn2idl
2003-09-23 08:16:23 +00:00
Luke Howard
114d0081c1
Fix for Howard's fix for ITS #2704
...
The oblique SLAPI interface requires that preop bind plugins return 1 in the
case that they have authoritatively handled the bind; of course, this is
the same return value that doPluginFNs() returns in the case of no plugins
being called.
This patch should distinguish between the two cases...
2003-09-23 07:40:29 +00:00
Howard Chu
28d466ba66
ITS#2526 Fix slapi builds
...
note that -lltdl is added redundantly if --enable-modules was specified.
It seems to me that --enable-slapi should have implied --enable-modules
from the beginning.
2003-09-23 06:11:38 +00:00
Howard Chu
a8ae9bb31d
ITS#2704 don't hang client when no preop plugins are loaded
2003-09-23 05:35:38 +00:00
Howard Chu
089a4852d6
ITS#2678 complain if updateref is missing on a slave database
2003-09-22 18:54:08 +00:00
Luke Howard
ff073b8cd5
Check for HAVE_LONG_LONG in STRTOL macro
2003-09-22 14:01:31 +00:00
Howard Chu
5fb7ea2294
Cleanup prev commit
2003-09-22 10:11:10 +00:00
Howard Chu
0342904699
back-hdb caching updates, use EntryInfo cache for hdb_dn2idl.
2003-09-22 08:37:32 +00:00
Howard Chu
365a3bac3f
Tweak entry caching: only maintain LRU list on cached entries, not
...
on arbitrary EntryInfo.
2003-09-21 23:08:44 +00:00
Howard Chu
fddbe13c6e
Revert broken index optimizations
2003-09-21 10:11:46 +00:00
Luke Howard
3846a8881a
Define SLAP_STRTOL macro for integerBitAndMatch() and integerBitOrMatch()
...
usage - necessary to use larger types for interop with a certain client
that would expect the assertion (attr:1.2.840.113556.1.4.803:=2147483648)
to match a signed value (eg. -2147483646).
There are probably better / more portable solutions; review appreciated.
2003-09-21 06:26:43 +00:00
Howard Chu
6da0f1e48e
ITS#2573 dynamic group support
...
moved labeledURI into system schema
attribute types that inherit from labeledURI may be used in dynamic
groups e.g. access to * by group/groupOfURLs/memberURL=foo
2003-09-20 08:16:04 +00:00
Howard Chu
1e808d5ec9
Fix crashes if test_filter is called with NULL op
2003-09-20 08:12:22 +00:00
Howard Chu
20902a2be3
Fix segfault if entry_get is called with NULL attribute
2003-09-20 07:48:57 +00:00
Howard Chu
bb13266a15
Plug memleak in slap_parseURI
2003-09-20 05:55:48 +00:00
Howard Chu
f2c3ba16d6
cn=ldapsync berval cleanup
2003-09-20 03:26:40 +00:00