]> git.sur5r.net Git - openldap/log
openldap
24 years agoFix one more chk_unix ifdef
Howard Chu [Thu, 11 May 2000 20:00:47 +0000 (20:00 +0000)]
Fix one more chk_unix ifdef

24 years agoFix unbalanced #endif
Kurt Zeilenga [Thu, 11 May 2000 16:06:41 +0000 (16:06 +0000)]
Fix unbalanced #endif

24 years agoChange RCS Id to OpenLDAP keyword
Howard Chu [Thu, 11 May 2000 10:35:27 +0000 (10:35 +0000)]
Change RCS Id to OpenLDAP keyword

24 years agoAdded support for AIX security database:
Howard Chu [Thu, 11 May 2000 10:10:53 +0000 (10:10 +0000)]
Added support for AIX security database:
  configure.in: check for AIX security library, set in AUTH_LIBS macro
  top.mk: add AUTH_LIBS macro to SECURITY_LIBS
  portable.h.in: added HAVE_AIX_SECURITY macro (via autoheader)
  passwd.c: use AIX getuserpw in chk_unix. Also fix logic in chk_unix:
   getpwnam must always succeed for the given user. It is not a
fatal error if getspnam returns no result for the user: On
systems that support /etc/shadow, its usage is optional. The
same logic applies for AIX, SCO/HP SecureWare, etc.

24 years agoFix for systems like AIX where pthread_create creates Detached by default
Howard Chu [Thu, 11 May 2000 09:51:24 +0000 (09:51 +0000)]
Fix for systems like AIX where pthread_create creates Detached by default

24 years agoFix dynamic linking dependencies for NT and Unix
Howard Chu [Thu, 11 May 2000 09:49:40 +0000 (09:49 +0000)]
Fix dynamic linking dependencies for NT and Unix

24 years agoAdded debuglevel parameter to ldap_int_initialize().
Howard Chu [Thu, 11 May 2000 09:48:40 +0000 (09:48 +0000)]
Added debuglevel parameter to ldap_int_initialize().

24 years agoFix error detection for NT
Howard Chu [Thu, 11 May 2000 09:47:55 +0000 (09:47 +0000)]
Fix error detection for NT

24 years agoFix dynamic link dependencies for NT and Unix
Howard Chu [Thu, 11 May 2000 09:47:15 +0000 (09:47 +0000)]
Fix dynamic link dependencies for NT and Unix

24 years agoAdded LBER_OPT_LOG_PRINT_FILE to redirect the output of ber_error_print.
Howard Chu [Thu, 11 May 2000 09:39:33 +0000 (09:39 +0000)]
Added LBER_OPT_LOG_PRINT_FILE to redirect the output of ber_error_print.
Used mainly on NT since stderr doesn't exist when slapd runs as a service.

24 years agoLDAP_F macro is obsolete. Redeclare perl_ack_xs_init static, since it
Howard Chu [Thu, 11 May 2000 09:35:29 +0000 (09:35 +0000)]
LDAP_F macro is obsolete. Redeclare perl_ack_xs_init static, since it
is, and declare boot_DynaLoader as EXT since it actually comes from
perl, not from this module.

24 years agoRemoved XLDFLAGS, unnecessary for modules.
Howard Chu [Thu, 11 May 2000 09:33:34 +0000 (09:33 +0000)]
Removed XLDFLAGS, unnecessary for modules.

24 years agohostname needs to be static
Kurt Zeilenga [Thu, 11 May 2000 02:41:34 +0000 (02:41 +0000)]
hostname needs to be static

24 years agoFix cred passing.
Kurt Zeilenga [Thu, 11 May 2000 01:40:02 +0000 (01:40 +0000)]
Fix cred passing.

24 years agoFix another bug... seems to be working... ldap://root.openldap.org/
Kurt Zeilenga [Thu, 11 May 2000 01:12:48 +0000 (01:12 +0000)]
Fix another bug... seems to be working... ldap://root.openldap.org/

24 years agoFix == typo
Kurt Zeilenga [Thu, 11 May 2000 00:50:14 +0000 (00:50 +0000)]
Fix == typo

