Commit Graph

2587 Commits

Author SHA1 Message Date
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
Kurt Zeilenga
6e6eb52591 Add server-side hashed password generation (it's not as easy as it sounds).
Remove Kerberos project.  Looks like K4 is working again.
1999-09-25 21:08:44 +00:00
Kurt Zeilenga
080a4db583 Update image with latest from web pages. 1999-09-25 17:46:08 +00:00
Kurt Zeilenga
5f180242c0 Update acknowledgement and doc copyright. 1999-09-25 17:42:23 +00:00
Kurt Zeilenga
863db8616a Update copyright based upon latest 2.0 version. The SDF version
should become the master...
1999-09-25 17:22:32 +00:00
Kurt Zeilenga
8a62b85fd5 Update COPYRIGHT/LICENSE from openldap-devel 1999-09-25 17:19:16 +00:00
Kurt Zeilenga
cbfcbc3466 Misc cleanup 1999-09-25 17:17:51 +00:00
Kurt Zeilenga
0b7da01c9e Keep arguments in alpha order 1999-09-25 16:14:32 +00:00
Mark Valence
b221e4ad4b Fixed "typos" in TLS code. TLS is ATTR_TLS, not ATTR_BOOL.
ldap_pvt_tls_config() was missing first param.
1999-09-25 03:57:25 +00:00
Mark Valence
9e7243015c fixed LDAP_OPT_X_TLS case of ldap_pvt_tls_config().
ldap_pvt_tls_set_option() expects int* as third param.
1999-09-25 03:53:17 +00:00
Kurt Zeilenga
a0e41a317f Remove ldapurl project, add deprecate removal project 1999-09-25 02:57:44 +00:00
Randy Kunkee
24c81ea599 Back out my change to ldap_sort_strcasecmp. My mistake from not reading
manpage carefully.  One should pass strcasecmp to ldap_sort_entries, not
ldap_sort_strcasecmp.  Ldap_sort_strcasecmp is for ldap_sort_values, NOT
ldap_sort_entries.
1999-09-24 18:16:41 +00:00
Randy Kunkee
b133aa528b Change call to strcasecmp in ldap_sort_strcasecmp, which makes
ldap_sort_entries work with ldap_sort_strcasecmp as the comparison
function.  Pointers were being dereferenced, and should only have been
casted.
1999-09-24 08:02:54 +00:00
Kurt Zeilenga
0524589f7f ITS#303: value_add_fast() empty value bug. Ignore empty value.
This is technical incorrect, but we don't have the codes in place
to correctly handle empty values yet.
1999-09-24 04:19:37 +00:00
Kurt Zeilenga
3a44abba1a ITS#302 ldif fix. Treat value with only continuation markers
as an empty value.  Complain, of course, as this isn't valid LDIF.
1999-09-24 02:30:33 +00:00
Kurt Zeilenga
5c876f85e6 bind should not return noSuchObject 1999-09-24 02:19:31 +00:00
Kurt Zeilenga
7a0b0b2bbf In preparation for adding dn_rewrite()...
s/dn_normalize/dn_validate/
s/dn_normalize_case/dn_normalize/
1999-09-24 01:46:37 +00:00
Kurt Zeilenga
a68825e6df Howard convinced me that this version is slightly better.
back out previous commit.
1999-09-24 00:16:16 +00:00
Kurt Zeilenga
a93ac070b5 I believe ldap_result2error should return the value returned
by ldap_parse_result unless that value is SUCCESS.
1999-09-23 22:57:05 +00:00
Howard Chu
91e24173d0 Update ld->ld_errno if LDAP_DECODING_ERROR... 1999-09-23 22:35:58 +00:00
Howard Chu
fa62e37667 Fix ldap_parse_result and ldap_result2error to return correct results. 1999-09-23 22:10:22 +00:00
Kurt Zeilenga
32601a6e6a Move ndn generate to end of str2entry (for clarity). 1999-09-23 21:24:44 +00:00
Kurt Zeilenga
c9941e6e60 Don't initialize pointers to NULL using calloc(). 1999-09-23 20:54:41 +00:00
Kurt Zeilenga
35655c056f Reimplement LDBM_SYNC/LDBM_NOSYNC code (dbnosync).
Old code applied sync flags to store(), however supported DBMs
require such flags to be specified during open().  The new
code now applies flags in ldbm_cache_open (which calls ldbm_open).
ldbm_cache_close() now calls ldbm_sync().  This will force
a updating of on-disk contents after each LDAP operation.
The old code either failed to sync the on-disk contents until
close or synced on every store.   Per LDBM operation syncing
*should* be safe enough... real data safety requires transactions.
Removed nosync option from BDB2 as it is not compatible with
txn support.
Also added code to disable DBM level locking as slapd is only
process acessing the databases (dbnolocking).
1999-09-23 19:49:20 +00:00
Kurt Zeilenga
4acaa64c83 Fix ManageDSAit OID 1999-09-23 16:26:59 +00:00
Julio Sánchez Fernández
0bd0a8d4db Fix creation of ldapadd link to ldapmodify 1999-09-23 11:13:29 +00:00
Julio Sánchez Fernández
f3c09a4f2d The loading step in slapd build was failing because of a weird
@SLAPD tag.  Removing it fixes the problem for me, but this should
be reviewed by someone who knows which @SLAPD_...@ tag was meant to
be there, if any.
1999-09-23 10:28:33 +00:00
Ben Collins
ed75be1b3c * configure.in: add tcl8.2 to list of tcl libs to search for, also added new MOD_TCL_LIB
and related AC_SUBST() so that when back-tcl is compiled as a dynamic module we link
  -ltcl to the module and not slapd (this is the correct way to do this since the .la file
  handles giving the correct libs when we pass the module to it in the linker line with
  -dlopen). Also modified the perl backend in a similar way except that the PERL_CPPFLAGS
  always go to the module and never to slapd (slapd doesn't need them).
* build/mod.mk: added $(MODLIBS) to the dynamic module link line to accomodate module
  specific libraries. These should be defined in the back-*/Makefile.in file for each
  module (so far only back-tcl and back-perl need it).
* build/top.mk: modified the perl ldflags and cppflags slightly
* servers/slapd/Makefile.in: same here
* servers/slapd/back-perl/Makefile.in: added MODLIBS=$(MOD_PERL_LDFLAGS) for when we are
  using a dynamic module (problem, libtool wont allow linking static libs into a libtool
  lib, so unless perl's libs are compiled dynamic, then back-perl can't be a dynamic
  module. We need a test for this on perl and tcl).
* servers/slapd/back-tcl/Makefile.in: added MODLIBS=$(MOD_TCL_LIB)
* back-perl and back-tcl now compile
1999-09-23 05:32:10 +00:00
Howard Chu
668ea66e8a Another typo. dn_normalize is supposed to be dn_normalize_case. 1999-09-23 05:05:25 +00:00
Kurt Zeilenga
deafd4e274 experimental ITS#109 fix: make kbind open default connection if necessary.
implemented ldap_open_defconn() to centralize default connection
opening in open.c.  Used by ldap_open, kbind, and send_initial_request().
1999-09-23 04:08:33 +00:00
Kurt Zeilenga
c5d3b3db3e Forgot root in su 1999-09-23 02:45:55 +00:00
Kurt Zeilenga
96930ff267 Suggest "su -c make install" to avoid exit. 1999-09-22 23:23:39 +00:00
Ben Collins
1eb8ec2000 * backend.c: SLAPD_LDAP_TCL -> SLAPD_TCL_DYNAMIC 1999-09-22 22:11:42 +00:00
Ben Collins
53da7b6cda * build/top.mk: removed references to TMPROOT and added DESTDIR support
* all others: Added DESTDIR support
1999-09-22 21:51:30 +00:00
Kurt Zeilenga
c87cb8b1f4 Rebuild with autoconf 2.13.1 1999-09-22 18:40:04 +00:00
Julio Sánchez Fernández
d26a527996 Much as we would like to, we have to live for the time being with
broken objectclass and attributetype definitions where the OID is
missing.  The implementation of OIDmacros was making this impossible.
This change tries to restore the old behaviour, while preserving the
new feature.  Note that part of the restored behaviour lets OIDs that
are not in the numericoid format get through.  We may lose this, but
then we need to fix some of the sample provided schemas, notably
pilot.schema.
1999-09-22 18:32:48 +00:00
Julio Sánchez Fernández
9f4cbeb916 Add JPEG syntax to those known. 1999-09-22 18:15:22 +00:00
Ben Collins
6290917307 regenerated 1999-09-22 18:03:23 +00:00
Julio Sánchez Fernández
b67ade148e Add substitution of WRAP_LIBS 1999-09-22 17:45:59 +00:00