Commit Graph

682 Commits

Author SHA1 Message Date
Kurt Zeilenga
2d15a94d16 LDAP C-API changes
struct friendly (Friendly) changed to ldap_friendly (LDAPFriendly)
	  ldap_friendly friend prefix changed to 'lf_' from 'f_'
	removed mod_next field from LDAPMod (struct ldapmod)
	modified slapd to use new LDAPModList (struct ldapmodlist) struct.
Added LDAPv3 result codes to ldap.h
1998-12-21 00:21:58 +00:00
Kurt Zeilenga
5c6ad6c5b1 ldif'ize ldif library (ie: everything is now in the ldif_ namespace) 1998-12-20 22:28:33 +00:00
Kurt Zeilenga
362d6cbf2a Add configure code for setting LDAP_SYSLOG but actually use hardcoded
LDAP_SYSLOG in slap.h/slurp.h.
1998-12-20 21:56:44 +00:00
Kurt Zeilenga
c7d5811b78 more cleanup 1998-12-20 19:57:44 +00:00
Kurt Zeilenga
6fd2aa4e84 Clean up after last commit. 1998-12-20 19:49:22 +00:00
Kurt Zeilenga
3e390a8074 Unexpand spaces for tabs in prior commit before merging to rel_eng_1_1. 1998-12-20 19:31:21 +00:00
Kurt Zeilenga
a5eee14f72 Add detection of dmalloc library. 1998-12-20 19:12:20 +00:00
Kurt Zeilenga
b5973eba5d Minor change to signal handler. Changed _shutdown flag to
type 'sig_atomic_t' and marked it volatile.  Add detection to
configure to ensure sig_atomic_t and volatile are supported.
1998-12-20 18:16:03 +00:00
Kurt Zeilenga
8aba5c5059 Provide framework for ldap_r and reentrant/thread safety levels.
-lldap_r can now be implemented...
1998-12-20 00:58:55 +00:00
Kurt Zeilenga
4123a08af5 Fix server --without-xxx build issues... 1998-12-20 00:55:39 +00:00
Kurt Zeilenga
d44a54e543 Don't include -lldap_r in make all (yet). 1998-12-19 16:59:51 +00:00
Kurt Zeilenga
27e8d218ee Add -lldap_r build environment (no code yet). 1998-12-19 03:24:36 +00:00
Kurt Zeilenga
0024cf2f4b -lldap reentrantancy improvements from Bart Hartgers <A.Hartgers@phys.tue.nl>
including use of ctime_r, gethostby*_r, etc..  Also reworked ldap_sort_entries
to be reentrant.
Need to add code to properly set LDAP_API_FEATURE_THREAD_SAFE.
1998-12-19 01:27:20 +00:00
Kurt Zeilenga
b5e50eff5e Disable writing syncing when creating databases. 1998-12-18 22:21:16 +00:00
Kurt Zeilenga
052bbc2097 Fix ltconfig for FreeBSD 3 (elf detection was wrong).
Also fixed "empty translation unit" problem reported by
  Randy Kunkee <kunkee@pluto.ops.NeoSoft.com>
1998-12-18 21:54:06 +00:00
Kurt Zeilenga
3a5e383dbd Add draft-ietf-ldapext-ldap-c-api-01 routines ber_init()
and ber_flatten() to the -llber.
1998-12-18 21:08:28 +00:00
Kurt Zeilenga
5d2accea50 Patch cache_delete_entry_internal() as suggested by
Daniel Carroll <dan@mesa7.mesa.colorado.edu>
This patch ensures we try deleting the entry from both the
dntree and the idtree.
1998-12-18 18:06:30 +00:00
Kurt Spanier
9e97da14fb Initialization of Datum structures to zero by memset() before first use.
If Berkeley DB version 2.x is used as a slapd back-end a not-initialized
Datum structure will raise an EINVAL error in (DB)->put().
1998-12-18 12:28:47 +00:00
Kurt Zeilenga
8854adfc49 ITS#9: check for main in -lwrap instead hosts_access.
hosts_access depends on caller declaring some externs and, hence,
can be used for the test.
1998-12-17 18:35:12 +00:00
Kurt Zeilenga
c5f299acf8 Update based upon latest errors. 1998-12-17 18:32:36 +00:00
Kurt Zeilenga
b0290c2d49 Fix "predantic" typo. 1998-12-17 13:46:12 +00:00
Dave Storey
9697ad210a Added support for password prompting. (-W switch) 1998-12-15 02:00:09 +00:00
Kurt Zeilenga
add79ef969 Generalize the web_ldap Makefile a bit. 1998-12-14 23:24:33 +00:00
Kurt Zeilenga
b063f5e83b Initial import of web_ldap written and contributed
by Jens Moller <Jens.Moller@mci.com>.
1998-12-14 23:10:02 +00:00
Kurt Zeilenga
9bd0b8f789 Import mail500 change from rel eng 1.1. 1998-12-14 20:55:59 +00:00
Dave Storey
d8090dea55 Streamlined Kerberos Code. 1998-12-14 20:39:02 +00:00
Kurt Zeilenga
2cd2afb667 More changes in prep for 1.1 release. 1998-12-14 20:31:12 +00:00
Kurt Zeilenga
cd8b2363cd make it looks better on web.
revision not incremented as change
1998-12-14 20:24:35 +00:00
Kurt Zeilenga
441d983b53 Add URLs and e-mail address. 1998-12-14 20:10:06 +00:00
Kurt Zeilenga
dad4acc563 Update URLs. 1998-12-14 20:03:14 +00:00
Kurt Zeilenga
b84a0a8514 Clarify use of private -core mailing list. -devel is the primary
developer discussion/coordinate list.
1998-12-14 20:01:36 +00:00
Dave Storey
10cbeba936 Added Kerberos support.
Added Password auto-generation.
Added salts for md5 and sha.
Rewrote make_salt().
Made ldap-devel conformity changes.
1998-12-14 18:36:51 +00:00
Kurt Zeilenga
65e4923d75 Backout previous changes made by Dave as they excessive reformatting,
reindentation, and use of spaces instead of tab.  Diffs will be reviewed
to identify and commit only functional changes as time permits.
Note: this is more my fault than Dave's.   I should have provided
clearer guidance.   Live and learn.
1998-12-14 10:10:41 +00:00
Kurt Zeilenga
9df2f4f424 The result set of an EQUALITY search on a SYNTAX_BIN attribute may have been
incorrect because value_cmp() in value.c compares two attributes by
comparing the leading bytes of the two values (candidate and filter) up to
the smaller of the two lengths of the binary values. If the lengths of two
SYNTAX_BIN values differ, like SYNTAX_CES and SYNTAX_CIS, the EQUALITY
comparison should fail.