24 years agoFix debug level typo
Kurt Zeilenga [Thu, 11 May 2000 00:44:03 +0000 (00:44 +0000)]
Fix debug level typo

24 years agoAdd bind handler which returns unwillingToPerform with
Kurt Zeilenga [Wed, 10 May 2000 23:54:57 +0000 (23:54 +0000)]
Add bind handler which returns unwillingToPerform with
nasty message if password was provided.

24 years agoAdd basic and EXPERIMENTAL chroot() support.
Kurt Zeilenga [Wed, 10 May 2000 23:30:52 +0000 (23:30 +0000)]
Add basic and EXPERIMENTAL chroot() support.

24 years agoFix #ifdefs when --disable-crypt
Kurt Zeilenga [Wed, 10 May 2000 23:26:42 +0000 (23:26 +0000)]
Fix #ifdefs when --disable-crypt

24 years agoAdded new support for NT and AIX dynamic linking - generate export tables
Howard Chu [Wed, 10 May 2000 22:57:13 +0000 (22:57 +0000)]
Added new support for NT and AIX dynamic linking - generate export tables
for executable files, not just libraries/modules. Also, the AIX linker
hardcodes -L paths by default; override this to prevent build paths from
appearing in distributed binaries.

mkdep.aix - a wrapper for AIX cc that sends dependency info to stdout so
that the standard mkdep script can operate.

24 years agoLooks like we found the same problem. But I think rev 1.297 is incomplete.
Howard Chu [Wed, 10 May 2000 22:48:23 +0000 (22:48 +0000)]
Looks like we found the same problem. But I think rev 1.297 is incomplete.
ol_link_sasl vs ol_link_spasswd is confusing.

24 years agoWorking (but likely not robust) DNS SRV backend!
Kurt Zeilenga [Wed, 10 May 2000 22:43:08 +0000 (22:43 +0000)]
Working (but likely not robust) DNS SRV backend!

24 years agoFix minor bugs...
Kurt Zeilenga [Wed, 10 May 2000 22:21:57 +0000 (22:21 +0000)]
Fix minor bugs...

24 years agoDNS SRV meat (a work in progress)
Kurt Zeilenga [Wed, 10 May 2000 21:48:18 +0000 (21:48 +0000)]
DNS SRV meat (a work in progress)

24 years agoRemove #undef LDAP_MOD_BVALUES - backends like back-ldap that are also
Howard Chu [Wed, 10 May 2000 21:22:07 +0000 (21:22 +0000)]
Remove #undef LDAP_MOD_BVALUES - backends like back-ldap that are also
LDAP clients themselves still need this definition.

24 years agoRemove bogus use of PERL_LDFLAGS, it's correctly inserted in SLAPD_LIBS
Howard Chu [Wed, 10 May 2000 21:18:12 +0000 (21:18 +0000)]
Remove bogus use of PERL_LDFLAGS, it's correctly inserted in SLAPD_LIBS
by top.mk

24 years agoAdd ld parameter to ldap_pvt_tls_start invocations. See tls.c...
Howard Chu [Wed, 10 May 2000 21:02:46 +0000 (21:02 +0000)]
Add ld parameter to ldap_pvt_tls_start invocations. See tls.c...

24 years agoAdditional DNS SRV framework (a work in progress)
Kurt Zeilenga [Wed, 10 May 2000 20:11:58 +0000 (20:11 +0000)]
Additional DNS SRV framework (a work in progress)
add common request handler
remove bind handler (not needed)

24 years agoAdditional DNS SRV framework (a work in progress)
Kurt Zeilenga [Wed, 10 May 2000 20:07:01 +0000 (20:07 +0000)]
Additional DNS SRV framework (a work in progress)
Fix --disable-spasswd

24 years agoAdd DNS SRV backend framework (a work in progress).
Kurt Zeilenga [Wed, 10 May 2000 18:17:38 +0000 (18:17 +0000)]
Add DNS SRV backend framework (a work in progress).

24 years agolibldap/tls.c: change tls_verify_cb to no longer ignore verification errors.
Howard Chu [Wed, 10 May 2000 17:07:09 +0000 (17:07 +0000)]
libldap/tls.c: change tls_verify_cb to no longer ignore verification errors.
This means a ldaps connection may drop before any LDAP protocol exchange
occurs (due to expired cert, unrecognized CAs, etc.).
  Change ldap_pvt_tls_connect to copy any TLS error string to ld_error upon
