]> git.sur5r.net Git - openldap/log
openldap
24 years agoOnly bind on TLS port if explicitly requested with -T, otherwise all
Julio Sánchez Fernández [Wed, 14 Jul 1999 13:39:30 +0000 (13:39 +0000)]
Only bind on TLS port if explicitly requested with -T, otherwise all
kind of conflicts happen when running tests.

24 years agoBind and listen on TLS port too
Julio Sánchez Fernández [Wed, 14 Jul 1999 13:16:13 +0000 (13:16 +0000)]
Bind and listen on TLS port too

24 years agoExtend slapd_args with TLS info
Julio Sánchez Fernández [Wed, 14 Jul 1999 13:14:54 +0000 (13:14 +0000)]
Extend slapd_args with TLS info

24 years agoDefine LDAP_TLS_PORT as 636, the default port for LDAP over raw TLS
Julio Sánchez Fernández [Wed, 14 Jul 1999 13:12:51 +0000 (13:12 +0000)]
Define LDAP_TLS_PORT as 636, the default port for LDAP over raw TLS

24 years agoFix typo in socklen_t comment (signal.h -> sys/types.h and sys/socket.h)
Hallvard Furuseth [Wed, 14 Jul 1999 12:08:58 +0000 (12:08 +0000)]
Fix typo in socklen_t comment (signal.h -> sys/types.h and sys/socket.h)

24 years agoFix detection of socklen_t
Julio Sánchez Fernández [Wed, 14 Jul 1999 11:13:32 +0000 (11:13 +0000)]
Fix detection of socklen_t
Rebuild configure to reflect that

24 years agoNewer versions of OpenSSL install headers in $prefix/include/openssl...
Kurt Zeilenga [Wed, 14 Jul 1999 00:03:52 +0000 (00:03 +0000)]
Newer versions of OpenSSL install headers in $prefix/include/openssl...

24 years agoDeal with sb_trans_needs_read and sb_trans_needs_write
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:40:10 +0000 (19:40 +0000)]
Deal with sb_trans_needs_read and sb_trans_needs_write

24 years agoAdd a couple of control flags to sockbufs and macros to test them.
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:38:01 +0000 (19:38 +0000)]
Add a couple of control flags to sockbufs and macros to test them.

24 years agoGet and set TLS options
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:34:07 +0000 (19:34 +0000)]
Get and set TLS options

24 years agoRebuild configure with TLS changes
Kurt Zeilenga [Tue, 13 Jul 1999 19:32:58 +0000 (19:32 +0000)]
Rebuild configure with TLS changes

24 years agoFirst version with TLS. Untested.
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:32:51 +0000 (19:32 +0000)]
First version with TLS.  Untested.

24 years agoFirst version with TLS. Untested.
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:30:41 +0000 (19:30 +0000)]
First version with TLS. Untested.

24 years agoOptions for TLS
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:29:19 +0000 (19:29 +0000)]
Options for TLS

24 years agoAdd tls.c
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:27:33 +0000 (19:27 +0000)]
Add tls.c
Add use of TLS_LIBS so that test tools compile

24 years agoAdd tls.c
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:25:10 +0000 (19:25 +0000)]
Add tls.c
Add use of TLS_LIBS so that test tools compile

24 years agoAdd option definitions for TLS
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:23:41 +0000 (19:23 +0000)]
Add option definitions for TLS

24 years agoUse $(TLS_LIBS)
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:22:14 +0000 (19:22 +0000)]
Use $(TLS_LIBS)

24 years agoPass TLS_LIBS to the Makefile's.
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:21:27 +0000 (19:21 +0000)]
Pass TLS_LIBS to the Makefile's.

24 years agoOur check for SSLeay_add_ssl_algorithms fails with modern versions of
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:20:16 +0000 (19:20 +0000)]
Our check for SSLeay_add_ssl_algorithms fails with modern versions of
OpenSSL since it has been made a preprocessor macro.  Please review
this change to do the right thing w.r.t. rsaref.

24 years agoInclude $(TLS_LIBS)
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:15:14 +0000 (19:15 +0000)]
Include $(TLS_LIBS)

