Kurt Zeilenga
2549654bb5
Add comment about leaked on exit values.... we likely should
...
implement an at_exit() handler.
2000-02-02 21:26:36 +00:00
Luke Howard
30522f7437
Changed (!strcmp(...)==0) to (strcmp(...)==0); obviously
...
wrong. Fix from adamson@andrew.cmu.edu .
2000-02-01 23:34:16 +00:00
Kurt Zeilenga
0919e503cd
Use LDAP_CONST, not const, in public function declarations.
2000-02-01 01:11:26 +00:00
Kurt Zeilenga
02a604db21
Really fix VPATH support...
2000-01-28 21:52:28 +00:00
Kurt Zeilenga
11c92c8fc8
Last change actually broke VPATH support
2000-01-28 21:38:18 +00:00
Kurt Zeilenga
106ec28414
Fix VPATH support.
2000-01-28 21:32:42 +00:00
Kurt Zeilenga
b9b04e12f0
Remove double listing of libldif which breaks 'make veryclean'
2000-01-28 21:18:55 +00:00
Kurt Zeilenga
10d904735b
Add NT build support for Unicode library.
2000-01-27 01:04:36 +00:00
Kurt Zeilenga
4eb13130a9
typedef ber_int_t ldap_ucs4_t
2000-01-27 01:04:17 +00:00
Kurt Zeilenga
597ddd3a80
unifdef -D__STDC__
2000-01-27 01:00:02 +00:00
Kurt Zeilenga
dd1e4fc53d
Add -llunicode to build environment
2000-01-26 00:00:45 +00:00
Kurt Zeilenga
107b22a73c
Fix typo
2000-01-25 23:58:44 +00:00
Kurt Zeilenga
92705f0061
Remove Java files from HEAD.
2000-01-25 22:47:53 +00:00
Kurt Zeilenga
fe98d9fa7b
Initial revision
2000-01-25 22:38:34 +00:00
Kurt Zeilenga
f3cb97e973
Add utf-8 to MSVC projects and remove lint.
2000-01-25 20:22:17 +00:00
Kurt Zeilenga
ed9969b1c4
Make ldap_utf8_bytes() act like strlen() not sizeof()
2000-01-23 23:33:01 +00:00
Kurt Zeilenga
42cc5e5333
Fix bugs in UTF-8 code. Apply to getdn and charray.
2000-01-23 23:07:24 +00:00
Kurt Zeilenga
61b509d881
Add some robustness to UTF-8 routines.
2000-01-23 18:43:30 +00:00
Kurt Zeilenga
16c903909c
Add comments to UTF-8 declarations.
...
Add US ASCII optimizations macros.
#ifdef out unused routines
Ready to hack getdn.c and others to support UTF-8
2000-01-23 05:35:38 +00:00
Kurt Zeilenga
4e0964e8b4
Add comments.
2000-01-23 02:39:55 +00:00
Kurt Zeilenga
22ba55371e
Move ldap_utf8_*() declarations from ldap-int.h to ldap_pvt.h.
...
We may likely want to expose the routines at a later date (ldap_utf8.h?).
2000-01-22 21:09:24 +00:00
Kurt Zeilenga
aa934d0666
We'll need ldap_utf8_strpbrk() as well.
2000-01-22 21:03:21 +00:00
Kurt Zeilenga
4e3c4d8c6d
Add initial (untested) implementations of ldap_utf8_strtok,
...
ldap_utf8_strcspn, ldap_utf8_strtok.
2000-01-22 20:55:43 +00:00
Kurt Zeilenga
3eca68a5d2
Add additional UTF-8 routines
2000-01-22 18:48:37 +00:00
Kurt Zeilenga
14210f5e34
Fix charlen and add getc
2000-01-22 03:40:54 +00:00
Kurt Zeilenga
23afcd5c6e
Initial UTF-8 routines.
2000-01-22 01:55:34 +00:00
Kurt Zeilenga
5967cc5658
Even more checks around use of crypt(3).
2000-01-17 17:09:33 +00:00
Kurt Zeilenga
c17b89f431
Add additional crypt() sanity checks.
2000-01-17 16:53:15 +00:00
Luke Howard
6a06fb7fba
In ldap_pvt_sasl_init() treat subsequent invocations as no-ops, not error.
2000-01-16 01:29:15 +00:00
Howard Chu
80f85e972d
In ldap_pvt_tls_init() treat subsequent invocations as no-ops, not error.
...
In tls_verify_cb() use CRYPTO_free instead of free (necessary on NT due to
use of different heaps).
Changed update_flags to use SSL_get_error() to check success/status. This
fixes the problem of sb->sb_trans_needs_read getting set on dead sockets.
2000-01-15 19:03:16 +00:00
Kurt Zeilenga
9ac0eab126
remove UNSPECIFIED_TLS... HOST implies ldap://
2000-01-14 01:08:15 +00:00
Kurt Zeilenga
10a6e51521
All close and redirect stdin, stdout, stderr.
2000-01-11 08:04:59 +00:00
Kurt Zeilenga
1fb42bf957
Revamp detach code to ensure stdin, stdout, stderr get closed.
2000-01-11 02:20:01 +00:00
Kurt Zeilenga
34fe70cc71
Validate krb5_init_context
2000-01-10 21:37:04 +00:00
Kurt Zeilenga
38f0b890ab
Borrowed a bit to literally... s/pop/ldap/ s/popper/slapd/
2000-01-09 00:20:00 +00:00
Kurt Zeilenga
e988e175a6
Minor fixes.
2000-01-08 18:51:27 +00:00
Kurt Zeilenga
6437785a82
Initial implementation of Kerberos password verification for
...
simple bind via:
{KERBEROS}principal
Code is disabled by default (for security reasons). Use
--enable-kpasswd to enable. Behind SLAPD_KPASSWD.
Reworked Kerberos detection and split out KBIND as independent
feature (--disable-kbind) (LDAP_API_FEATURE_X_OPENLDAP_V2_KBIND).
KBIND depends upon detection of KRB4 (or KRB425) support. Detection,
building with eBones (as distributed with FreeBSD 3.4) okay, but
wasn't able to test as I don't have a K4 KDC handy.
--with-kerberos has a number of detection options... most likely
don't work properly.
2000-01-08 18:42:11 +00:00
Luke Howard
5a0bbd7eed
Imported <ldap.h> in <ldap_pvt.h> so ldap_pvt_sasl_bind() has necessary
...
types. Changed const sasl_callback_t * to LDAP_CONST sasl_callback_t *.
2000-01-05 12:56:17 +00:00
Luke Howard
a466a64318
Added support for connecting to LDAP servers located using DNS
...
SRV records. Added lock around resolver library which is shared
by the DNS SRV code and the getdxbyname() code.
2000-01-03 02:33:22 +00:00
Luke Howard
57b62dc7d4
Added ldap_pvt_sasl_bind() prototype to ldap_pvt.h. This
...
required importing sasl.h into ldap_pvt.h, thus that import
was removed from ldap-int.h.
2000-01-03 00:15:30 +00:00
Luke Howard
736b8d0a24
Braced ldap_connect_to_path() in #ifdef LDAP_PF_LOCAL so as to compile
...
without PF_LOCAL support.
2000-01-02 01:56:01 +00:00
Luke Howard
9b4e3b2234
Merged in preliminary support for Cyrus SASL library;
...
support for DCE slash-delimited, left-to-right DNs;
support for a domain socket transport (enable with
--enable-ldapi); and extensions to URL parsing to
support the latter transport.
2000-01-02 01:21:25 +00:00
Howard Chu
d92d403a76
NT requires $(SECURITY_LIBS) at link time.
1999-12-26 00:11:14 +00:00
Kurt Zeilenga
4c7739e6e5
ITS#408: add missing LDAP_END_DECL
1999-12-22 00:42:05 +00:00
Kurt Zeilenga
f3a650b8af
Add comment about removing HANDSOFF may case alignment problems
1999-12-18 19:51:49 +00:00
Kurt Zeilenga
37d28e7d0d
Add ber_bvstr and ber_bvstrdup string to berval allocators.
1999-12-17 05:37:33 +00:00
Kurt Zeilenga
ab7c490960
Add BINDDN user-only directive to .ldaprc
...
Used only for simple bind when dn == NULL and password != NULL.
1999-12-17 03:27:16 +00:00
Kurt Zeilenga
30411f8402
Add slappasswd to generate rootpw.
1999-12-16 02:18:50 +00:00
Kurt Zeilenga
30ffb54064
ITS#399: timelimit/timeout handling
...
ITS#400: LDAP_TIMEOUT handling
1999-12-16 00:41:18 +00:00
Kurt Zeilenga
096dcdc580
Add support for useronly configuration attributes.
1999-12-14 02:26:37 +00:00