connection failure, otherwise client just sees "can't contact LDAP server."

slapd/connection.c: add flush/delay when SSL_accept fails, to allow any
TLS alerts we generated to propagate back to the client. (Which will then
be picked up by ldap_pvt_tls_connect on the client...)

24 years agoUndo slapd/add.c rev 1.54; back-bdb2 and back-ldbm were the only backends
Howard Chu [Wed, 10 May 2000 16:36:46 +0000 (16:36 +0000)]
Undo slapd/add.c rev 1.54; back-bdb2 and back-ldbm were the only backends
that called entry_free() on failure. This change would cause a memory leak
from all the other backends. Instead, remove the entry_free calls in these
two backends and let the frontend take care of it for everyone.

24 years agoRemove MINGW32 declarations of snprintf and vsnprintf, the new mingw32
Howard Chu [Wed, 10 May 2000 16:12:38 +0000 (16:12 +0000)]
Remove MINGW32 declarations of snprintf and vsnprintf, the new mingw32
distributions define them now.

24 years agoRemove declaration of strerror_r, it clashes on AIX and we never use it
Howard Chu [Wed, 10 May 2000 16:11:38 +0000 (16:11 +0000)]
Remove declaration of strerror_r, it clashes on AIX and we never use it
anyway.

24 years agoTweak the symlink creation rules for braindead "ln" commands.
Howard Chu [Wed, 10 May 2000 16:10:11 +0000 (16:10 +0000)]
Tweak the symlink creation rules for braindead "ln" commands.

24 years agoFix pthread_create test for AIX. AIX deviates from POSIX in that threads
Howard Chu [Wed, 10 May 2000 16:09:26 +0000 (16:09 +0000)]
Fix pthread_create test for AIX. AIX deviates from POSIX in that threads
are created detached by default. We need to set the thread attributes in
advance, otherwise pthread_detach will fail.

24 years agoRemove extra --enable-modules flag...
Kurt Zeilenga [Wed, 10 May 2000 04:31:42 +0000 (04:31 +0000)]
Remove extra --enable-modules flag...

24 years agoAdd experimental code to check simple bind passwords
Kurt Zeilenga [Wed, 10 May 2000 04:29:51 +0000 (04:29 +0000)]
Add experimental code to check simple bind passwords
against Cyrus SASLdb.  Like other cleartext mechanisms,
should be protected from eavesdropping.

24 years agoUpdate comment concerning stable client development platforms.
Kurt Zeilenga [Wed, 10 May 2000 04:28:10 +0000 (04:28 +0000)]
Update comment concerning stable client development platforms.

24 years agoAdd IPv6/IPSEC project (volunteers welcomed)
Kurt Zeilenga [Tue, 9 May 2000 18:48:03 +0000 (18:48 +0000)]
Add IPv6/IPSEC project (volunteers welcomed)

24 years agos/cmds/rcpt_cmds/ to avoid conflict with Linux Redhat "prandom".
Kurt Zeilenga [Tue, 9 May 2000 17:25:59 +0000 (17:25 +0000)]
s/cmds/rcpt_cmds/ to avoid conflict with Linux Redhat "prandom".

24 years agomove default "directory"
Kurt Zeilenga [Wed, 3 May 2000 19:01:29 +0000 (19:01 +0000)]
move default "directory"

24 years agoError handling changes including separation of client v. server
Kurt Zeilenga [Wed, 3 May 2000 18:59:58 +0000 (18:59 +0000)]
Error handling changes including separation of client v. server
SASL to LDAP translation.  plus comments and other minor changes

24 years agoupdate based upon latest changes and thoughts
Kurt Zeilenga [Wed, 3 May 2000 18:58:20 +0000 (18:58 +0000)]
update based upon latest changes and thoughts

24 years agoUse (unsigned char) -1 instead of 0xffU.
Kurt Zeilenga [Wed, 3 May 2000 18:55:27 +0000 (18:55 +0000)]
Use (unsigned char) -1 instead of 0xffU.