24 years agoInclude TLS_LIBS
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:13:32 +0000 (19:13 +0000)]
Include TLS_LIBS

24 years agoFirst version of TLS glue for SSLeay/OpenSSL originally written by
Julio Sánchez Fernández [Tue, 13 Jul 1999 19:11:53 +0000 (19:11 +0000)]
First version of TLS glue for SSLeay/OpenSSL originally written by
Bart Hartgers.  Untested.

24 years agoAdd configure support for 'socklen_t' as provided by Hallvard.
Kurt Zeilenga [Tue, 13 Jul 1999 18:46:22 +0000 (18:46 +0000)]
Add configure support for 'socklen_t' as provided by Hallvard.

24 years agoSupport old c_plusplus...
Kurt Zeilenga [Tue, 13 Jul 1999 18:41:00 +0000 (18:41 +0000)]
Support old c_plusplus...

24 years agoUse assert instead of private Assert macro
Kurt Zeilenga [Tue, 13 Jul 1999 18:39:20 +0000 (18:39 +0000)]
Use assert instead of private Assert macro

24 years agoEliminate htonl(unsigned_long_arg), which is wrong on 64-bit OSF1/alpha
Hallvard Furuseth [Tue, 13 Jul 1999 09:41:25 +0000 (09:41 +0000)]
Eliminate htonl(unsigned_long_arg), which is wrong on 64-bit OSF1/alpha

24 years agoFix debug message.
Kurt Zeilenga [Tue, 13 Jul 1999 08:24:26 +0000 (08:24 +0000)]
Fix debug message.

24 years agoFix LDAP_CONST->const in explode_name(), it failed when LDAP_CONST was empty.
Hallvard Furuseth [Tue, 13 Jul 1999 06:48:35 +0000 (06:48 +0000)]
Fix LDAP_CONST->const in explode_name(), it failed when LDAP_CONST was empty.

24 years agoFix LDAP_CONNECTIONLESS code rot
Hallvard Furuseth [Tue, 13 Jul 1999 06:39:55 +0000 (06:39 +0000)]
Fix LDAP_CONNECTIONLESS code rot

24 years agoFix NULLxxx -> NULL
Hallvard Furuseth [Tue, 13 Jul 1999 06:37:19 +0000 (06:37 +0000)]
Fix NULLxxx -> NULL

24 years agoForced commit to correct previous log, files were not changed:
Hallvard Furuseth [Tue, 13 Jul 1999 06:31:56 +0000 (06:31 +0000)]
Forced commit to correct previous log, files were not changed:

Create ldap_int_tblsize and ldap_int_ip_init().
Initialize from ldap_int_initialize().

24 years agoldap-int.h
Hallvard Furuseth [Tue, 13 Jul 1999 06:27:47 +0000 (06:27 +0000)]
ldap-int.h

24 years agoldap-int.h
Hallvard Furuseth [Tue, 13 Jul 1999 06:21:14 +0000 (06:21 +0000)]
ldap-int.h

24 years agoconstify use of invalue in <ber/ldap>_set_option()
Hallvard Furuseth [Tue, 13 Jul 1999 05:17:50 +0000 (05:17 +0000)]
constify use of invalue in <ber/ldap>_set_option()

24 years agoconstify ldap_int_put_controls, ldap_control_dup, ldap_controls_dup
Hallvard Furuseth [Tue, 13 Jul 1999 05:13:33 +0000 (05:13 +0000)]
constify ldap_int_put_controls, ldap_control_dup, ldap_controls_dup

24 years agoAdd opattrs=0 arg to send_search_entry() call
Hallvard Furuseth [Tue, 13 Jul 1999 05:05:59 +0000 (05:05 +0000)]
Add opattrs=0 arg to send_search_entry() call

24 years agoFix read_next_searchobj prototype: long*blenp -> ber_len_t*blenp
Hallvard Furuseth [Tue, 13 Jul 1999 05:04:06 +0000 (05:04 +0000)]
Fix read_next_searchobj prototype: long*blenp -> ber_len_t*blenp

