]> git.sur5r.net Git - openldap/log
openldap
24 years agobv2ad expects desc pointer to be NULL if unallocated
Kurt Zeilenga [Tue, 16 May 2000 20:50:49 +0000 (20:50 +0000)]
bv2ad expects desc pointer to be NULL if unallocated

24 years agoFix typo in last commit
Kurt Zeilenga [Tue, 16 May 2000 18:32:45 +0000 (18:32 +0000)]
Fix typo in last commit

24 years agoModify dn2domain code such that domains produced are rooted.
Kurt Zeilenga [Tue, 16 May 2000 18:31:35 +0000 (18:31 +0000)]
Modify dn2domain code such that domains produced are rooted.
That is, they end with '.'.

24 years agoUpdate to rev 2
Kurt Zeilenga [Tue, 16 May 2000 18:26:16 +0000 (18:26 +0000)]
Update to rev 2

24 years agos/LDAProotDSE/OpenLDAProotDSE/ (until we have a standard track class)
Kurt Zeilenga [Tue, 16 May 2000 18:13:08 +0000 (18:13 +0000)]
s/LDAProotDSE/OpenLDAProotDSE/ (until we have a standard track class)

24 years agoMisc. schema updates.
Kurt Zeilenga [Tue, 16 May 2000 18:11:50 +0000 (18:11 +0000)]
Misc. schema updates.

24 years agoApply filter to info entry
Kurt Zeilenga [Tue, 16 May 2000 17:00:42 +0000 (17:00 +0000)]
Apply filter to info entry

24 years agoRework root dse and other info entry codes to produce entry
Kurt Zeilenga [Tue, 16 May 2000 16:42:01 +0000 (16:42 +0000)]
Rework root dse and other info entry codes to produce entry
to caller (do_search) such that info can be used by other
operations (ie: do_compare).

24 years agoRework root dse and other info entry codes to produce entry
Kurt Zeilenga [Tue, 16 May 2000 16:22:52 +0000 (16:22 +0000)]
Rework root dse and other info entry codes to produce entry
to caller (do_search) such that info can be used by other
operations (ie: do_compare).
SLAPD_SCHEMA_NOT_COMPAT: Add additional code to support filters (needs work)

24 years agos/bindpw/passwd/
Kurt Zeilenga [Tue, 16 May 2000 05:08:25 +0000 (05:08 +0000)]
s/bindpw/passwd/

24 years agoFix unsigned * vs unsigned long * bugs
Kurt Zeilenga [Tue, 16 May 2000 04:52:37 +0000 (04:52 +0000)]
Fix unsigned * vs unsigned long * bugs

24 years agoFix typo in last commit
Kurt Zeilenga [Tue, 16 May 2000 02:17:59 +0000 (02:17 +0000)]
Fix typo in last commit

24 years agoFix password handling for SASL
Kurt Zeilenga [Tue, 16 May 2000 02:16:54 +0000 (02:16 +0000)]
Fix password handling for SASL

24 years agoFix sasl passwd handling (needs to be copied to other tools)
Kurt Zeilenga [Tue, 16 May 2000 01:45:15 +0000 (01:45 +0000)]
Fix sasl passwd handling (needs to be copied to other tools)

24 years agoFix $LIBS bug in fetch(3) detection
Kurt Zeilenga [Tue, 16 May 2000 01:24:02 +0000 (01:24 +0000)]
Fix $LIBS bug in fetch(3) detection

24 years agoAdd LDBM BerkeleyDB3 project
Kurt Zeilenga [Tue, 16 May 2000 00:59:02 +0000 (00:59 +0000)]
Add LDBM BerkeleyDB3 project

24 years agoSLAPD_SCHEMA_NOT_COMPAT: need to set desc to NULL
Kurt Zeilenga [Mon, 15 May 2000 23:47:51 +0000 (23:47 +0000)]
SLAPD_SCHEMA_NOT_COMPAT: need to set desc to NULL

24 years agoSLAPD_SCHEMA_NOT_COMPAT: Disable cn=Monitor & cn=Config
Kurt Zeilenga [Mon, 15 May 2000 23:39:27 +0000 (23:39 +0000)]
SLAPD_SCHEMA_NOT_COMPAT: Disable cn=Monitor & cn=Config

24 years agos/CN=SCHEMA/cn=Schema/
Kurt Zeilenga [Mon, 15 May 2000 23:37:16 +0000 (23:37 +0000)]
s/CN=SCHEMA/cn=Schema/