24 years agoDone did hashed password generation (via extend op)
Kurt Zeilenga [Wed, 3 May 2000 12:57:05 +0000 (12:57 +0000)]
Done did hashed password generation (via extend op)

24 years agosetting UFN prefix to NULL should clear prefix not cause crash.
Kurt Zeilenga [Wed, 3 May 2000 10:45:36 +0000 (10:45 +0000)]
setting UFN prefix to NULL should clear prefix not cause crash.

24 years agoMove default LDBM directory from /usr/tmp to $(localstatedir)
Kurt Zeilenga [Wed, 3 May 2000 10:07:21 +0000 (10:07 +0000)]
Move default LDBM directory from /usr/tmp to $(localstatedir)

24 years agoAvoid C++ keyword 'new' in header files.
Bastiaan Bakker [Sun, 30 Apr 2000 15:26:51 +0000 (15:26 +0000)]
Avoid C++ keyword 'new' in header files.

24 years agoAdded example 'moduleload' lines to slapd.conf
Bastiaan Bakker [Sun, 30 Apr 2000 15:01:32 +0000 (15:01 +0000)]
Added example 'moduleload' lines to slapd.conf

24 years agoChange count test for non-zero reference counts to check for ... non-zero.
Randy Kunkee [Wed, 26 Apr 2000 09:24:58 +0000 (09:24 +0000)]
Change count test for non-zero reference counts to check for ... non-zero.

24 years agoRework order of things to allow restart in oneshot mode.
Randy Kunkee [Wed, 26 Apr 2000 09:24:12 +0000 (09:24 +0000)]
Rework order of things to allow restart in oneshot mode.

24 years agoDon't depend error handling on exact resultCode.
Kurt Zeilenga [Wed, 26 Apr 2000 09:21:19 +0000 (09:21 +0000)]
Don't depend error handling on exact resultCode.

24 years agoA NULL (empty) SASL mechanism should not result in a protocol error.
Kurt Zeilenga [Wed, 26 Apr 2000 09:20:25 +0000 (09:20 +0000)]
A NULL (empty) SASL mechanism should not result in a protocol error.

24 years agoClarify error string, add comment
Kurt Zeilenga [Wed, 26 Apr 2000 09:17:54 +0000 (09:17 +0000)]
Clarify error string, add comment

24 years agoFix typo in multbyte tag code
Kurt Zeilenga [Wed, 26 Apr 2000 09:17:05 +0000 (09:17 +0000)]
Fix typo in multbyte tag code

24 years agofix -UHAVE_CYRUS_SASL
Kurt Zeilenga [Tue, 25 Apr 2000 19:28:00 +0000 (19:28 +0000)]
fix -UHAVE_CYRUS_SASL

24 years agoSASL: me thinks I got the states okay... now to test.
Kurt Zeilenga [Tue, 25 Apr 2000 18:02:50 +0000 (18:02 +0000)]
SASL: me thinks I got the states okay...  now to test.

24 years agoSASL closer to working from frontend only, need to work through
Kurt Zeilenga [Tue, 25 Apr 2000 17:23:54 +0000 (17:23 +0000)]
SASL closer to working from frontend only, need to work through
states.

24 years agoSASL code without backend support. Should work with
Kurt Zeilenga [Tue, 25 Apr 2000 16:03:17 +0000 (16:03 +0000)]
SASL code without backend support.   Should work with
external store, but not yet tested.  [Intent is to support
both in same server... may not be doable]

24 years agoFix NULL filter bug
Kurt Zeilenga [Tue, 25 Apr 2000 13:52:44 +0000 (13:52 +0000)]
Fix NULL filter bug

24 years agoFramework for authpasswd. Needs work. Behind #ifdef
Kurt Zeilenga [Tue, 25 Apr 2000 13:28:03 +0000 (13:28 +0000)]
Framework for authpasswd.  Needs work.  Behind #ifdef

24 years agoFix typo in prev commit
Kurt Zeilenga [Tue, 25 Apr 2000 13:25:55 +0000 (13:25 +0000)]
Fix typo in prev commit

