]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Wed, 26 May 1999 19:25:22 +0000 (19:25 +0000)]
Add main MSVC5 workspace to build the works.
Julio Sánchez Fernández [Wed, 26 May 1999 19:21:55 +0000 (19:21 +0000)]
Provide human-readable syntax errors.
Julio Sánchez Fernández [Wed, 26 May 1999 19:20:40 +0000 (19:20 +0000)]
Provide human-readable errors.
Juan Gomez [Wed, 26 May 1999 19:18:05 +0000 (19:18 +0000)]
Access x added!
Juan Gomez [Wed, 26 May 1999 19:15:57 +0000 (19:15 +0000)]
Trying to change access to this file...
Juan Gomez [Wed, 26 May 1999 18:49:09 +0000 (18:49 +0000)]
Change conf for nis test.
Juan Gomez [Wed, 26 May 1999 18:46:04 +0000 (18:46 +0000)]
Make it executable.
Juan Gomez [Wed, 26 May 1999 18:37:30 +0000 (18:37 +0000)]
Relocated nis schema.
Julio Sánchez Fernández [Wed, 26 May 1999 13:52:11 +0000 (13:52 +0000)]
Fix namespace contamination, some comments added.
Juan Gomez [Wed, 26 May 1999 12:29:54 +0000 (12:29 +0000)]
Mirror modrdn special case fix to db2.
Juan Gomez [Wed, 26 May 1999 12:27:06 +0000 (12:27 +0000)]
Fix name typo
Juan Gomez [Wed, 26 May 1999 12:22:10 +0000 (12:22 +0000)]
Make bdb2i_modify_internal() public.
Juan Gomez [Wed, 26 May 1999 12:19:31 +0000 (12:19 +0000)]
Make bdb2i_back_modify_internal() public so it can be reused from
modrdn.
Juan Gomez [Wed, 26 May 1999 11:59:54 +0000 (11:59 +0000)]
Added fix to allow modrdn whose new rdn was already an attr value.
Juan Gomez [Wed, 26 May 1999 11:54:39 +0000 (11:54 +0000)]
Again mirroring LDAMP_MOD_SOFTADD changes....
Juan Gomez [Wed, 26 May 1999 11:51:49 +0000 (11:51 +0000)]
Mirroring changes related to indexing to db2 backend...
someone better comes up with a solution for this replication soon!
Juan Gomez [Wed, 26 May 1999 11:45:17 +0000 (11:45 +0000)]
Added support for LDAP_MOD_SOFTADD.
Juan Gomez [Wed, 26 May 1999 11:41:14 +0000 (11:41 +0000)]
Fixed index file naming bug and added support for LDAP_MOD_SOFTADD.
Juan Gomez [Wed, 26 May 1999 11:33:57 +0000 (11:33 +0000)]
Add warning regarding LDAP_MOD_* so poeple won't reuse the LDAP_MOD_SOFTADD
code by mistake.
Juan Gomez [Wed, 26 May 1999 11:30:18 +0000 (11:30 +0000)]
Add LDAP_MOD_SOFTADD const.
Juan Gomez [Wed, 26 May 1999 10:45:51 +0000 (10:45 +0000)]
Added include <ac/time.h> needed for struct timeval...
Howard Chu [Wed, 26 May 1999 02:52:37 +0000 (02:52 +0000)]
Obsolete file. Oops.
Howard Chu [Wed, 26 May 1999 02:35:20 +0000 (02:35 +0000)]
For ITS#157: Added LDAP backend for slapd, which also required adding
LDAP_OPT_MATCH_STRING to ldap.h and libldap/options.c.
Kurt Zeilenga [Wed, 26 May 1999 01:36:51 +0000 (01:36 +0000)]
Remove mkversion project.
Tag Julio for schema work.
Howard Chu [Tue, 25 May 1999 21:40:40 +0000 (21:40 +0000)]
For ITS#158: keep mixed-case backend suffix in addition to upcased suffix.
Kurt Zeilenga [Tue, 25 May 1999 18:52:45 +0000 (18:52 +0000)]
BeOS comment was incorrect.
Kurt Zeilenga [Mon, 24 May 1999 23:01:57 +0000 (23:01 +0000)]
Eliminate DECL_STRDUP check in favor of simple fix to <ac/string.h> header.
Add #undef and other protection of macros.
Kurt Zeilenga [Mon, 24 May 1999 22:51:13 +0000 (22:51 +0000)]
Use memcmp not strncmp for non-string comparisons.
Kurt Zeilenga [Mon, 24 May 1999 22:20:34 +0000 (22:20 +0000)]
setsockopt( SO_KEEPALIVE ) on the listen() socket. Will be
inherited on accept().
Kurt Zeilenga [Mon, 24 May 1999 21:57:26 +0000 (21:57 +0000)]
Implement keep alives. Probably should be a configuration option.
Kurt Zeilenga [Mon, 24 May 1999 21:21:09 +0000 (21:21 +0000)]
Do not set db_cachesize under BerkeleyDB 2.4.
Kurt Zeilenga [Mon, 24 May 1999 20:55:47 +0000 (20:55 +0000)]
Minor header cleanup.
Kurt Zeilenga [Mon, 24 May 1999 20:54:35 +0000 (20:54 +0000)]
Protect externs from inappropriate macro expansion.
Kurt Zeilenga [Mon, 24 May 1999 20:08:32 +0000 (20:08 +0000)]
ITS#159 fix. ldaphost may be NULL when used as printf "%s" argument.
Julio Sánchez Fernández [Mon, 24 May 1999 12:44:48 +0000 (12:44 +0000)]
Untested support for parsing attribute type definitions
Julio Sánchez Fernández [Mon, 24 May 1999 01:38:57 +0000 (01:38 +0000)]
Initial incomplete and broken version.
Ben Collins [Sun, 23 May 1999 01:58:33 +0000 (01:58 +0000)]
Synced to show changes in openldap.m4
Kurt Zeilenga [Sun, 23 May 1999 00:26:47 +0000 (00:26 +0000)]
Remove empty else and other minor cleanup.
Kurt Zeilenga [Sat, 22 May 1999 06:11:48 +0000 (06:11 +0000)]
ldap.h:
added comments
removed LDAP_MAX_ATTR_LEN
removed LDAP_COMPAT* from <ldap.h> but not code.
move LDAP_DEFAULT_REFHOPCOUNT to ldap-int.h
added experimental options macros
added LDAP_CONTROL_REFERRALS macros
libldap:
Replace ld_attrbuffer with per use allocated attributed.
ldap_first/next_attribute attributes now must be freed (as per draft).
unifdef -DLDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
Kurt Zeilenga [Sat, 22 May 1999 00:31:36 +0000 (00:31 +0000)]
Removed too much LINT.
Kurt Zeilenga [Fri, 21 May 1999 23:15:47 +0000 (23:15 +0000)]
Remove LINT.
Kurt Zeilenga [Fri, 21 May 1999 22:20:28 +0000 (22:20 +0000)]
fix url vs url_in typo.
Kurt Zeilenga [Fri, 21 May 1999 20:46:48 +0000 (20:46 +0000)]
Add prototypes for ldap_parse_result() and friends.
Kurt Zeilenga [Fri, 21 May 1999 19:20:25 +0000 (19:20 +0000)]
Initial checkin of ldap_search_ext() and friends.
Kurt Zeilenga [Fri, 21 May 1999 16:50:51 +0000 (16:50 +0000)]
Filter timestamps, etc., from all test inputs before compare.
Kurt Zeilenga [Fri, 21 May 1999 16:11:52 +0000 (16:11 +0000)]
Fix typo in ldap_delete_ext() which caused msgid to be incremented twice.
Kurt Zeilenga [Fri, 21 May 1999 04:00:25 +0000 (04:00 +0000)]
s/PACKAGE/OPENLDAP_PACKAGE/
s/VERSION/OPENLDAP_VERSION/
manually define for NT. Should sort out mechanism for one place
updating of package/version strings.
Kurt Zeilenga [Fri, 21 May 1999 03:56:17 +0000 (03:56 +0000)]
Assert pointer args
Kurt Zeilenga [Fri, 21 May 1999 03:53:37 +0000 (03:53 +0000)]
s/WIN32/HAVE_WINSOCK/
remove old Version.c
Kurt Zeilenga [Fri, 21 May 1999 03:52:08 +0000 (03:52 +0000)]
don't free connections[i]
Ben Collins [Fri, 21 May 1999 03:49:00 +0000 (03:49 +0000)]
Fixed missing comma in -ldb check
Kurt Zeilenga [Fri, 21 May 1999 03:10:52 +0000 (03:10 +0000)]
Protect strcasecmp from macro w/ args expansion.
Kurt Zeilenga [Fri, 21 May 1999 00:14:38 +0000 (00:14 +0000)]
Add CLIENTDIR to alllow easy selection of alternative clients directory.
Kurt Zeilenga [Thu, 20 May 1999 23:40:06 +0000 (23:40 +0000)]
Disable LBER_END_SEQORSET for now.
Kurt Zeilenga [Thu, 20 May 1999 22:28:45 +0000 (22:28 +0000)]
etest/dtest now work correctly. Commented out bogus assert
in io.c.
Kurt Zeilenga [Thu, 20 May 1999 22:01:38 +0000 (22:01 +0000)]
Should not have freed ber_buf when freeing temp copy
Kurt Zeilenga [Thu, 20 May 1999 21:53:56 +0000 (21:53 +0000)]
found my lber bug... ber_buf should have been freed in ber_peek_tag. Ugh!
Kurt Zeilenga [Thu, 20 May 1999 21:34:17 +0000 (21:34 +0000)]
$LIBVERSION -> $(LIBVERSION)
Kurt Zeilenga [Thu, 20 May 1999 21:21:57 +0000 (21:21 +0000)]
Fix initialization bug in ber_init_w_nullc()
Added assert(), additional comments, and a few minor adjustments.
Kurt Zeilenga [Thu, 20 May 1999 19:38:03 +0000 (19:38 +0000)]
Version.c deprecated in favor of mkversion.
Minor cleanup to lber files.
Kurt Zeilenga [Thu, 20 May 1999 19:35:07 +0000 (19:35 +0000)]
Deprecated in favor of mkversion.
Kurt Zeilenga [Thu, 20 May 1999 00:04:16 +0000 (00:04 +0000)]
Fixed bug in dtest code.
Kurt Zeilenga [Wed, 19 May 1999 20:38:02 +0000 (20:38 +0000)]
Improving e/d test (until I find the my damn bug)
Kurt Zeilenga [Wed, 19 May 1999 19:10:55 +0000 (19:10 +0000)]
Enhance encode/decode test programs to encode sets, ie:
./etest '{sis}' | ./dtest '{sis}'
Juan Gomez [Wed, 19 May 1999 18:27:25 +0000 (18:27 +0000)]
Do code reuse through ldbm_modify_internal().
Julio Sánchez Fernández [Wed, 19 May 1999 14:15:15 +0000 (14:15 +0000)]
Fixed segfault in a ldif2ldbm-bdb2 child
Julio Sánchez Fernández [Wed, 19 May 1999 12:21:46 +0000 (12:21 +0000)]
Added missing semicolon.
Julio Sánchez Fernández [Wed, 19 May 1999 12:21:11 +0000 (12:21 +0000)]
Added missing declaration
Kurt Zeilenga [Wed, 19 May 1999 07:20:06 +0000 (07:20 +0000)]
Removed lint.
Kurt Zeilenga [Wed, 19 May 1999 07:15:16 +0000 (07:15 +0000)]
method tag should be unsigned long.
connection assert should use s, not i.
Kurt Zeilenga [Wed, 19 May 1999 07:14:27 +0000 (07:14 +0000)]
s/NULLMSG/NULL/
Fix ldappasswd timeval.
Kurt Zeilenga [Wed, 19 May 1999 07:13:42 +0000 (07:13 +0000)]
Add EXEEXT and MKVERSION support
Kurt Zeilenga [Wed, 19 May 1999 07:12:20 +0000 (07:12 +0000)]
Add EXEEXT and MKVERSION support.
Kurt Zeilenga [Wed, 19 May 1999 06:27:35 +0000 (06:27 +0000)]
Add UL to more BER tags.
Kurt Zeilenga [Wed, 19 May 1999 06:13:44 +0000 (06:13 +0000)]
Add UL to LBER tags.
Juan Gomez [Wed, 19 May 1999 04:00:58 +0000 (04:00 +0000)]
Fixed a memory leak and getting ready to reuse some code between
modify and modrdn.
Kurt Zeilenga [Wed, 19 May 1999 01:58:23 +0000 (01:58 +0000)]
s/HAVE_SYSLOG/LDAP_SYSLOG/g
Use <ac/syslog.h>
Kurt Zeilenga [Wed, 19 May 1999 01:54:33 +0000 (01:54 +0000)]
Replace #ifndef WIN32 with #ifdef HAVE_SYSLOG
Kurt Zeilenga [Wed, 19 May 1999 01:53:09 +0000 (01:53 +0000)]
Add LDAP_CONST to kerberos bind routines
Kurt Zeilenga [Wed, 19 May 1999 01:52:46 +0000 (01:52 +0000)]
Add LDAP_CONST to ldap_set_option() invalue
Kurt Zeilenga [Wed, 19 May 1999 01:42:29 +0000 (01:42 +0000)]
Missing LDAP_CONST from ldap_set_option() declaration.
Kurt Zeilenga [Wed, 19 May 1999 01:12:33 +0000 (01:12 +0000)]
Vienna Bulk Commit
This commit includes many changes. All changes compile under NT but
have not been tested under UNIX.
A Summary of changes (likely incomplete):
NT changes:
Removed lint.
Clean up configuration support for "Debug", "Release", "SDebug",
and "SRelease" configurations.
Share output directories for clients, libraries,
and slapd. (maybe they should be combined further
and moved to build/{,S}{Debug,Release}).
Enable threading when _MT is defined.
Enable debuging when _DEBUG is defined.
Disable setting of NDEBUG under Release/SRelease. Asserts
are disabled in <ac/assert.h> when LDAP_DEBUG is not
defined.
Added 'build/main.dsp' Master project.
Removed non-slapd projects from slapd.dsp (see main.dsp).
Removed replaced many uses of _WIN32 macro with feature based
macros.
ldap_cdefs.h changes
#define LDAP_CONST const
(see below)
#define LDAP_F(type) LDAP_F_PRE type LDAP_F_POST
To allow specifiers to be added before and after
the type declaration. (For DLL handling)
LBER/LDAP changes
Namespace changes:
s/lber_/ber_/ for here and there.
s/NAME_ERROR/LDAP_NAME_ERROR/g
Deleted NULLMSG and other NULL* macros for namespace reasons.
"const" libraries. Installed headers (ie: lber.h, ldap.h)
use LDAP_CONST macro. Normally set to 'const' when
__STDC__. Can be set externally to enable/disable
'constification' of external interface. Internal
interface always uses 'const'. Did not fix warnings
in -lldif (in lieu of new LDIF parser).
Added _ext API implementations (excepting search and bind).
Need to implement ldap_int_get_controls() for reponses
with controls.
Added numberous assert() checks.
LDAP_R
_MT defines HAVE_NT_THREADS
Added numberous assert() checks.
Changed ldap_pthread_t back to unsigned long. Used cast
to HANDLE in _join().
LDBM
Replaced _WIN32 with HAVE_SYSLOG
ud
Added version string if MKVERSION is not defined. (MKVERSION
needs to be set under UNIX).
slapd
Made connection sockbuf field a pointer to a sockbuf. This
removed slap.h dependency on lber-int.h. lber-int.h now only
included by those files needing to mess with the sockbuf.
Used ber_* functions/macros to access sockbuf internals whenever
possible.
Added version string if MKVERSION is not defined. (MKVERSION
needs to be set under UNIX).
Removed FD_SET unsigned lint
slapd/tools
Used EXEEXT to added ".exe" to routines. Need to define EXEEXT
under UNIX.
ldappasswd
Added ldappasswd.dsp. Ported to NT. Used getpid() to seed rand().
nt_debug
Minor cleanup. Added "portable.h" include and used <ac/*.h> where
appropriate. Added const to char* format argument.
Kurt Zeilenga [Tue, 18 May 1999 20:52:36 +0000 (20:52 +0000)]
Wrap externs with parens to protect against inproper macro expansion.
Kurt Zeilenga [Tue, 18 May 1999 18:34:02 +0000 (18:34 +0000)]
Add check for <sys/select.h> for AIX.
Juan Gomez [Wed, 12 May 1999 03:29:06 +0000 (03:29 +0000)]
Added the targets test-nis-schema, test-nis-schema-ldbm, and
test-nis-schema-bdb2 to start a server using the NIS-LDAP
schema.
Juan Gomez [Wed, 12 May 1999 03:22:48 +0000 (03:22 +0000)]
Script that starts a server with NIS schema and sample database.
Juan Gomez [Wed, 12 May 1999 01:03:51 +0000 (01:03 +0000)]
Config files that use the NIS related schema.
Gary Williams [Tue, 11 May 1999 13:42:57 +0000 (13:42 +0000)]
use mutex to protect connection in connection_destroy until task is complete
Gary Williams [Fri, 7 May 1999 14:30:31 +0000 (14:30 +0000)]
Move maxkids = cmdkids after fork of ldif2id2children. Also fix NT waiting for kids
Ben Collins [Fri, 7 May 1999 01:27:16 +0000 (01:27 +0000)]
Moved db1/db.h check to the db1 marco in openldap.m4. Also added check for HAVE_DB1_DB_H for which header to include since it's only defined when using db1
Ben Collins [Fri, 7 May 1999 01:10:03 +0000 (01:10 +0000)]
Missing # in front of else in the sockinit #if's
Gary Williams [Thu, 6 May 1999 16:32:11 +0000 (16:32 +0000)]
ldap_pvt_thread_kill doesn't work on NT, so use hit_socket to break select. Also move WSAStartup so it gets called before _any_ socket calls
Gary Williams [Thu, 6 May 1999 16:30:48 +0000 (16:30 +0000)]
move bind_addr to make it externally available. NT needs to use the address to write to the listen socket to break out of the select
Gary Williams [Thu, 6 May 1999 16:29:19 +0000 (16:29 +0000)]
add wsa_err.c to project
Gary Williams [Thu, 6 May 1999 16:28:52 +0000 (16:28 +0000)]
routine to get string for last WSA error on NT
Gary Williams [Thu, 6 May 1999 15:00:05 +0000 (15:00 +0000)]
define Versionstr, I'm sure there's a better way, but I need to get this built
Gary Williams [Thu, 6 May 1999 14:51:11 +0000 (14:51 +0000)]
add root_dse.c
Gary Williams [Thu, 6 May 1999 14:47:55 +0000 (14:47 +0000)]
detect debug level and output to stdout
Gary Williams [Thu, 6 May 1999 14:46:48 +0000 (14:46 +0000)]
move socket.h before errno.h so EWOULDBLOCK is defined on NT
Ben Collins [Thu, 6 May 1999 12:33:58 +0000 (12:33 +0000)]
Glibc 2.1 has Berkley db as -ldb1. Set up the autoconf to check this first, else we will actually be using compat calls in db2, and not the real db1.