Commit Graph

2576 Commits

Author SHA1 Message Date
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
Ben Collins
7a0523b53d * configure.in: Added better check for libwrap (the old way failed when
libwrap was a dynamic library). Added -lwrap to new subst var WRAP_LIBS
  so we have more control over where it get's linked (dynamic libwrap
  causes problems when we link to programs that don't define certains
  globals that libwrap expects).
* build/top.mk: Added placeholder for WRAP_LIBS subst
* servers/slapd/Makefile.in: Added $(WRAP_LIBS) to the slapd and sslapd
  link command line specifically so it doesn't get thrown in with the rest
  of the LIBS.
* configure: rebuilt
1999-09-22 15:00:51 +00:00
Howard Chu
5757ffc5d3 Fix typo in previous commit 1999-09-22 06:41:12 +00:00
Howard Chu
c40583a2f1 Fix memory leak if duplicate attr name in at_insert 1999-09-22 05:18:15 +00:00
Kurt Zeilenga
b78e463065 jpegPhoto: correct syntax and add reference to inetorgperson draft 1999-09-22 03:08:14 +00:00
Kurt Zeilenga
8d295978e5 Add inetOrgPerson from Smith's I-D 3. Update jpegPhoto with DESC. 1999-09-22 03:06:12 +00:00
Kurt Zeilenga
f673e88e4d Add draft 03 1999-09-22 02:45:27 +00:00
Kurt Zeilenga
d9f7e317ad Add security audit to large project. Someone really needs
to go through and find/fix buffer overflows and such.
1999-09-21 22:36:21 +00:00
Kurt Zeilenga
aa708e7eff #ifdef HAVE_BERKELEY_DB2_DB_THREAD around create flags using DB_THREAD 1999-09-21 17:50:31 +00:00
Kurt Zeilenga
5ec0843035 Design and Implement a LDAP C++ API 1999-09-20 22:59:33 +00:00
Kurt Zeilenga
6b0ccd4a5d Add experimental detection of BerkeleyDB2 DB_THREAD.
If not available, LDBM uses big mutex and BDB2 is disabled.
Should add BerkeleyDB version detection...
1999-09-20 20:55:54 +00:00
Kurt Zeilenga
1e5aae19c3 Manual pages need updating, especially LDAP C API ones... 1999-09-19 18:13:33 +00:00