Kurt Zeilenga
819b5303da
Add txn_checkpoint()'ing
...
disable moddn/newSuperior (needs re'IDing)
2000-09-28 04:09:13 +00:00
Kurt Zeilenga
f106722ebf
working modrdn...
...
(need to fix leaks on transaction retries)
2000-09-28 02:42:20 +00:00
Kurt Zeilenga
67a595b328
fix up bdb_entry_return() calls
2000-09-28 02:27:49 +00:00
Kurt Zeilenga
fe23e0b875
Fix idl_insert... add/modify/delete now working w/ binary IDL search!
...
Leave debugging in place until post indexing work.
2000-09-28 01:27:01 +00:00
Kurt Zeilenga
75ee0afb30
Add idl_dump for testing purposes
2000-09-28 01:02:59 +00:00
Kurt Zeilenga
b64782a7c0
Clean up logging... need to hand run idl_delete to find bug
2000-09-28 00:24:28 +00:00
Kurt Zeilenga
ce01b5d755
Don't complain about non-existance IDL "range" candidates
2000-09-28 00:10:41 +00:00
Kurt Zeilenga
373479e5b8
Mostly working modify
2000-09-28 00:02:47 +00:00
Kurt Zeilenga
371f8efb9c
Fix entry encode/decode logging
2000-09-27 23:37:10 +00:00
Kurt Zeilenga
45b0ae2e7d
Fix referrals no-referrals case
2000-09-27 23:25:15 +00:00
Kurt Zeilenga
ddb1124e42
Rough in extended ops, modify, and modrdn.
...
General code cleanup.
2000-09-27 22:28:59 +00:00
Kurt Zeilenga
cb2734eef0
Fix cursor logic
2000-09-26 22:28:12 +00:00
Kurt Zeilenga
077c47c2a6
replace ALLIDS with RANGE IDLs
2000-09-26 22:22:42 +00:00
Kurt Zeilenga
21cc085854
Add reindex
2000-09-26 20:41:54 +00:00
Kurt Zeilenga
fdeffe84e1
Add kludge to get working tests add/populate.
2000-09-26 20:31:34 +00:00
Kurt Zeilenga
dccdd30497
Got base entry...
2000-09-26 19:26:08 +00:00
Kurt Zeilenga
fcb3ccc526
Fix ber_scanf and init bugs
2000-09-26 17:47:24 +00:00
Kurt Zeilenga
63df7da68e
include external.h
2000-09-26 05:33:37 +00:00
Kurt Zeilenga
3c600e3a8c
Fix logging
2000-09-26 04:28:52 +00:00
Kurt Zeilenga
e2c2ff8deb
Apparently working slapadd!
2000-09-26 04:28:17 +00:00
Kurt Zeilenga
ebae2e5c62
Rough in passwd and referral routines
...
add diag and fix a few idl bugs
2000-09-26 03:47:56 +00:00
Kurt Zeilenga
5a30d0a9dd
Add more diagnostics including linear search version of idl_search()
2000-09-26 01:36:35 +00:00
Kurt Zeilenga
7b97ddabeb
Add diagnostics
2000-09-26 01:18:00 +00:00
Kurt Zeilenga
922cd5f41e
Fix nextid
2000-09-26 00:56:33 +00:00
Kurt Zeilenga
b6d63b8e17
Add additional diagnostics
2000-09-26 00:43:00 +00:00
Kurt Zeilenga
11797cdbeb
Fix initialization, add additional diagnostics
2000-09-26 00:12:31 +00:00
Kurt Zeilenga
0518820376
Add bind()
2000-09-25 23:46:54 +00:00
Kurt Zeilenga
c182511f91
Add bdb_bind, clean up init, s/Backend/BackendDB/
2000-09-25 23:41:16 +00:00
Kurt Zeilenga
6a74325e5d
Clean up debug messages
2000-09-25 21:58:41 +00:00
Kurt Zeilenga
61f5f03a23
Disable sub directory support for now
2000-09-25 21:30:15 +00:00
Kurt Zeilenga
e50c9b1588
Add minimal config support
2000-09-25 21:10:21 +00:00
Kurt Zeilenga
c3ab074c00
Update build environment for back-bdb
2000-09-25 20:16:19 +00:00
Kurt Zeilenga
ec1f989c79
Finish search rough in (w/o alias nor indexing support)
2000-09-25 19:59:45 +00:00
Kurt Zeilenga
61a15be30a
Rough in search routine
2000-09-25 18:59:15 +00:00
Kurt Zeilenga
708db94416
Clean up logging and fix ITS#771 typo
2000-09-25 06:49:27 +00:00
Kurt Zeilenga
3874e8571d
Add dn2entry.c
2000-09-24 22:48:13 +00:00
Kurt Zeilenga
64c521085b
Add compare routine
2000-09-24 06:04:58 +00:00
Kurt Zeilenga
68a5db572c
rough in an add/delete and deadlock avoidance
2000-09-23 23:15:40 +00:00
Kurt Zeilenga
b7b075ba75
Remove unneeded getpeername call (use accept() from).
...
cleanup #ifdef, localize variables, and misc changes.
2000-09-23 20:39:52 +00:00
Kurt Zeilenga
aa5b7d4d52
Restrict keepalive/nodelay setsockopt to IP streams
2000-09-23 19:14:40 +00:00
Kurt Zeilenga
318d11e9db
Fix ri initialization bug (ITS#768)
2000-09-22 22:24:30 +00:00
Kurt Zeilenga
6949ab9d15
Replace indexing hash with 32-bit FNV-1... should be much faster than MD5
2000-09-22 22:19:46 +00:00
Kurt Zeilenga
adf7955160
Add indirection to hash routines to allow for easier replacement
...
(MD5 should be replaced with something faster)
2000-09-22 20:47:46 +00:00
Kurt Zeilenga
048cb81a0f
Use LUTIL_MD5_BYTES constant
2000-09-22 20:36:27 +00:00
Kurt Zeilenga
641845f4c1
Rework schema install to work with VPATH support
2000-09-22 19:16:53 +00:00
Kurt Zeilenga
f164e69baa
Don't recursive lock connections_mutex in idle timeout routine
2000-09-22 18:18:39 +00:00
Kurt Zeilenga
de61693cdb
Add depend information
2000-09-22 08:53:51 +00:00
Kurt Zeilenga
aaab54e142
Add bdb_add() and supporting routines
2000-09-22 06:46:32 +00:00
Kurt Zeilenga
2b82d4f486
remove lint
...
update bdb codes
2000-09-22 01:40:57 +00:00
Kurt Zeilenga
d78a515860
Fix build issues
2000-09-21 23:00:51 +00:00
Kurt Zeilenga
2aebaba70e
Patch req2rst not to abort on unknown tags
2000-09-21 22:29:53 +00:00
Kurt Zeilenga
342ad23c4c
sasl_secprops: needs to return ""
2000-09-21 21:32:13 +00:00
Kurt Zeilenga
d5860fb05c
check return of ldap_pvt_tls_init() (which doesn't fail yet)
2000-09-21 21:30:02 +00:00
Kurt Zeilenga
8730b78ad3
Remove assert in sasl_secprops
2000-09-21 21:28:32 +00:00
Kurt Zeilenga
cf17c168c5
Fix portability issue.
...
Move prototypes to proto-slap.h
2000-09-21 19:12:41 +00:00
Kurt Zeilenga
bbae507a8f
Set TCP_NODELAY and SO_KEEPALIVE after every accept() as some accept()
...
implementations do not create new socket with all properties of
listening socket.
2000-09-21 19:08:17 +00:00
Mark Adamson
bf1ee530ea
Implementation of SASL authorization.
2000-09-21 17:32:54 +00:00
Kurt Zeilenga
c9de004a86
Fix logging bug
2000-09-21 16:53:45 +00:00
Kurt Zeilenga
101ec9c57f
modify idl_search to use binary search algorithm
2000-09-21 01:56:10 +00:00
Kurt Zeilenga
4830b23b9d
Add idl_delete routines
2000-09-20 23:29:41 +00:00
Kurt Zeilenga
6543336245
Fix typo in comment
2000-09-20 23:29:14 +00:00
Kurt Zeilenga
4617f2e946
Fix SPASSWD merge for real
2000-09-20 17:34:06 +00:00
Kurt Zeilenga
31dd2fb5eb
Fix merge of SPASSWD changes
2000-09-20 17:13:36 +00:00
Kurt Zeilenga
95627d674a
Add dn2id code
...
Add idl_insert
2000-09-20 07:21:09 +00:00
Kurt Zeilenga
7ab0916488
Reply on DB_CONFIG for tuning...
2000-09-20 02:01:05 +00:00
Kurt Zeilenga
50714d2d48
merge changes from authPassword work which should fix SPASSWD code...
2000-09-20 00:28:57 +00:00
Kurt Zeilenga
67e3f97097
Add new nextid code.
2000-09-19 20:13:41 +00:00
Kurt Zeilenga
22e739b736
Add rough implementation of tool callbacks.
2000-09-19 18:08:04 +00:00
Kurt Zeilenga
fe186a9c8f
Add BDB errcall
2000-09-19 01:59:08 +00:00
Kurt Zeilenga
b0f3bcb552
Don't set DB_PRIVATE yet.
2000-09-18 21:51:19 +00:00
Kurt Zeilenga
c1fdf4587c
Add errpfx and errcall
2000-09-18 21:35:08 +00:00
Kurt Zeilenga
da5da64ef8
Add set_*_dir calls
2000-09-18 21:19:19 +00:00
Kurt Zeilenga
4077211117
Fix up back-bdb framework
2000-09-18 20:03:41 +00:00
Kurt Zeilenga
c3b0c9bd0a
Initial autoconf support for back-bdb
2000-09-18 19:02:03 +00:00
Kurt Zeilenga
434b0738dd
Don't check fd_sets until after we check fd < dtblsize
2000-09-18 19:01:21 +00:00
Kurt Zeilenga
583cbc8c25
Framework for back-bdb
2000-09-18 18:51:07 +00:00
Kurt Zeilenga
ad08ff008e
Remove -s (noschemacheck in favor of using global_schemacheck)
2000-09-17 20:40:43 +00:00
Kurt Zeilenga
9a8006a6c2
Validate values in tool mode
2000-09-16 22:47:29 +00:00
Kurt Zeilenga
b6674a90b0
Cleanup
2000-09-16 22:46:52 +00:00
Kurt Zeilenga
b2e776cfe7
Reorder DN check
2000-09-16 06:23:53 +00:00
Kurt Zeilenga
5cfb3f24a5
Fix modrdn handling
2000-09-16 00:26:24 +00:00
Kurt Zeilenga
34f8561467
Update slurpd with StartTLS and additional SASL parameters
2000-09-15 23:41:07 +00:00
Kurt Zeilenga
b1770ee098
Remove cruft (-h)
2000-09-15 22:49:14 +00:00
Kurt Zeilenga
45cf7e1dfe
Add additional error checking... need to better handle
...
garbage input from slapadd or pre-existing database.
2000-09-15 03:26:22 +00:00
Kurt Zeilenga
825c3c4c5c
Fix handling of optional cred
2000-09-15 00:09:44 +00:00
Kurt Zeilenga
f2b1d423c1
Cleanup
2000-09-14 07:10:15 +00:00
Kurt Zeilenga
435bdf24b0
Fix ;binary subtyping
2000-09-14 06:07:23 +00:00
Ben Collins
09a2e74d5a
dereference 'char **text' when passing it as an arg to Debug()
2000-09-13 21:52:50 +00:00
Ben Collins
d216e32d63
declare return value of index_mask() to be slap_mask_t, also get rid of extraneous code in for() loop
2000-09-13 21:51:14 +00:00
Kurt Zeilenga
16cdbd9c74
Update handling of binary syntax to require ";binary" transfer
2000-09-13 21:50:24 +00:00
Ben Collins
810d3ce224
specifically check for NULL return from acl_get()
2000-09-13 21:49:56 +00:00
Kurt Zeilenga
13262aca41
Fix java schema
2000-09-13 19:58:56 +00:00
Kurt Zeilenga
2a8176cd62
Add Standard Track PKI schema (RFC2587)
2000-09-13 06:09:50 +00:00
Kurt Zeilenga
6c3e915ceb
Fix reversed assert logic
2000-09-13 01:23:39 +00:00
Kurt Zeilenga
93074d7e43
Add EOL at EOF
2000-09-13 00:05:45 +00:00
Kurt Zeilenga
16101ba8c9
Remove extranous characters (^M) and other minor clean up
2000-09-12 21:43:42 +00:00
Kurt Zeilenga
f7ba5a68c4
Catch nextid failures.
2000-09-12 21:16:03 +00:00
Kurt Zeilenga
d6a56aaf25
Fix typo in last commit
2000-09-12 19:35:19 +00:00
Kurt Zeilenga
bd9de9d90d
Clean up defaultSearchBase code
2000-09-12 18:21:09 +00:00
Kurt Zeilenga
6629093571
Add entry_encode()
2000-09-12 04:57:56 +00:00
Kurt Zeilenga
5864dfdb7b
remove lint
2000-09-12 00:38:47 +00:00
Kurt Zeilenga
0549d647de
Fix bad merge
2000-09-12 00:37:03 +00:00
Kurt Zeilenga
99ca5d4b91
Update projects for DB31 (Sleepcat changed library names, ugh)
2000-09-12 00:33:02 +00:00
Kurt Zeilenga
5170fc3a98
Add BitString syntax/matching rule handlers
...
Add NameAndOptionalUID/UniqueMemberMatch handlers
2000-09-12 00:32:08 +00:00
Kurt Zeilenga
fdc16c2f94
Add initial entry_encode() routine for back-sleepy (behind #if)
...
Need to add entry_decode().
2000-09-12 00:28:08 +00:00
Kurt Zeilenga
a3ae90ac8a
Rework integer syntax to support signed values.
...
Validation is quite rigid allowing use of simple normalization
and caseExactIA5 matching (and indexing).
2000-09-12 00:00:25 +00:00
Kurt Zeilenga
5852f7188b
Add 'defaultSearchBase' configuration directive to help support
...
brain-damaged LDAPv2 clients.
2000-09-11 21:57:14 +00:00
Kurt Zeilenga
344b91e257
Add Java (RFC2713) and Corba (RFC2714) schema
2000-09-11 20:27:35 +00:00
Kurt Zeilenga
6a3b8e281b
ITS#722: disallow argument buffer overflow
2000-09-11 19:05:24 +00:00
Kurt Zeilenga
d8c4df6f39
-lldbm now sets DB_USE_ENVIRON and support input of a DB home path.
...
back-ldbm needs modification to support db home directory as backend
(as oppose to database) option.
2000-09-11 18:46:34 +00:00
Julio Sánchez Fernández
95eacae431
Integer (not numericString, that are different) matches.
...
Good for nss_ldap (equality indexing of uidNumber and the
like now work).
2000-09-11 18:34:14 +00:00
Kurt Zeilenga
3342ea3b49
Add more bind allow/disallow flags
2000-09-11 18:24:24 +00:00
Kurt Zeilenga
2e13824d0d
Add "allow tls_2_anon" to allow StartTLS to force session to anonymous.
...
Add "disallow tls_authc" to disallow StartTLS when session is authenticated.
Create and use connection2anonymous routine for consistency.
2000-09-08 22:59:01 +00:00
Kurt Zeilenga
2c342e894c
Minor change to connection error handling
2000-09-08 18:46:18 +00:00
Kurt Zeilenga
85fc1af755
disallow more root dse operations
2000-09-08 16:59:15 +00:00
Kurt Zeilenga
1e26e165fe
Disallow inappropriate operations upon the root dse.
2000-09-08 05:20:46 +00:00
Kurt Zeilenga
a20800a964
backout ucdata change as being a little too experimental
2000-09-07 23:46:07 +00:00
Kurt Zeilenga
a4fac87687
Use ucdata (very experimental)
2000-09-07 23:19:10 +00:00
Kurt Zeilenga
f9690a37bb
ITS#717 slapd kbind patch
2000-09-07 22:03:32 +00:00
Kurt Zeilenga
d463b3cab1
Add missing "disallow bind_anon" directive (ITS#721)
2000-09-07 17:53:05 +00:00
Kurt Zeilenga
89766f131e
ITS#713 check_time_syntax suggested by klasen@zdv.uni-tuebingen.de
...
Portions Copyright 2000, Norbert Klasen, All rights reserved.
This software is not subject to any license of
Universitaet Tuebingen.
This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself.
2000-09-06 19:17:33 +00:00
Kurt Zeilenga
d4a89d30f8
Minor IPv6 changes (ITS#716) suggested by Stig Venass <venaas@uninett.no>
2000-09-06 19:03:33 +00:00
Kurt Zeilenga
5a4f5e5c50
reuse dnMatch as uniqueMemberMatch
2000-09-05 22:07:08 +00:00
Kurt Zeilenga
a75a024fd3
Consistently don't require "entry" access (except on search)
2000-09-05 21:48:12 +00:00
Kurt Zeilenga
7e71a7f63b
Add krb5-kdc to list
2000-09-05 20:24:44 +00:00
Kurt Zeilenga
99f4a10c3e
Add hdb.schema from Luke Howard <lukeh@padl.com>, file renamed.
2000-09-05 20:23:12 +00:00
Kurt Zeilenga
f2bcf33e23
Use DN syntax routines for Name and Optional OID syntax.
...
This is quite bogus but meets most users needs.
Should be replaced with real Name and Optional OID routines.
2000-09-05 20:10:39 +00:00
Kurt Zeilenga
f97482e10f
Fix authz bug introduced by last change
2000-09-05 19:45:06 +00:00
Kurt Zeilenga
7778304b16
Fix typo
2000-09-05 19:38:26 +00:00
Kurt Zeilenga
c8c969a184
Rework connection lock code to avoid unnecessary lock reaquire
2000-09-05 19:11:27 +00:00
Kurt Zeilenga
488189aed2
Fix SSF ACLs
2000-09-05 18:48:09 +00:00
Kurt Zeilenga
63ae1d22e5
Fix ACL SSF reporting
2000-09-05 18:24:24 +00:00
Dmitry Kovalev
04939b7aca
documentation update. this reflects recent changes (redesign, referral and multiple objectclasses support, and other), and provides new (hopefully more clear ;) description of concept
2000-09-05 18:16:58 +00:00
Kurt Zeilenga
cee040a321
Bring UCdata infrastructure.
2000-09-03 23:48:35 +00:00
Kurt Zeilenga
91bdd84b96
Duplicate IA5 matching rule routines as needed to implement UTF-8 varients.
2000-09-03 18:04:08 +00:00
Kurt Zeilenga
179cd46266
ITS#705: nisNetgroupTripleValidate
...
ITS#706: bootParameterValidate
Submitted by Stig Venass <venaas@uninett.no>
Modified by Kurt Zeilenga <kurt@openldap.org> for stricter
adherence to specification (RFC 2307).
Portions
Copyright 2000 Stig Venaas
All rights reserved.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. This software is provided ``as is'' without express or
implied warranty.
2000-09-03 17:35:39 +00:00
Kurt Zeilenga
309c458ed4
Experimental fix for deadlock
2000-09-02 00:19:06 +00:00
Randy Kunkee
58bb439d08
Raise MAXARGS to 200, since the schema syntax burns more.
2000-08-31 22:16:16 +00:00
Kurt Zeilenga
3058b0515d
Don't publish version 2 if disallowed
2000-08-31 18:51:15 +00:00
Kurt Zeilenga
563fd083e9
reorder tests
2000-08-30 22:24:21 +00:00
Kurt Zeilenga
553a78e2ee
Don't drain after TLS failure.... causes busy forever loop
2000-08-30 22:08:19 +00:00
Kurt Zeilenga
a60438c1ce
Add sasl-host option and treat sasl-realm as global only
...
(ie: not backend specific).
2000-08-30 01:44:39 +00:00
Kurt Zeilenga
4e8973e6cb
Rework bind restrictions
2000-08-28 23:37:44 +00:00
Kurt Zeilenga
102f12a71a
Restrict bind
2000-08-28 23:29:29 +00:00
Kurt Zeilenga
90f0d9c85e
Remove lint
2000-08-28 22:20:19 +00:00
Kurt Zeilenga
3e91d48127
Move authzid_backend to after restrictions checks
2000-08-28 21:28:22 +00:00
Kurt Zeilenga
4520cd4ec2
Align with man page
2000-08-28 19:19:47 +00:00
Kurt Zeilenga
9715e7f008
Add disallow and requires to man page. Fix sasl ssf handling bug.
2000-08-28 18:58:13 +00:00
Kurt Zeilenga
bf3df2f7a6
restrictops, requires, disallow knobs; ssf acls; and misc other changes
...
man pages to follow...
2000-08-28 18:38:48 +00:00
Kurt Zeilenga
08b52f80bb
Fix alias deref success v. NoSuchObject bug
2000-08-27 17:53:01 +00:00