It also appears that value_ncmp() in value.c has no references anywhere in
the openLDAP source tree, save for a definition in proto-slap.h. The
following fix the bug and remove the dead code:

From: "MCGARRAHAN, KENNETH L" <km4155@momail.sbc.com>
1998-12-14 04:25:55 +00:00
Kurt Zeilenga
c65938abe0 Make sure that four characters, rather than only the first three,
are being analysed in the transaltion to base64.
From: Lucio de Re <lucio@proxima.alt.za>
1998-12-14 04:21:04 +00:00
Kurt Zeilenga
9db062bb71 Update pthread checks:
Add plain -lpthread check.
	Move *_r() checks so that they are checked for regradless
		of thread libs used.  Before they were only being checked
		when using threads.
	Fix yields test such that compile/link/odd runtime failures results in
		'yes' instead of 'no'.
1998-12-14 00:23:22 +00:00
Kurt Zeilenga
f8aee573d6 Apply minor updates to todo doc... mainly remove my
name from a couple of projects.
1998-12-12 23:47:42 +00:00
Kurt Zeilenga
0ddcc48597 Fix munged paragraph 1998-12-12 23:44:51 +00:00
Dave Storey
648f2e2f12 Added support for salted passwords.
Added password auto-generation capability.
Added Kerberos code.
Updated salt generator to be much more random().
1998-12-12 06:12:03 +00:00
Dave Storey
50dbc7d03b Updated Kerberos code, added password prompting. <dave@tamos.net> 1998-12-12 06:08:59 +00:00
Dave Storey
d50231be14 Updated Kerberos code, added password prompting, more detailed usage(). <dave@tamos.net> 1998-12-12 06:08:23 +00:00
Dave Storey
f32bb04ee1 Updated Kerberos code, password prompting, added detailed usage(). <dave@tamos.net> 1998-12-12 06:07:41 +00:00
Dave Storey
84c774854f Updated Kerberos code, password prompting, detailed usage(). <dave@tamos.net> 1998-12-12 06:05:44 +00:00
Dave Storey
5da5771bd9 Password prompting updates. <dave@tamos.net> 1998-12-12 05:56:46 +00:00
Dave Storey
40deee980f Addition of password prompting, salted password and auto-generation. 1998-12-12 05:55:26 +00:00
Kurt Zeilenga
a3c8546021 Update kerberos checks. 1998-12-10 23:35:28 +00:00
Kurt Zeilenga
6c2949ed86 Change cache.c assert logic based on Hallvard's suggestion.
"Check that the entry has no writers before removing it from the
  cache" sounds more sensible to me than "check that it *has* writers"
  before removing it.
I've also changed the default cachesize for tests to 4.  This
should help discover such problems.
1998-12-10 19:20:15 +00:00
Predrag "Pele" Balorda
330ca36f0a new icon for RFC822 mail group in gtk-tool 1998-12-10 13:06:30 +00:00
Predrag "Pele" Balorda
6b854dff20 miscelaneous updates and fixes to gtk-tool 1998-12-10 13:05:05 +00:00
Kurt Zeilenga
545048451c Update Kerberos checks. 1998-12-07 23:32:25 +00:00