24 years agobind/sasl cleanup PRIOR TO moving call from backend to frontend
Kurt Zeilenga [Tue, 25 Apr 2000 13:21:42 +0000 (13:21 +0000)]
bind/sasl cleanup PRIOR TO moving call from backend to frontend

24 years agoSCHEMA_NOT_COMPAT changes
Kurt Zeilenga [Tue, 25 Apr 2000 13:21:06 +0000 (13:21 +0000)]
SCHEMA_NOT_COMPAT changes

24 years agoentry_schema_check rename
Kurt Zeilenga [Tue, 25 Apr 2000 13:20:05 +0000 (13:20 +0000)]
entry_schema_check rename

24 years agoLDAP_OPERATIONS_ERROR -> LDAP_OTHER
Kurt Zeilenga [Tue, 25 Apr 2000 13:18:59 +0000 (13:18 +0000)]
LDAP_OPERATIONS_ERROR -> LDAP_OTHER
and other error handling changes

24 years agoentry_schema_check() rename and more (error handling)
Kurt Zeilenga [Tue, 25 Apr 2000 13:15:55 +0000 (13:15 +0000)]
entry_schema_check() rename and more (error handling)

24 years ago(slightly) better comments
Kurt Zeilenga [Tue, 25 Apr 2000 13:13:42 +0000 (13:13 +0000)]
(slightly) better comments

24 years agoUpdate
Kurt Zeilenga [Tue, 25 Apr 2000 13:12:40 +0000 (13:12 +0000)]
Update

24 years agoreturn more descriptive error text
Kurt Zeilenga [Tue, 25 Apr 2000 13:12:20 +0000 (13:12 +0000)]
return more descriptive error text

24 years agoremove SASL bind call. Frontend code coming.
Kurt Zeilenga [Tue, 25 Apr 2000 13:10:31 +0000 (13:10 +0000)]
remove SASL bind call.  Frontend code coming.

24 years agoentry_schema_check() rename
Kurt Zeilenga [Tue, 25 Apr 2000 13:07:14 +0000 (13:07 +0000)]
entry_schema_check() rename

24 years agoLDAP_OPERATIONS_ERROR -> LDAP_OTHER
Kurt Zeilenga [Tue, 25 Apr 2000 13:06:22 +0000 (13:06 +0000)]
LDAP_OPERATIONS_ERROR -> LDAP_OTHER
and other misc changes

24 years agoFix comment
Kurt Zeilenga [Tue, 25 Apr 2000 13:02:42 +0000 (13:02 +0000)]
Fix comment

24 years agoreplace inetOrgPerson I-D with RFC
Kurt Zeilenga [Tue, 25 Apr 2000 11:55:35 +0000 (11:55 +0000)]
replace inetOrgPerson I-D with RFC

24 years agoFix NULL pointer deref bugs
Kurt Zeilenga [Tue, 25 Apr 2000 10:43:15 +0000 (10:43 +0000)]
Fix NULL pointer deref bugs

24 years agoApply experimental multibyte tag fix
Kurt Zeilenga [Tue, 25 Apr 2000 10:42:32 +0000 (10:42 +0000)]
Apply experimental multibyte tag fix

24 years agoreplace ldap_dnssrv_init() with lower level calls
Kurt Zeilenga [Tue, 25 Apr 2000 10:38:03 +0000 (10:38 +0000)]
replace ldap_dnssrv_init() with lower level calls
    ldap_domain2dn()
    ldap_domain2hostlist()
and provide prototype to soon-to-be-implemented
    ldap_dn2domain().
ldap_dnssrv_init(), if needed, can easily be implemented
using ldap_create(), ldap_set_option() and the above
commands.

24 years agoAdd description of global command line arguments....
Kurt Zeilenga [Tue, 25 Apr 2000 10:34:19 +0000 (10:34 +0000)]
Add description of global command line arguments....

24 years agoUpdate as needed.
Kurt Zeilenga [Tue, 25 Apr 2000 10:33:34 +0000 (10:33 +0000)]
Update as needed.

24 years agoAdd comment regarding staleness of I-D committed in this repo.
Kurt Zeilenga [Tue, 25 Apr 2000 10:32:39 +0000 (10:32 +0000)]
Add comment regarding staleness of I-D committed in this repo.