24 years agoSLAPD_SCHEMA_NOT_COMPAT: working cn=schema
Kurt Zeilenga [Mon, 15 May 2000 23:36:37 +0000 (23:36 +0000)]
SLAPD_SCHEMA_NOT_COMPAT: working cn=schema

24 years agoSLAPD_SCHEMA_NOT_COMPAT: simple Root DSE search WORKS!
Kurt Zeilenga [Mon, 15 May 2000 22:07:10 +0000 (22:07 +0000)]
SLAPD_SCHEMA_NOT_COMPAT: simple Root DSE search WORKS!

24 years agoSLAPD_SCHEMA_NOT_COMPAT: implement attr_merge()
Kurt Zeilenga [Mon, 15 May 2000 21:47:58 +0000 (21:47 +0000)]
SLAPD_SCHEMA_NOT_COMPAT: implement attr_merge()

24 years agoShould have #ifdef'ed in last commit
Kurt Zeilenga [Mon, 15 May 2000 21:22:57 +0000 (21:22 +0000)]
Should have #ifdef'ed in last commit

24 years agoSLAPD_SCHEMA_NOT_COMPAT: Rework caching of internal schema
Kurt Zeilenga [Mon, 15 May 2000 21:05:25 +0000 (21:05 +0000)]
SLAPD_SCHEMA_NOT_COMPAT: Rework caching of internal schema

24 years agoRelocate schema_init() call to main()
Kurt Zeilenga [Mon, 15 May 2000 20:04:36 +0000 (20:04 +0000)]
Relocate schema_init() call to main()
Add schema_prep() call to main()
Similiar changes to slapcommon.c
Add schema_prep() impl to schema_init.c
Add slap_ad_entry and slap_ad_children globals.
Add "entry" and "children" to openldap.schema (this likely should
  be added to schema via code, not configuration)

24 years agoFix -USLAPD_SCHEMA_NOT_COMPAT bugs introduced in last commit
Kurt Zeilenga [Mon, 15 May 2000 19:28:26 +0000 (19:28 +0000)]
Fix -USLAPD_SCHEMA_NOT_COMPAT bugs introduced in last commit

24 years agoSLAPD_SCHEMA_NOT_COMPAT: basic filter parsing
Kurt Zeilenga [Mon, 15 May 2000 18:46:03 +0000 (18:46 +0000)]
SLAPD_SCHEMA_NOT_COMPAT: basic filter parsing

24 years agoPort to SLAPD_SCHEMA_NOT_COMPAT
Kurt Zeilenga [Mon, 15 May 2000 16:53:28 +0000 (16:53 +0000)]
Port to SLAPD_SCHEMA_NOT_COMPAT

24 years agoFix typo in last commit
Kurt Zeilenga [Mon, 15 May 2000 16:53:05 +0000 (16:53 +0000)]
Fix typo in last commit

24 years agoAdd copyright notices
Kurt Zeilenga [Mon, 15 May 2000 16:35:48 +0000 (16:35 +0000)]
Add copyright notices

24 years agocleanup old TOOLID macro
Kurt Zeilenga [Mon, 15 May 2000 16:33:07 +0000 (16:33 +0000)]
cleanup old TOOLID macro

24 years agoMinor updates to shell backend configuration/examples.
Kurt Zeilenga [Mon, 15 May 2000 16:31:59 +0000 (16:31 +0000)]
Minor updates to shell backend configuration/examples.
Replace U-Mich DN with OpenLDAP DN
Remove default referral
Add copyright notice
s/#!/bin/sh/#! /bin/sh/

24 years agoSLAPD_SCHEMA_NOT_COMPAT addl. filter changes (a work in progress).
Kurt Zeilenga [Mon, 15 May 2000 00:41:29 +0000 (00:41 +0000)]
SLAPD_SCHEMA_NOT_COMPAT addl. filter changes (a work in progress).

24 years agoForget return in last commit
Kurt Zeilenga [Sun, 14 May 2000 03:38:27 +0000 (03:38 +0000)]
Forget return in last commit

24 years agoUpdate lber-encode/decode man pages
Kurt Zeilenga [Sat, 13 May 2000 23:08:25 +0000 (23:08 +0000)]
Update lber-encode/decode man pages
Add ber_get_enum() for symmetry

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

24 years agoAdd missing copyright notices
Kurt Zeilenga [Sat, 13 May 2000 02:43:19 +0000 (02:43 +0000)]
Add missing copyright notices

24 years agoBackout inappropriate copyright changes
Kurt Zeilenga [Sat, 13 May 2000 02:38:13 +0000 (02:38 +0000)]
Backout inappropriate copyright changes

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...