24 years agoErase bad space from blank Makefile line
Hallvard Furuseth [Tue, 13 Jul 1999 04:13:21 +0000 (04:13 +0000)]
Erase bad space from blank Makefile line

24 years agoAdd missing newline at EOF
Hallvard Furuseth [Tue, 13 Jul 1999 04:11:49 +0000 (04:11 +0000)]
Add missing newline at EOF

24 years agoErase bad space from blank Makefile line
Hallvard Furuseth [Tue, 13 Jul 1999 04:01:25 +0000 (04:01 +0000)]
Erase bad space from blank Makefile line

24 years agoAdd bmu_funcp to bmu_align_u
Hallvard Furuseth [Tue, 13 Jul 1999 03:54:42 +0000 (03:54 +0000)]
Add bmu_funcp to bmu_align_u

24 years agoFix use and decl of ber_pvt_assert. Fix ac/stdio.h -> stdio.h.
Hallvard Furuseth [Tue, 13 Jul 1999 03:50:39 +0000 (03:50 +0000)]
Fix use and decl of ber_pvt_assert.   Fix ac/stdio.h -> stdio.h.

24 years agoFix typo "CC" -> "$CC" in AIX cc_r detection
Hallvard Furuseth [Tue, 13 Jul 1999 03:19:55 +0000 (03:19 +0000)]
Fix typo "CC" -> "$CC" in AIX cc_r detection

24 years agoMirror <ac/time.h> inclusion made in re12
Kurt Zeilenga [Fri, 9 Jul 1999 21:10:19 +0000 (21:10 +0000)]
Mirror <ac/time.h> inclusion made in re12

24 years agoRemove a few completed projects
Kurt Zeilenga [Wed, 7 Jul 1999 19:58:59 +0000 (19:58 +0000)]
Remove a few completed projects

24 years agoForgot the most important part of unsolicited notifications... exop!
Kurt Zeilenga [Wed, 7 Jul 1999 18:53:51 +0000 (18:53 +0000)]
Forgot the most important part of unsolicited notifications... exop!

24 years agoAdd support for unsolicited notifications.
Kurt Zeilenga [Wed, 7 Jul 1999 18:51:39 +0000 (18:51 +0000)]
Add support for unsolicited notifications.

24 years agoCopy LDBM bind "ACL_AUTH" and SASL framework to bdb2.
Kurt Zeilenga [Wed, 7 Jul 1999 18:47:51 +0000 (18:47 +0000)]
Copy LDBM bind "ACL_AUTH" and SASL framework to bdb2.

24 years agoFix CRITICIAL typo.
Kurt Zeilenga [Wed, 7 Jul 1999 18:32:41 +0000 (18:32 +0000)]
Fix CRITICIAL typo.

24 years agoAdd matching rule assertion structure to filter union.
Kurt Zeilenga [Wed, 7 Jul 1999 18:02:32 +0000 (18:02 +0000)]
Add matching rule assertion structure to filter union.

24 years agoAdd charray (from slapd) to -lldap/-lldap_r (not yet used)
Kurt Zeilenga [Wed, 7 Jul 1999 17:58:21 +0000 (17:58 +0000)]
Add charray (from slapd) to -lldap/-lldap_r (not yet used)
Add digest md5 codes to -lldap/-lldap_r (work in progress)

24 years agorequest value should be optional.
Kurt Zeilenga [Wed, 7 Jul 1999 17:52:06 +0000 (17:52 +0000)]
request value should be optional.

24 years agoMinor editorial change.
Kurt Zeilenga [Wed, 7 Jul 1999 17:51:39 +0000 (17:51 +0000)]
Minor editorial change.

24 years agoFix CRITICIAL typo
Kurt Zeilenga [Wed, 7 Jul 1999 17:49:15 +0000 (17:49 +0000)]
Fix CRITICIAL typo

25 years agoAdd controls.c to pick up get_ctrls().
Kurt Zeilenga [Mon, 5 Jul 1999 23:08:43 +0000 (23:08 +0000)]
Add controls.c to pick up get_ctrls().

