Commit Graph

2625 Commits

Author SHA1 Message Date
Kurt Zeilenga
d0ad0cf228 Minor cleanup. 1999-10-26 23:04:44 +00:00
Kurt Zeilenga
3d064b73c5 Fix compilation errors. 1999-10-26 23:00:30 +00:00
Kurt Zeilenga
bdca662249 Add lutil_entropy(). Currently only supports /dev/urandom or
Linux equivs.  Should be extended to support other quality
sources of entropy.  Should be extended to support a reasonable fallback.
1999-10-26 22:57:39 +00:00
Kurt Zeilenga
7db89cb1c0 Use $$ and other oddities. 1999-10-26 22:52:53 +00:00
Kurt Zeilenga
0ec43c31ba Add more shortcircuits (for $$ cases) 1999-10-26 22:29:47 +00:00
Randy Kunkee
f4f48b1a80 Implement timeout, caching (for OpenLDAP) and sorting during searches.
Known bug: cache enabled is known to cause Tcl to abort upon exit.
1999-10-26 22:13:08 +00:00
Kurt Zeilenga
3261f219a3 Add support for Root DSE ACLs.
Add "users" shorthand (dn="^.+$")
Add regex short circuiting for common dn regexs.
1999-10-26 03:19:41 +00:00
Kurt Zeilenga
f4a0699311 Add macros to compute base64 encode/decode lengths. 1999-10-25 01:44:47 +00:00
Kurt Zeilenga
92238e52ae All text messages to be returned with LDAPv2 search results when
no referrals need to be returned.
1999-10-25 00:00:23 +00:00
Kurt Zeilenga
06eb390586 Make accessmask2str reentrant. 1999-10-21 23:19:22 +00:00
Kurt Zeilenga
5cb377302b Add simple test for additive acl. 1999-10-21 23:17:17 +00:00
Kurt Zeilenga
2644018bc2 Add basic flow control tests 1999-10-21 21:23:43 +00:00
Kurt Zeilenga
5e459c4cf8 Use implicit 'by * none' and =rs 1999-10-21 21:16:18 +00:00
Kurt Zeilenga
3d765d6108 Additional changes to improve logic and logging. Still buggy. 1999-10-21 20:29:52 +00:00
Kurt Zeilenga
3f9ba7e05a Minor acl optimizations. 1999-10-21 18:48:16 +00:00
Kurt Zeilenga
873c8f213b More acl parsing fixes... and print fixes. 1999-10-21 18:44:26 +00:00
Kurt Zeilenga
9c5b7aa29d Fix parsing of descrete attributes. 1999-10-21 18:27:23 +00:00
Kurt Zeilenga
f6829ee903 Initial commit of new ACL engine. Engine supports descrete access
privs, additive/substractive rules, and rule continuation.  Existing
rules that use 'defaultaccess none' should be 100% compatible.  Rules
that rely other defaultaccess settings will require addition of
explicit clauses granting the access.
Needs additional testing and tuning of logs
1999-10-21 17:53:56 +00:00
Kurt Zeilenga
10e886a601 Hack to free seqorset when ber_free(ber, 1) is called. 1999-10-21 17:52:33 +00:00
Kurt Zeilenga
64e8eeaa95 Slight modification to last commit to cast %ld args to long 1999-10-20 00:25:04 +00:00
Kurt Zeilenga
d306bb1114 Remove lint caused by recent header changes. 1999-10-20 00:19:47 +00:00
Kurt Zeilenga
a5ac8f57f8 Complain if setsockopt TCP_NODELAY fails 1999-10-19 19:07:24 +00:00
Kurt Zeilenga
7ef67830af Minor adjustments based upon initial read of draft-ietf-ldapext-ldap-c-api-04.txt. 1999-10-19 18:57:38 +00:00
Howard Chu
f0b0fe9f94 Fix stupid "got <garbage> of 0 so far" debug message after ber_get_next. 1999-10-19 12:15:42 +00:00
Kurt Zeilenga
a857725a06 Update to rev-04 1999-10-18 22:16:14 +00:00
Kurt Zeilenga
859dbe1398 Change the defaultaccess to 'auth'
Set defaultaccess to 'read' in distribution slapd.conf and add warnings
Set schemacheck to 'on' in distribution slapd.conf and add warnings
1999-10-15 20:34:42 +00:00
Kurt Zeilenga
795d98456a Add bogus OID string to LDAPsubentry 1999-10-15 20:33:06 +00:00
Kurt Zeilenga
a1165cc505 s/^attribute/attributetype/ 1999-10-13 21:57:44 +00:00
Kurt Zeilenga
7e53b5bdeb Change 'attribute' directive to 'attributetype'
(and allowing 'attribute' for backwards compatibility).
manuals and *.schema to be updated as time permits.
1999-10-13 20:28:00 +00:00
Kurt Zeilenga
60d00d4649 Force sd close. Suggested by rajk@home.com 1999-10-12 18:51:36 +00:00
Kurt Zeilenga
f97de9cdc6 Reference Quick Start Guide 1999-10-08 01:28:36 +00:00
Howard Chu
70f31490a8 Always return ld->ld_errno thru *errcodep if given to ldap_parse_result 1999-10-08 00:51:35 +00:00
Kurt Zeilenga
a517e5b969 Update configure. 1999-10-08 00:30:47 +00:00
Kurt Zeilenga
76705ae895 draft-ietf-ldapext-acl-model-04.txt 1999-10-06 17:23:54 +00:00
Kurt Zeilenga
0136c5f88f Update comments 1999-10-06 00:10:08 +00:00
Kurt Zeilenga
88cd7cace1 Add other schema references (nameref, alias, subentry) to core.schema.
Add openldap.schema (currently empty except for a few comments) to
hold OpenLDAP specific schema items (such as for cn=monitor).
1999-10-06 00:04:04 +00:00
Kurt Zeilenga
4b2f37bdb8 Add errno draft project and apply minor cleanups 1999-10-05 17:47:59 +00:00
Kurt Zeilenga
7f9a10d58a Fix s/else if/elif/ typo 1999-10-05 15:29:54 +00:00
Kurt Zeilenga
c0a6159844 Initial Kth Kerberos support. Changes based upon suggestions
from Booker Bense <bbense@networking.stanford.edu>.
1999-10-01 05:11:39 +00:00
Kurt Zeilenga
a284b641b7 Move crypt(3) prototypes from <ac/unistd.h> to <ac/crypt.h> (new) to
avoid clashes with Kth Kerberos.
1999-10-01 04:48:30 +00:00
Kurt Zeilenga
52a1da7b70 Add SDF version of INSTALL. 1999-09-30 17:01:02 +00:00
Kurt Zeilenga
f6a3ed7f02 Add RCSid 1999-09-30 16:58:26 +00:00
Kurt Zeilenga
daf62ca04f Add RCSids 1999-09-30 16:57:45 +00:00
Kurt Zeilenga
830c0b61e7 Add latest SASL/DIGEST-MD5 draft 1999-09-29 17:40:32 +00:00
Ben Collins
bf260f1d95 * tests/scripts/defines.sh: add ${LD_LIBRARY_PATH} to the LD_LIBRARY_PATH
export so we don't clobber anything the user already has set
1999-09-29 01:01:13 +00:00
Ben Collins
b7dd47c4cb * configure.in: add --enable-dynamic option for linking our local binaries
with the shared libraries instead of static, defaults to no
* build/lib-shared.mk: if LINK_BINS_DYNAMIC is set we create a symlink to
  the .so and .so.# file along with the .a and .la files
* build/lib.mk: make sure the above links get removed on clean target
* build/top.mk: add define for LINK_BINS_DYNAMIC
* tests/scripts/defines.sh: add export for LD_LIBRARY_PATH so that tests will
  run without requiring installation of libraries when we use --enable-dynamic
  (LD_LIBRARY_PATH is always set, since it can't really hurt).
1999-09-29 00:56:43 +00:00
Howard Chu
d08ac44eef Fix bug in reporting errors from ltdl library. 1999-09-28 09:54:00 +00:00
Kurt Zeilenga
e7e4800d44 Remove lint. 1999-09-25 23:13:15 +00:00
Kurt Zeilenga
a0bd8e1764 Don't need <lber.h> 1999-09-25 23:12:55 +00:00
Kurt Zeilenga
3c00fd6d23 Rework passwd routines to allow callers to determine which
schemes are supported.  This should facilate server rootDSE
advertisement of supported schemes, etc..
1999-09-25 22:13:25 +00:00