Howard Chu
37ad7614de
Add syncdata keyword, to select different sync data formats. Defaults
...
to "default", can be set to "accesslog" or "changelog". changelog is
not fully implemented yet.
2005-09-14 15:27:20 +00:00
Howard Chu
285f841bd6
Add a "nopresent" keyword to skip the present phase; for backends that are
...
only used for logging (c.f. accesslog overlay) the present phase is useless.
2005-09-14 15:25:52 +00:00
Howard Chu
5e1ab5aba3
Add CSN management
2005-09-14 15:18:48 +00:00
Howard Chu
f1ffe0076f
Zero out op2
2005-09-14 14:10:25 +00:00
Howard Chu
2babdaab9e
Add flag for only logging successful operations
2005-09-14 09:11:03 +00:00
Howard Chu
9b1d798ad2
Change slap_ad_undef_remove() to slap_ad_undef_promote().
...
AttributeDescriptions must never be freed in a running slapd.
2005-09-14 06:17:59 +00:00
Howard Chu
aa3297aa36
More back-hdb search optimization
2005-09-13 07:55:01 +00:00
Hallvard Furuseth
a2a587c6ca
Add missing comma between Debug() args
2005-09-13 03:35:53 +00:00
Howard Chu
9df4ae7d6b
Fix prev commit
2005-09-12 05:52:55 +00:00
Howard Chu
ab2b541988
Tweak stack size in prev commit
2005-09-12 03:56:21 +00:00
Howard Chu
2dd87ed9e6
Use quicksort instead of heapsort for hdb_idl_sort
2005-09-12 03:54:52 +00:00
Pierangelo Masarati
9129a2f7ee
silence warnings
2005-09-10 18:59:35 +00:00
Pierangelo Masarati
ceb9c15bdd
put logging under Debug(); silence warnings; s/warnings/errors/ #ifdef'd
2005-09-10 18:42:33 +00:00
Pierangelo Masarati
fb3fc81c7e
improved authz_backend detection for internal databases (ITS#4018)
2005-09-10 09:56:29 +00:00
Howard Chu
214e13eecc
Tweak newsuperior error codes
2005-09-10 01:51:34 +00:00
Howard Chu
fc784ad8fd
ITS#2757 remove isroot checks, simplify
2005-09-10 01:49:46 +00:00
Howard Chu
262c44772d
ITS#2757 remove be_isroot checks, simplify...
2005-09-10 01:16:55 +00:00
Howard Chu
f1e05336f1
ITS#3979 restore old (RE21, RE22) search order
2005-09-09 11:43:13 +00:00
Howard Chu
3673cceb6c
ITS#3979 only support tool entry points if root DB has them
2005-09-09 11:37:00 +00:00
Howard Chu
beaa0f2250
ITS#3979 better check for duplicate bi_open functions
2005-09-09 07:40:54 +00:00
Howard Chu
c8f977e1b7
ITS#3981 ch_realloc( addr, 0 ) frees addr, return NULL
2005-09-09 07:06:58 +00:00
Howard Chu
ba39e3fe00
ITS#3989 more fixes
2005-09-09 04:53:56 +00:00
Pierangelo Masarati
866148810e
release resources (ITS#4016)
2005-09-09 02:37:38 +00:00
Howard Chu
d4c3093996
Silence valgrind warnings
2005-09-09 01:44:42 +00:00
Howard Chu
9944c9c461
ITS#4015 silence pointer/integer size warnings
2005-09-08 23:47:19 +00:00
Kurt Zeilenga
bb19302db6
cast pointer to long instead of int to hopefully avoid
...
truncation. Change does at least silence warning.
2005-09-08 21:38:20 +00:00
Pierangelo Masarati
366ef40ceb
plug one-time leaks
2005-09-08 20:46:48 +00:00
Pierangelo Masarati
1c2aef6050
fix format and signedness issues
2005-09-08 20:18:43 +00:00
Howard Chu
aa897eae90
ITS#4010 fixes complaint, larger problem remains
2005-09-08 15:28:36 +00:00
Pierangelo Masarati
3093f97767
fix messages in previous commit
2005-09-08 14:32:09 +00:00
Pierangelo Masarati
5f20374de1
reject registrations when back-monitor is not configured
2005-09-08 14:23:35 +00:00
Howard Chu
a59c109109
Check errcode from dn2entry before using ei
2005-09-08 11:14:12 +00:00
Howard Chu
d567be70eb
ITS#3989 fix crash - don't access freed psearch records
2005-09-08 02:19:05 +00:00
Howard Chu
2ba90833c7
Misc Windows linking fixes
2005-09-07 10:27:55 +00:00
Howard Chu
c7fe31b06d
ITS#4009 set X-ORDERED extension on olcReplica
2005-09-07 03:30:59 +00:00
Pierangelo Masarati
07fd8431c2
allow "proxied" attributeDescriptions in DN as well (more about ITS#3959)
2005-09-06 17:21:24 +00:00
Pierangelo Masarati
a1ff59f436
pretty the DN as well
2005-09-06 17:19:36 +00:00
Pierangelo Masarati
4687de2062
fix typo (ITS#4005)
2005-09-06 15:17:07 +00:00
Pierangelo Masarati
82af0c95f7
cleanup dynacl usage()
2005-09-06 14:26:53 +00:00
Pierangelo Masarati
42ae82332f
few more fixes
2005-09-06 14:26:06 +00:00
Pierangelo Masarati
85e56eb653
don't lookup rootdn if the password is incorrect (ITS#4004)
2005-09-06 12:35:37 +00:00
Howard Chu
9ec2e2c690
ITS#3807 use a different tokenizer for parsing LDIF values into words.
2005-09-06 09:04:26 +00:00
Howard Chu
e0b42505c1
Add searchFilter var in searchDN session. Would have preferred to confine
...
this to the searchDN context. Please review.
2005-09-06 07:13:14 +00:00
Howard Chu
d89cfddcde
ITS#4003 frontend->be_replogfile can legitimately be set.
2005-09-05 02:42:24 +00:00
Kurt Zeilenga
69dc0282b1
really fix commit before last
2005-09-05 01:47:27 +00:00
Howard Chu
258b31ccad
Moved from back-bdb
2005-09-05 01:32:44 +00:00
Kurt Zeilenga
59a23d7656
Fix typo in last commit
2005-09-05 01:11:45 +00:00
Kurt Zeilenga
b707e1e38c
Move uidNumber and gidNumber into slapd(8)
...
to ensure they are available for ldapi://.
2005-09-05 01:08:40 +00:00
Pierangelo Masarati
61e06b4ef2
all right, don't worry about free() by now
2005-09-04 23:54:30 +00:00
Howard Chu
92909f0682
ITS#3980 fix when master doesn't explicitly reset grace/lock attrs
2005-09-04 23:44:04 +00:00
Pierangelo Masarati
ec532ce885
disable pagedResults or reject
2005-09-04 20:08:35 +00:00
Pierangelo Masarati
35935f4178
silence warning
2005-09-04 20:07:17 +00:00
Pierangelo Masarati
596f21340e
cleanup
2005-09-04 20:00:40 +00:00
Pierangelo Masarati
7fd7001fc2
fix old erroneous commit (ITS#4001)
2005-09-04 19:21:39 +00:00
Howard Chu
0eed18a0e8
Also compile for LDBM
2005-09-04 16:24:16 +00:00
Howard Chu
1e4d973616
ITS#3980, filter out some delete modifications on replicas if target
...
attrs don't exist
2005-09-04 16:22:30 +00:00
Howard Chu
f81ad346ff
ITS#3978: Added alock calls; warns about inconsistency but continues
...
to start. Fails for concurrent access attempts, since ldbm does not
support any concurrency. (So slaptools are prevented from running when
slapd is already active.)
2005-09-04 15:48:44 +00:00
Howard Chu
464fc6b68a
ITS#3978 move alock from back-bdb to slapd
2005-09-04 15:21:57 +00:00
Howard Chu
784554f1bb
ITS#3802, #3999 skip wake_sds in epoll event loop
2005-09-04 15:04:09 +00:00
Hallvard Furuseth
00d898e7f3
Silence warnings
2005-09-03 17:03:36 +00:00
Howard Chu
36db408d0e
Add missing return from rev 1.27
2005-09-02 21:27:49 +00:00
Howard Chu
f4637d60c2
per LDAPext discussion, delete pwdAccountLockedTime on password change
2005-09-02 20:38:05 +00:00
Howard Chu
f1561ac4b5
Bypass all add/modify checks on replicas, the master has done them already.
2005-09-02 20:23:32 +00:00
Howard Chu
fc8b2dda7c
ITS#3989 fix ID used for syncprov_findbase
2005-09-02 10:08:44 +00:00
Howard Chu
d875ecb315
Remove #undef HAVE_EPOLL accidentally committed in rev 1.316
2005-09-01 23:21:46 +00:00
Howard Chu
7539786f01
Fix olcSubordinate OID clash
2005-09-01 12:19:08 +00:00
Howard Chu
8eed3a4bb5
ITS#3992 check bi_dbenv
2005-09-01 12:15:30 +00:00
Howard Chu
4a1eabf257
Moving glue overlay back into slapd core, returning to 2.2 config syntax
2005-09-01 11:45:04 +00:00
Hallvard Furuseth
6daa94dfe7
Fix check for supported operations: Needs be_id2entry_get, not be_entry_get
2005-08-31 23:25:50 +00:00
Hallvard Furuseth
4faa77f440
Reject slapadd -w if not supported (partial ITS#3979 fix)
2005-08-31 23:23:13 +00:00
Hallvard Furuseth
e0a8e693af
Null backend support for slapadd and slapcat
2005-08-31 18:00:40 +00:00
Hallvard Furuseth
fc1514431c
Cleanup: Rename struct null_info.bind_allowed to .ni_bind_allowed
2005-08-31 16:30:32 +00:00
Pierangelo Masarati
4ba83103d9
fix test before releasing resources (ITS#3990)
2005-08-31 15:11:25 +00:00
Howard Chu
be1216819c
ITS#3979 only one glue overlay per tree is allowed
2005-08-31 11:47:18 +00:00
Pierangelo Masarati
a2ea1edb48
save target errors for later evaluation
2005-08-31 01:55:34 +00:00
Pierangelo Masarati
093994cfd5
further refine previous commit
2005-08-30 23:55:15 +00:00
Pierangelo Masarati
6ff4357427
fix previous commit
2005-08-30 21:21:32 +00:00
Pierangelo Masarati
a836a77e27
always init ACLs
2005-08-30 11:00:23 +00:00
Pierangelo Masarati
9baa6f4c99
don't let back-monitor appear __after__ a database that hides it; currently, only <suffix ""> :-( ; make error messages more descriptive
2005-08-30 10:38:11 +00:00
Pierangelo Masarati
b86467e0f8
cleanup previous commit (thanks to Hallvard)
2005-08-30 10:36:24 +00:00
Hallvard Furuseth
27831fcde5
Include "fd=.." in Statslog message "TLS established"
2005-08-29 23:34:42 +00:00
Howard Chu
3fc2e1388a
ITS#3983 fix connection_client_stop, must reset sockbuf
2005-08-29 23:05:32 +00:00
Pierangelo Masarati
7cf72ec000
log UNDEFINED/PROXIED attributeDescription insertion
2005-08-29 10:49:20 +00:00
Pierangelo Masarati
bac1aea2a5
fix previous commit
2005-08-29 09:48:07 +00:00
Pierangelo Masarati
7a85e25402
prettify matchedDN
2005-08-28 14:50:41 +00:00
Howard Chu
ba881c5e6f
In ordered_value_sort, allow zero-length ordered values.
...
In check_vals, log msg when ordered_value_sort fails.
2005-08-28 10:23:10 +00:00
Howard Chu
f8a97897ad
More for ITS#3937, pick up pre-set ldap_syslog values.
2005-08-28 07:15:11 +00:00
Howard Chu
055c1abbdc
ITS#3937 add config_syslog var to track state of loglevel directive,
...
copy to ldap_syslog when in SLAP_SERVER_MODE
2005-08-28 07:11:10 +00:00
Howard Chu
ba268441bc
ITS#3937 tone down informational debug msgs
2005-08-28 07:02:53 +00:00
Howard Chu
975de9aa5b
Consolidate a few more init calls into slap_init(). Fixes ITS#3962,
...
unintentional changed default of TLSVerifyClient.
2005-08-28 03:25:16 +00:00
Pierangelo Masarati
39998dfe8d
prettify matchedDN; fix memory handling
2005-08-27 19:21:43 +00:00
Pierangelo Masarati
97600bf23c
prettify matchedDN; return response code
2005-08-27 19:20:31 +00:00
Howard Chu
b265c37c9b
Additional log msg for config tree processing failures
2005-08-27 10:51:08 +00:00
Howard Chu
29731c1850
Partially revert rev 1.31, must detect send_search errors to propagate
...
errors up when reading config DB.
2005-08-27 10:15:22 +00:00
Howard Chu
a5739b28b3
More for ITS#3900 - olcDefaultSearchBase doesn't belong in root entry
2005-08-27 09:40:06 +00:00
Howard Chu
528acf7504
Finish control implementation
2005-08-27 01:21:51 +00:00
Howard Chu
12beb27e46
Fix typos in error messages
2005-08-27 01:18:47 +00:00
Hallvard Furuseth
f17ffeb925
Rename label "leave" to "done".
...
Tru64 5.1 alpha's <pthread.h> turns "leave" into an exception handling keyword.
2005-08-26 22:23:27 +00:00
Hallvard Furuseth
a1a9507295
Remove unused variable
2005-08-26 21:42:48 +00:00
Pierangelo Masarati
8e3adc2428
fix uninitialized, signedness and other issues (ITS#3854)
2005-08-26 16:52:51 +00:00
Pierangelo Masarati
421f09435d
refine last commit (let "proxied" attrs be registered in between the request and the response...); silence misc signedness warnings
2005-08-26 14:43:15 +00:00
Luke Howard
06600b9a1d
fix slapi_sdn_isempty() logic
2005-08-26 10:46:56 +00:00
Howard Chu
e641222b10
More for ITS#3854
2005-08-26 03:35:42 +00:00
Howard Chu
7e92728db9
Fix another leaked environment.
2005-08-26 02:35:32 +00:00
Hallvard Furuseth
45d60c21dd
slapi_rdn_set_<sdn/rdn>: Void functions, so return nothing - not even void.
2005-08-26 02:26:50 +00:00
Howard Chu
6a4839bd23
Windows mod compatibility
2005-08-26 02:21:07 +00:00
Howard Chu
4cc7efdadc
Revert ITS#3577 patch, breaks Windows build and not needed in RE23.
2005-08-26 02:20:45 +00:00
Howard Chu
5a03f7611f
Fix for Windows mod compatibility, imported symbols cannot be used as
...
constant initializers.
2005-08-26 02:17:13 +00:00
Howard Chu
d7122627fa
Leave pwdPolicySubEntry user-modifiable for now
2005-08-26 00:19:08 +00:00
Pierangelo Masarati
6cb8b14435
allow undefined attrs to be "proxied" (ITS#3959)
2005-08-25 21:14:26 +00:00
Kurt Zeilenga
f07015dad2
Update build tools based upon OPENLDAP_AC work
2005-08-25 20:09:26 +00:00
Pierangelo Masarati
afaf426231
need stricter sanity checks...
2005-08-25 08:57:08 +00:00
Pierangelo Masarati
b90daf83f9
honor onerr on bind
2005-08-25 08:55:55 +00:00
Howard Chu
f6be095299
Don't do anything if this is a syncrepl response.
2005-08-25 06:56:09 +00:00
Howard Chu
143a1cdae1
Must close env before removing it.
2005-08-25 03:00:29 +00:00
Howard Chu
5903ebc1b5
Config fixes
2005-08-24 08:32:03 +00:00
Luke Howard
a99305da41
Allow slapi_sdn_get_parent() to work if only normalized DN is available
2005-08-24 05:11:58 +00:00
Howard Chu
fc1c7d9987
Fix typo in numeric-descend
2005-08-24 02:26:55 +00:00
Howard Chu
c9c1ee10b3
Add LDAP_CONTROL_VALSORT
2005-08-24 02:07:43 +00:00
Howard Chu
6b63e25bc2
Check for numeric syntaxes
2005-08-24 01:52:05 +00:00
Howard Chu
7dde9e0b33
Tweak prev commit, use BER_BVZERO
2005-08-24 01:36:16 +00:00
Howard Chu
c947cfd66a
Fix uninit'd var, check for single-valued attrs
2005-08-24 01:34:49 +00:00
Pierangelo Masarati
c33124e698
make sure a_nvals are as many as a_vals (helps tracking other issues...)
2005-08-23 23:56:47 +00:00
Pierangelo Masarati
ac1488b50d
workaround ITS#3965; if anybody has a better solution...
2005-08-23 22:54:07 +00:00
Howard Chu
ef220ac1ef
Updated for draft 09, allow MANAGE for operational attrs.
2005-08-23 19:37:16 +00:00
Pierangelo Masarati
40c0d3bfa3
harmonize back-ldbm and back-bdb handling of searchBase disclose access; fixes ITS#3964, ITS#3963 still open
2005-08-23 17:38:50 +00:00
Pierangelo Masarati
fb3424f17d
fix use of uninitialized var
2005-08-23 13:02:53 +00:00
Howard Chu
02f52030b0
More for valsort
2005-08-23 10:44:36 +00:00
Howard Chu
57722288f1
Add valsort
2005-08-23 08:52:01 +00:00
Howard Chu
225275407d
Add sorted values overlay
2005-08-23 08:47:38 +00:00
Howard Chu
1f78e2b831
ITS#3961 better fix - provide a context for the main thread. The context
...
must be reset by the caller to clear out temp allocations etc.
2005-08-23 04:12:57 +00:00
Howard Chu
468112e2ba
ITS#3961 provide ldap_pvt_thread_pool_fake_context_init/destroy, don't
...
use arbitrary context pointers.
2005-08-23 03:25:21 +00:00
Pierangelo Masarati
075220dd7e
need some minimal timeout otherwise strange issues occur
2005-08-22 18:14:41 +00:00
Pierangelo Masarati
0717a598b6
fix ACIs; few issues remain (e.g. disclose)
2005-08-22 17:59:47 +00:00
Pierangelo Masarati
849ecbcf1f
allow options in dynacl configuration
2005-08-22 16:28:50 +00:00
Pierangelo Masarati
4bc8197dcb
further ACI factoring out & confinement
2005-08-22 16:03:35 +00:00
Pierangelo Masarati
d4ec31f677
fix cleanup on error
2005-08-22 16:01:16 +00:00
Pierangelo Masarati
65f07479ac
fix previous commit
2005-08-22 10:46:57 +00:00
Pierangelo Masarati
de90dbbc52
mutex-protect "undefined" attribute descriptions/objectClasses addition (ITS#3958)
2005-08-22 09:46:17 +00:00
Pierangelo Masarati
a3554aad3a
log the right string
2005-08-22 09:42:51 +00:00
Pierangelo Masarati
ec1042b19e
allow a minimal timeout in compares
2005-08-22 09:42:26 +00:00
Pierangelo Masarati
150bcfcbcb
moved to contrib/slapd-overlays/allop
2005-08-22 09:12:21 +00:00
Hallvard Furuseth
94747c50db
SLAP_OP_* enums are always used. Delete #ifdef SLAPD_MONITOR around definition.
2005-08-21 00:00:09 +00:00
Pierangelo Masarati
5b7f996566
cleanup
2005-08-20 19:50:59 +00:00
Pierangelo Masarati
919781ea45
fix referral logging @STATS2
2005-08-20 19:20:53 +00:00
Pierangelo Masarati
c8ef609ea1
fix (and partially revert) last commit
2005-08-20 19:05:10 +00:00
Pierangelo Masarati
00b5d8c1bc
allow objectClass checking including sups
2005-08-20 19:01:53 +00:00
Pierangelo Masarati
15d1b4d5dd
cleanup locking
2005-08-20 19:00:56 +00:00
Pierangelo Masarati
6bae592866
cleanup objectclass inheritance; don't proceed if initial lookup resulted in a hit with "success" errcode and the base is search; either the filter doesn't match, or the same action is taken twice
2005-08-20 18:00:40 +00:00
Pierangelo Masarati
f227a96053
more for the allop overlay
2005-08-20 11:53:31 +00:00