Commit Graph

1979 Commits

Author SHA1 Message Date
Kurt Zeilenga
16fcdec8df Import Stig reorganized daemon.c + style changes 2000-10-12 21:59:08 +00:00
Gary Williams
b9837286db example of new logging use 2000-10-12 20:12:28 +00:00
Gary Williams
bbc0ac00b2 get new debug configuration 2000-10-12 20:11:49 +00:00
Kurt Zeilenga
b285814f8e Fix layer installation 2000-10-12 19:02:31 +00:00
Kurt Zeilenga
5a32ff0603 Add missing 'static'... (ITS#823,825,828)
as reported by Jeff Earickson <jaearick@colby.edu>
other suggestions to be separately reviewed
2000-10-11 23:42:53 +00:00
Kurt Zeilenga
468664c443 Adjust result code when entry is not found to noSuchObject 2000-10-11 18:19:26 +00:00
Mark Valence
7e1d4023b8 Removed testing mods accidentally committed with previous fix. 2000-10-11 16:41:15 +00:00
Mark Valence
8130d0e883 Added conn and op arguments to group backend callback. 2000-10-11 16:35:14 +00:00
Mark Valence
d8d9bec087 Added conn and op arguments to backend_group. 2000-10-11 16:25:28 +00:00
Kurt Zeilenga
e6dc9d1889 Update ldappasswd binddn bug, man page and error reporting 2000-10-11 04:56:08 +00:00
Kurt Zeilenga
1ba91c7fc7 Fix up logging 2000-10-10 06:34:58 +00:00
Kurt Zeilenga
a67546e640 Add more detail to "configured to hold" message 2000-10-10 01:37:07 +00:00
Kurt Zeilenga
2b643c7d0b Don't allow authPassword (yet) 2000-10-10 01:07:39 +00:00
Kurt Zeilenga
ef51582b6e slight change to chdir/chroot commit to clean up perror args 2000-10-09 23:38:30 +00:00
Kurt Zeilenga
0189c35b6a Do a chdir() to the sandbox dir to ensure CWD is within sandbox. 2000-10-09 23:35:57 +00:00
Julio Sánchez Fernández
8a8429a972 Fix misleading text in debug output. 2000-10-09 19:14:44 +00:00
Julio Sánchez Fernández
bdf3ec2fb3 Remove lint. 2000-10-09 19:11:46 +00:00
Kurt Zeilenga
c42c2847cf Fix SLAPD_SPASSWD typo which caused passwd_mutex not to be used
consistently.
2000-10-09 19:09:28 +00:00
Julio Sánchez Fernández
6777a3a41a Permit access defined by uniqueMember and not only DN-valued
attributes.  This allows using groupOfUniqueNames for
access control.
Fix small typo in MRA definition.
2000-10-09 19:09:22 +00:00
Kurt Zeilenga
27b30275a6 We need to set sasl_layers prior to returning result... 2000-10-07 02:00:54 +00:00
Kurt Zeilenga
a912e6eea0 Make sure authzid form produces a valid subject DN. Support
both u: and dn: forms.
Rework sasl-regex DN be of the form
	uid=user,cn=realm,cn=mech,cn=authz
Fix up slapd.conf(5)
2000-10-06 23:50:38 +00:00
Kurt Zeilenga
1b635156ab s/saslregex/sasl-regex/
Other minor updates
2000-10-06 21:16:36 +00:00
Kurt Zeilenga
f3d9dd0fab ITS#806: Fix DISTDIR typo 2000-10-05 17:57:41 +00:00
Kurt Zeilenga
68f1e3a55c Fix install of schema when $(INSTALL) is build/install.sh
use test, not [ ] in expressions
2000-10-04 17:00:03 +00:00
Kurt Zeilenga
cdf17386ac Fix mode of schema.default installed files 2000-10-04 12:45:55 +00:00
Kurt Zeilenga
4dadd52ce7 allow numericString match indexing 2000-10-04 02:23:42 +00:00
Kurt Zeilenga
49d9f7f1b2 Don't excite folks with index_param fails 2000-10-03 20:50:08 +00:00
Kurt Zeilenga
cdc0a66558 ITS#798: don't block on empty replog log in one-shot mode 2000-10-03 18:50:42 +00:00
Kurt Zeilenga
5c66902abb Fix typo 2000-10-02 14:10:51 +00:00
Kurt Zeilenga
492bb0263f Fix thread handling and error printing 2000-10-01 19:21:07 +00:00
Kurt Zeilenga
fcc86b2456 Check for shutdown after successful select() 2000-09-30 05:34:34 +00:00
Kurt Zeilenga
8a8ed19a44 fix typo in comment 2000-09-30 05:34:02 +00:00
Kurt Zeilenga
890a3cc3bb Update entry release to new prototype 2000-09-30 04:13:30 +00:00
Kurt Zeilenga
8f9980d5f6 Logging changes 2000-09-30 01:04:54 +00:00
Kurt Zeilenga
bd9e1b772c Fix no_threads build 2000-09-30 01:04:43 +00:00
Kurt Zeilenga
7c96f629ee Add connection and operation arguments to backend callbacks.
Needed for transactions.
2000-09-29 05:25:44 +00:00
Kurt Zeilenga
ce382475f0 misc cleanup 2000-09-29 02:50:34 +00:00
Kurt Zeilenga
cd9b8b1fe9 ITS#786: fix IA5 string indexing to use appropriate routines 2000-09-29 00:24:43 +00:00
Kurt Zeilenga
283a8f1b4f Add dead lock detection thread. 2000-09-29 00:18:29 +00:00
Kurt Zeilenga
6b80b349fa remove cruft 2000-09-28 22:25:34 +00:00
Kurt Zeilenga
160bf00975 Disable debugging 2000-09-28 22:25:19 +00:00
Kurt Zeilenga
11ba8fcf8f report retries 2000-09-28 18:29:50 +00:00
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