25 years agoAdd controls.c: initial version of get_ctrls()
Kurt Zeilenga [Mon, 5 Jul 1999 23:04:35 +0000 (23:04 +0000)]
Add controls.c: initial version of get_ctrls()

25 years agoAdd get_ctrls()...
Kurt Zeilenga [Mon, 5 Jul 1999 23:01:17 +0000 (23:01 +0000)]
Add get_ctrls()...

25 years agounifdef -DSLAPD_ACLGROUPS -DSLAPD_ACLAUTH
Kurt Zeilenga [Mon, 5 Jul 1999 06:26:26 +0000 (06:26 +0000)]
unifdef -DSLAPD_ACLGROUPS -DSLAPD_ACLAUTH

25 years agoRegarding previous commit:
Kurt Zeilenga [Sun, 4 Jul 1999 19:53:00 +0000 (19:53 +0000)]
Regarding previous commit:
Fix broken ACL macros.
Fix o_dn/o_ndn == NULL vs "".

25 years agoo_dn/o_ndn must not be NULL. Set to "" upon receiving bind request.
Kurt Zeilenga [Sun, 4 Jul 1999 19:37:25 +0000 (19:37 +0000)]
o_dn/o_ndn must not be NULL.  Set to "" upon receiving bind request.

25 years agoHEADS UP: connections are forced to "anonymous" status upon receiving
Kurt Zeilenga [Sun, 4 Jul 1999 18:46:24 +0000 (18:46 +0000)]
HEADS UP:  connections are forced to "anonymous" status upon receiving
of a bind request and, upon failure, are left "anonymous."

Rework ACL code to hide access testing within macros to facilate additions
and eventual redesign.

Addition of #ifdef SLAPD_ACLAUTH to conditional include EXPERIMENTAL
"auth" access controls.  Adds ACL_AUTH "auth" access level (above none,
below "compare").  bind requires anonymous access at this level or above access
to "entry"/"userPassword"/"krbName".  This allows administrators to restrict
which entries can be bound to.  (This will likely become default behavior
after testing has completed).

25 years agoAbandon all operations upon receiving a BindRequest.
Kurt Zeilenga [Fri, 2 Jul 1999 21:42:53 +0000 (21:42 +0000)]
Abandon all operations upon receiving a BindRequest.

25 years agoMore bind changes to support SASL/DIGEST.
Kurt Zeilenga [Fri, 2 Jul 1999 19:48:07 +0000 (19:48 +0000)]
More bind changes to support SASL/DIGEST.
Added configuration support for "digest-realm <realm>" configure directive.
Added connection state and bind_in_progress fields to cn=monitor connection
attribute.

25 years agoRemoved numerous memory leaks detected by Mark Meredith.
Julio Sánchez Fernández [Fri, 2 Jul 1999 11:57:07 +0000 (11:57 +0000)]
Removed numerous memory leaks detected by Mark Meredith.
Make sure the token_val argument to get_token is always initialized
to something, either newly allocated memory or NULL.

25 years agoSend LDAP_SASL_BIND_IN_PROGRESS if o_bind_in_progress is true.
Kurt Zeilenga [Fri, 2 Jul 1999 00:46:28 +0000 (00:46 +0000)]
Send LDAP_SASL_BIND_IN_PROGRESS if o_bind_in_progress is true.

25 years agoAdd conn/op bind_in_progress flags such that operations can detect
Kurt Zeilenga [Fri, 2 Jul 1999 00:04:47 +0000 (00:04 +0000)]
Add conn/op bind_in_progress flags such that operations can detect
if multiple step SASL binds are in progress.

25 years agoFix LDAP_RANGE typo
Kurt Zeilenga [Thu, 1 Jul 1999 21:56:53 +0000 (21:56 +0000)]
Fix LDAP_RANGE typo

25 years agoAdd macros to support testing of error categories to ldap.h
Kurt Zeilenga [Thu, 1 Jul 1999 21:20:45 +0000 (21:20 +0000)]
Add macros to support testing of error categories to ldap.h
Modify ldap_result to assert returned error is not an one reserved
for API use.
Modify frontend LDAP operation routines to return an error code.
The returned value will be used to determine if an unsolicited notification
should be sent to the client.
Need to review returned error codes.  Namely some LDAP_PROTOCOL_ERROR
will like need to be changed (as they will cause unsolicited notifications).

