]> git.sur5r.net Git - openldap/log
openldap
24 years agoY2k copyright update
Kurt Zeilenga [Sat, 13 May 2000 02:36:07 +0000 (02:36 +0000)]
Y2k copyright update

24 years agoY2k copyright update
Kurt Zeilenga [Sat, 13 May 2000 02:25:54 +0000 (02:25 +0000)]
Y2k copyright update

24 years agoUpdate LBER man pages to latest API.
Kurt Zeilenga [Sat, 13 May 2000 01:44:58 +0000 (01:44 +0000)]
Update LBER man pages to latest API.
Need to add lber-types(3) to document BER types, allocation, and deallocation.
May need to add additional pages to document other new features.

24 years agoUpdate man page date.
Kurt Zeilenga [Sat, 13 May 2000 01:43:35 +0000 (01:43 +0000)]
Update man page date.

24 years agoSilence some warnings from parameter type mismatches
Howard Chu [Sat, 13 May 2000 01:18:57 +0000 (01:18 +0000)]
Silence some warnings from parameter type mismatches

24 years agoAdd (old) copyright... [we really should to update these]
Kurt Zeilenga [Sat, 13 May 2000 00:50:27 +0000 (00:50 +0000)]
Add (old) copyright... [we really should to update these]

24 years agomake ntservice error to string routines static
Kurt Zeilenga [Sat, 13 May 2000 00:48:17 +0000 (00:48 +0000)]
make ntservice error to string routines static
#undef __RETSTR before #define

24 years agoFix ambiguous return value in lutil_passwd
Howard Chu [Sat, 13 May 2000 00:10:24 +0000 (00:10 +0000)]
Fix ambiguous return value in lutil_passwd

24 years agoFix typo in last commit (fixing multiple byte tags)
Kurt Zeilenga [Sat, 13 May 2000 00:02:36 +0000 (00:02 +0000)]
Fix typo in last commit (fixing multiple byte tags)

24 years agoMoved GetLastErrorString to ntservice.c. I missed it before, thought it
Howard Chu [Fri, 12 May 2000 23:53:14 +0000 (23:53 +0000)]
Moved GetLastErrorString to ntservice.c. I missed it before, thought it
was unused but it's needed in ntservice.c

24 years agoNo longer needs <windows.h>
Kurt Zeilenga [Fri, 12 May 2000 23:43:33 +0000 (23:43 +0000)]
No longer needs <windows.h>

24 years agont_err.c has moved from lutil to lber
Kurt Zeilenga [Fri, 12 May 2000 23:37:28 +0000 (23:37 +0000)]
nt_err.c has moved from lutil to lber

24 years agoFix previous change to getRegParam, SERVICE_NAME is only known in slapd.
Howard Chu [Fri, 12 May 2000 21:26:30 +0000 (21:26 +0000)]
Fix previous change to getRegParam, SERVICE_NAME is only known in slapd.

24 years agoMoved nt_err from liblutil to liblber, renamed WSAGetErrorString to
Howard Chu [Fri, 12 May 2000 21:16:15 +0000 (21:16 +0000)]
Moved nt_err from liblutil to liblber, renamed WSAGetErrorString to
ber_pvt_wsa_err2string.

24 years agoFix typo in lutil_debug for NT: file -> log_file
Howard Chu [Fri, 12 May 2000 20:01:40 +0000 (20:01 +0000)]
Fix typo in lutil_debug for NT: file -> log_file

24 years agoMake sure we don't overallocate callbacks
Kurt Zeilenga [Fri, 12 May 2000 19:41:18 +0000 (19:41 +0000)]
Make sure we don't overallocate callbacks

24 years agoFix previous patch, zero out lud_next on new urldesc
Howard Chu [Fri, 12 May 2000 10:48:27 +0000 (10:48 +0000)]
Fix previous patch, zero out lud_next on new urldesc

24 years agoFix ldaps / TLS processing...
Howard Chu [Fri, 12 May 2000 10:43:20 +0000 (10:43 +0000)]
Fix ldaps / TLS processing...
  open.c: open_ldap_connection was not honoring the TLS config option.
  url.c: ldap_url_dup was not copying the properties.

24 years agoExit loop after matching command is found in openldap_ldap_init_w_conf
Howard Chu [Fri, 12 May 2000 10:40:29 +0000 (10:40 +0000)]
Exit loop after matching command is found in openldap_ldap_init_w_conf

24 years agoFix typo with dnattr parsing
Howard Chu [Fri, 12 May 2000 09:10:45 +0000 (09:10 +0000)]
Fix typo with dnattr parsing

24 years agoFix off-by-one in allocation of urlpre
Howard Chu [Thu, 11 May 2000 21:21:18 +0000 (21:21 +0000)]
Fix off-by-one in allocation of urlpre

24 years agoRemoved XLDFLAGS, unnecessary
Howard Chu [Thu, 11 May 2000 20:50:50 +0000 (20:50 +0000)]
Removed XLDFLAGS, unnecessary

24 years agoMore fixes for NT support:
Howard Chu [Thu, 11 May 2000 20:50:20 +0000 (20:50 +0000)]
More fixes for NT support:
  liblutil/ntservice.c change registry key path used for non-default
   service names.
  slapd/Makefile.in change to generate slapd.syms dynamically
  slapd/daemon.c fix to make NT service ignore SIGBREAK
  slapd/main.c fix to allow NT to retrieve listening url from registry
  slapd/nt_svc.c fix for exported symbols
  slapd/result.c change use of strerror to sock_errstr
  slapd/slapd.syms no longer needed

24 years agoChange negotiated mechanism:
Kurt Zeilenga [Thu, 11 May 2000 20:16:26 +0000 (20:16 +0000)]
Change negotiated mechanism:
If application provide one, use it.  If application doesn't
provide one, use best of server advertised.
Fix SASL/ANONYMOUS (not normally used, but should work)
PLAIN is not currently working... might be local to me as my
Cyrus installation is a bit hosted.

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