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