25 years agos/LDAP_NOT_SUPPORTED/LDAP_UNWILLING_TO_PERFORM/
Kurt Zeilenga [Thu, 1 Jul 1999 04:43:48 +0000 (04:43 +0000)]
s/LDAP_NOT_SUPPORTED/LDAP_UNWILLING_TO_PERFORM/

25 years agoFairly complete slapd SASL bind parsing... and centralized cleanup code.
Kurt Zeilenga [Thu, 1 Jul 1999 04:42:01 +0000 (04:42 +0000)]
Fairly complete slapd SASL bind parsing... and centralized cleanup code.
Update error strings and cldap misuse of server error.

25 years agos/NULL/'\0'/ where appropriate
Kurt Zeilenga [Thu, 1 Jul 1999 04:39:42 +0000 (04:39 +0000)]
s/NULL/'\0'/ where appropriate

25 years agoswap LDAP_STRONG_AUTH_NOT_SUPPORTED & LDAP_AUTH_METHOD_NOT_SUPPORTED
Kurt Zeilenga [Thu, 1 Jul 1999 04:37:46 +0000 (04:37 +0000)]
swap LDAP_STRONG_AUTH_NOT_SUPPORTED & LDAP_AUTH_METHOD_NOT_SUPPORTED

25 years agoAdd LDAP_CLIENT_ERROR macro.
Kurt Zeilenga [Thu, 1 Jul 1999 04:25:16 +0000 (04:25 +0000)]
Add LDAP_CLIENT_ERROR macro.

25 years agoAdd LDAP_TAG_LDAPCRED macro.
Kurt Zeilenga [Thu, 1 Jul 1999 04:21:53 +0000 (04:21 +0000)]
Add LDAP_TAG_LDAPCRED macro.

25 years agoNO-OP SASL parsing... DIGEST-MD5 coming soon.
Kurt Zeilenga [Thu, 1 Jul 1999 03:18:00 +0000 (03:18 +0000)]
NO-OP SASL parsing... DIGEST-MD5 coming soon.

25 years agoRework BER decoding with lieu of LDAPv3 controls (coming soon).
Kurt Zeilenga [Wed, 30 Jun 1999 22:43:27 +0000 (22:43 +0000)]
Rework BER decoding with lieu of LDAPv3 controls (coming soon).
Add place holder for handling LDAPv3 extended operations (coming soon).

25 years agoInitial version of new mail500.
Julio Sánchez Fernández [Wed, 30 Jun 1999 13:54:32 +0000 (13:54 +0000)]
Initial version of new mail500.

25 years agoReimplement connection counters. Format of "connection" attribute
Kurt Zeilenga [Wed, 30 Jun 1999 02:50:40 +0000 (02:50 +0000)]
Reimplement connection counters.  Format of "connection" attribute
changed significantly.

25 years agoModify lutil_passwd to accept a third argument char** methods to
Kurt Zeilenga [Tue, 29 Jun 1999 22:24:53 +0000 (22:24 +0000)]
Modify lutil_passwd to accept a third argument char** methods to
specific which methods may be used.  This will facilate development
of a slapd config directive "passwordMethod ..." to specify which
methods should be allowed.

25 years agoAttempt to whip user password from command line.
Kurt Zeilenga [Tue, 29 Jun 1999 18:59:11 +0000 (18:59 +0000)]
Attempt to whip user password from command line.

25 years agoexpose oc_check_operational from schema.c
Kurt Zeilenga [Tue, 29 Jun 1999 04:52:55 +0000 (04:52 +0000)]
expose oc_check_operational from schema.c
Use everywhere.
Apply search ACLs to operational attributes.
Only provide operational attributes when explicitly requested.

25 years agoAdd sasl "mech" argument to backend bind routines.
Kurt Zeilenga [Tue, 29 Jun 1999 03:29:26 +0000 (03:29 +0000)]
Add sasl "mech" argument to backend bind routines.