24 years agoFix typos in version checking
Kurt Zeilenga [Tue, 25 Apr 2000 10:30:42 +0000 (10:30 +0000)]
Fix typos in version checking

24 years agofor slurpd's replica directory (slurpd.status, and rej file) use a subdir of what...
Ben Collins [Mon, 24 Apr 2000 17:03:45 +0000 (17:03 +0000)]
for slurpd's replica directory (slurpd.status, and rej file) use a subdir of what the user specifies (add replica/ to it) to avoid /tmp races. A lot of the files that slurpd uses cannot be opened with O_EXCL, nor can we safely determine if there are any hardlinks from another file to it, so we create our own subdirectory so we can control the perms, even in /tmp

24 years agofilecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile...
Ben Collins [Mon, 24 Apr 2000 16:47:41 +0000 (16:47 +0000)]
filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile, else this function is of little real use

24 years agouse strcpy instead of sprintf when all we have is two args (source and dest)
Ben Collins [Mon, 24 Apr 2000 16:44:16 +0000 (16:44 +0000)]
use strcpy instead of sprintf when all we have is two args (source and dest)

24 years agowhen opening files in /tmp use O_CREAT|O_EXCL to overcome race conditions
Ben Collins [Mon, 24 Apr 2000 16:42:16 +0000 (16:42 +0000)]
when opening files in /tmp use O_CREAT|O_EXCL to overcome race conditions

24 years agowith the -t option (writing to /tmp) open files with O_CREAT|O_EXCL to overcome race...
Ben Collins [Mon, 24 Apr 2000 16:41:36 +0000 (16:41 +0000)]
with the -t option (writing to /tmp) open files with O_CREAT|O_EXCL to overcome race conditions

24 years agoStartTLS requires LDAPv3
Kurt Zeilenga [Thu, 20 Apr 2000 14:15:39 +0000 (14:15 +0000)]
StartTLS requires LDAPv3
Set version to required protocol.

24 years agoITS#503: Extend ldap tools to support SASL/TLS
Kurt Zeilenga [Thu, 20 Apr 2000 09:23:51 +0000 (09:23 +0000)]
ITS#503: Extend ldap tools to support SASL/TLS
Submitted by Gabor Gombas <gombasg@inf.elte.hu>

24 years agoLDAP_OPERATIONS -> LDAP_OTHER
Kurt Zeilenga [Wed, 19 Apr 2000 13:42:08 +0000 (13:42 +0000)]
LDAP_OPERATIONS -> LDAP_OTHER

24 years agoAdd RCSid
Kurt Zeilenga [Wed, 19 Apr 2000 13:37:52 +0000 (13:37 +0000)]
Add RCSid

24 years agoFix == v != bug
Kurt Zeilenga [Wed, 19 Apr 2000 13:35:43 +0000 (13:35 +0000)]
Fix == v != bug

24 years agoFix realloc bug and remove use of LDAP_MOD_BVALUES
Kurt Zeilenga [Wed, 19 Apr 2000 08:43:37 +0000 (08:43 +0000)]
Fix realloc bug and remove use of LDAP_MOD_BVALUES

24 years agoobjectclass=* -> (objectclass=*)
Kurt Zeilenga [Wed, 12 Apr 2000 08:38:01 +0000 (08:38 +0000)]
objectclass=* -> (objectclass=*)

24 years agoobjectclass=* -> NULL
Kurt Zeilenga [Wed, 12 Apr 2000 08:37:11 +0000 (08:37 +0000)]
objectclass=* -> NULL

24 years agoobjectclass=* -> NULL
Kurt Zeilenga [Wed, 12 Apr 2000 08:31:32 +0000 (08:31 +0000)]
objectclass=* -> NULL

24 years agoFix c_mutex unlock bug
Kurt Zeilenga [Wed, 12 Apr 2000 01:40:06 +0000 (01:40 +0000)]
Fix c_mutex unlock bug

24 years agoFix debug messages
Kurt Zeilenga [Wed, 12 Apr 2000 01:39:52 +0000 (01:39 +0000)]
Fix debug messages