25 years agoAdd framework for sasl and controls.
Kurt Zeilenga [Tue, 29 Jun 1999 03:17:22 +0000 (03:17 +0000)]
Add framework for sasl and controls.

25 years agoremove obsolete file.
Kurt Zeilenga [Tue, 29 Jun 1999 03:01:02 +0000 (03:01 +0000)]
remove obsolete file.

25 years agoAdd prototypes for strerror/strerror_r.
Kurt Zeilenga [Tue, 29 Jun 1999 02:58:14 +0000 (02:58 +0000)]
Add prototypes for strerror/strerror_r.

25 years agoldapmodify/add: Fix -P option
Kurt Zeilenga [Tue, 29 Jun 1999 01:17:58 +0000 (01:17 +0000)]
ldapmodify/add: Fix -P option
tests: use "ldapadd" instead of "ldapmodify -a"

25 years agoLog out to stderr, add LDAP_VERSION3 support to bind.c and modrdn.c
Kurt Zeilenga [Tue, 29 Jun 1999 01:02:48 +0000 (01:02 +0000)]
Log out to stderr, add LDAP_VERSION3 support to bind.c and modrdn.c

25 years agoRemove old U-Mich v3.0 and OLD_LDAP_* crud.
Kurt Zeilenga [Tue, 29 Jun 1999 00:03:34 +0000 (00:03 +0000)]
Remove old U-Mich v3.0 and OLD_LDAP_* crud.
Leave only LDAPv2+ and LDAPv3.

25 years agoAdd support for "env LDAP_PROTO=n make ldbm" where n is 2 or 3.
Kurt Zeilenga [Mon, 28 Jun 1999 23:46:16 +0000 (23:46 +0000)]
Add support for "env LDAP_PROTO=n make ldbm" where n is 2 or 3.
3 doesn't work YET.

25 years agoEXPERIMENTAL: Use sasl bind for simple bind.
Kurt Zeilenga [Mon, 28 Jun 1999 23:24:16 +0000 (23:24 +0000)]
EXPERIMENTAL: Use sasl bind for simple bind.
Add sasl.c to libldap_r.dsp.

25 years agoAllow ctrls argument to be NULL.
Kurt Zeilenga [Mon, 28 Jun 1999 22:47:20 +0000 (22:47 +0000)]
Allow ctrls argument to be NULL.

25 years agoEXPERIMENTAL ldap_parse_result()
Kurt Zeilenga [Mon, 28 Jun 1999 22:33:03 +0000 (22:33 +0000)]
EXPERIMENTAL ldap_parse_result()

25 years agoProvide build support for sasl.c.
Kurt Zeilenga [Mon, 28 Jun 1999 22:30:56 +0000 (22:30 +0000)]
Provide build support for sasl.c.

25 years agoValidate outvalue after session param.
Kurt Zeilenga [Mon, 28 Jun 1999 22:22:27 +0000 (22:22 +0000)]
Validate outvalue after session param.

25 years agoMinor cleanup of ldap_result().
Kurt Zeilenga [Mon, 28 Jun 1999 22:20:04 +0000 (22:20 +0000)]
Minor cleanup of ldap_result().

25 years agoFirst cut at SASL routines.
Kurt Zeilenga [Mon, 28 Jun 1999 22:19:21 +0000 (22:19 +0000)]
First cut at SASL routines.

25 years agoReturn LDAP_BAD_PARAM if res is not EXOP result.
Kurt Zeilenga [Mon, 28 Jun 1999 22:17:38 +0000 (22:17 +0000)]
Return LDAP_BAD_PARAM if res is not EXOP result.
Skip over referrals that might exist in EXOP result.

25 years agoFix up minor errors in prototypes to bring them in line with LDAP C API draft.
Kurt Zeilenga [Mon, 28 Jun 1999 22:13:56 +0000 (22:13 +0000)]
Fix up minor errors in prototypes to bring them in line with LDAP C API draft.

25 years agoSupport both vsnprintf and vsprintf
Kurt Zeilenga [Mon, 28 Jun 1999 22:04:31 +0000 (22:04 +0000)]
Support both vsnprintf and vsprintf