Mark Valence
83e2f38543
Changes for URI spport: New routines ldap_initialize and ldap_create; LDAPURLDesc replaces LDAPServer, LDAPURLDesc list used instead of ldo_defhost.
1999-12-07 18:52:05 +00:00
Mark Valence
5f86e47aa8
Changes for URI spport: New routines ldap_initialize and ldap_create; LDAPURLDesc replaces LDAPServer, LDAPURLDesc list used instead of ldo_defhost.
1999-12-07 18:42:25 +00:00
Mark Valence
15c83bef9d
Changed ldap_pvt_tls_init_def_ctx() to not fail if there is no cacertfile/dir specified. This lets LDAP_OPT_X_TLS_REQUIRE_CERT=0 work. If LDAP_OPT_X_TLS_REQUIRE_CERT=1, connection will fail as appropriate since there is no CA list.
1999-12-06 04:44:22 +00:00
Mark Valence
aa8c95a24a
Bug fix. == NULL changed to != NULL before freeing mem.
1999-12-05 22:22:37 +00:00
Mark Valence
7d98b59dfa
Removed unused local var.
1999-12-05 22:19:08 +00:00
Kurt Zeilenga
5d5588836f
Fix ldap_rename parameter order (ITS#387)
1999-12-04 17:19:11 +00:00
Howard Chu
ed05ed8025
Fix memory losses, ITS#379
1999-12-03 00:21:32 +00:00
Howard Chu
568e25a7a9
ldap_result was losing messages when multiple msgids were queued,
...
and results were being returned one-at-a-time. Ugh, this cost me two
days, loss of hair, sleep, etc.....!
1999-11-30 13:32:06 +00:00
Howard Chu
eaaea51b53
Fixes for NT dynamic linking.
1999-11-27 23:40:08 +00:00
Kurt Zeilenga
53ee6b01b9
Fix typo in ldap_compare_ext. Found by dspeck@novell.com.
1999-11-19 02:01:50 +00:00
Mark Valence
84be63096b
Minor bug fix in ldap_parse_extended_result.
1999-11-08 18:47:47 +00:00
Kurt Zeilenga
14f107e9ed
Changes to support NT single debug
1999-11-01 22:17:06 +00:00
Kurt Zeilenga
b7af076fee
Use centralized output directories.
...
Update single debug/release not to use service manager nor event manager.
Likely breaks MINGW32 port.
1999-11-01 21:25:22 +00:00
Kurt Zeilenga
4cc712db53
Add <ac/param.h> to wrap <sys/param.h>
1999-11-01 17:21:24 +00:00
Mark Valence
e20d6dfb8b
bug fixes for ldap_msgtype and ldap_msgid
1999-10-30 18:33:37 +00:00
Kurt Zeilenga
baa34f752b
Do not attempt to obtain sizeof(sin_addr.s_addr) or &sin_addr.s_addr
...
as s_addr member of in_addr may be a bitfield.
1999-10-30 04:58:06 +00:00
Howard Chu
e99eab787f
Use new macros from configure.in to accomodate NT/Mingw32 environment.
...
See README 1.27 log
1999-10-28 07:31:59 +00:00
Howard Chu
5438e045af
Fixed use of LDAP_F macro
...
See README 1.27 log
1999-10-28 07:29:25 +00:00
Howard Chu
74d93ac2f8
Fix Winsock-related warning and/or bugs.
...
See README 1.27 log
1999-10-28 07:17:08 +00:00
Mark Valence
a50cd075db
Changes to make TLS work on Windows
1999-10-27 22:40:05 +00:00
Kurt Zeilenga
a5ac8f57f8
Complain if setsockopt TCP_NODELAY fails
1999-10-19 19:07:24 +00:00
Kurt Zeilenga
7ef67830af
Minor adjustments based upon initial read of draft-ietf-ldapext-ldap-c-api-04.txt.
1999-10-19 18:57:38 +00:00
Kurt Zeilenga
60d00d4649
Force sd close. Suggested by rajk@home.com
1999-10-12 18:51:36 +00:00
Howard Chu
70f31490a8
Always return ld->ld_errno thru *errcodep if given to ldap_parse_result
1999-10-08 00:51:35 +00:00
Kurt Zeilenga
e7e4800d44
Remove lint.
1999-09-25 23:13:15 +00:00
Mark Valence
b221e4ad4b
Fixed "typos" in TLS code. TLS is ATTR_TLS, not ATTR_BOOL.
...
ldap_pvt_tls_config() was missing first param.
1999-09-25 03:57:25 +00:00
Mark Valence
9e7243015c
fixed LDAP_OPT_X_TLS case of ldap_pvt_tls_config().
...
ldap_pvt_tls_set_option() expects int* as third param.
1999-09-25 03:53:17 +00:00
Randy Kunkee
24c81ea599
Back out my change to ldap_sort_strcasecmp. My mistake from not reading
...
manpage carefully. One should pass strcasecmp to ldap_sort_entries, not
ldap_sort_strcasecmp. Ldap_sort_strcasecmp is for ldap_sort_values, NOT
ldap_sort_entries.
1999-09-24 18:16:41 +00:00
Randy Kunkee
b133aa528b
Change call to strcasecmp in ldap_sort_strcasecmp, which makes
...
ldap_sort_entries work with ldap_sort_strcasecmp as the comparison
function. Pointers were being dereferenced, and should only have been
casted.
1999-09-24 08:02:54 +00:00
Kurt Zeilenga
a68825e6df
Howard convinced me that this version is slightly better.
...
back out previous commit.
1999-09-24 00:16:16 +00:00
Kurt Zeilenga
a93ac070b5
I believe ldap_result2error should return the value returned
...
by ldap_parse_result unless that value is SUCCESS.
1999-09-23 22:57:05 +00:00
Howard Chu
91e24173d0
Update ld->ld_errno if LDAP_DECODING_ERROR...
1999-09-23 22:35:58 +00:00
Howard Chu
fa62e37667
Fix ldap_parse_result and ldap_result2error to return correct results.
1999-09-23 22:10:22 +00:00
Kurt Zeilenga
deafd4e274
experimental ITS#109 fix: make kbind open default connection if necessary.
...
implemented ldap_open_defconn() to centralize default connection
opening in open.c. Used by ldap_open, kbind, and send_initial_request().
1999-09-23 04:08:33 +00:00
Ben Collins
53da7b6cda
* build/top.mk: removed references to TMPROOT and added DESTDIR support
...
* all others: Added DESTDIR support
1999-09-22 21:51:30 +00:00
Kurt Zeilenga
86813f2b4b
Fix typo in last commit.
1999-09-17 22:11:08 +00:00
Kurt Zeilenga
c35d53d6e0
Apply y2k fix based upon Howard Young's (ITS#294) suggestion
1999-09-17 22:05:51 +00:00
Kurt Zeilenga
7b0753afb2
Add OpenLDAP RCSid to conf files
1999-09-09 04:43:30 +00:00
Kurt Zeilenga
e642a1b9cd
Add OpenLDAP RCSid
1999-09-08 22:52:19 +00:00
Kurt Zeilenga
403f4479bc
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
...
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
1999-09-08 19:06:24 +00:00
Hallvard Furuseth
f3880e5633
Remove lint
1999-09-06 04:42:20 +00:00
Hallvard Furuseth
4a5e2febed
Some constification & lint removal
1999-09-04 21:15:49 +00:00
Hallvard Furuseth
33cc7d4cf1
Introduce and use LDAP_GCCATTR() = __attributes__() in gcc
1999-09-03 21:06:33 +00:00
Hallvard Furuseth
c09a2c63e7
Cleanup:
...
Fix printf formats, remove unused variables, add missing prototypes in slapd,
add static/const, add some return types or change to void return type.
1999-09-02 08:05:17 +00:00
Kurt Zeilenga
f5c2ba7c3e
Fix last commit. Should not have deleted assignment to p away.
1999-09-01 05:28:29 +00:00
Hallvard Furuseth
6632e41ee8
Export ldap_pvt_<find_wildcard,filter_value_unescape>() from libldap.
...
Use them in slapd/str2filter.c.
1999-08-31 00:44:49 +00:00
Kurt Zeilenga
878d489ea9
Do not overwrite charray argument if charray_add realloc fails.
...
Caller is required to call ldap_charray_free as needed.
1999-08-30 01:24:33 +00:00
Hallvard Furuseth
66704f67b9
Catch \ at end of filter
1999-08-28 22:15:16 +00:00
Hallvard Furuseth
4d94092995
Remove 'cast away const'
1999-08-28 22:14:21 +00:00
Hallvard Furuseth
635a666359
Fix typo in filter_value_unescape()
1999-08-28 22:06:52 +00:00
Kurt Zeilenga
cc3615314b
Defer addition until we have some basic UTF-8 routines
1999-08-25 21:27:39 +00:00
Kurt Zeilenga
af17a9f7ad
Add dn.c
1999-08-25 06:52:28 +00:00
Kurt Zeilenga
5c63fd55b5
Implement ldap_dn_normalize and friends. Should be used by clients
...
to validate input dn's BEFORE sending dn's to server.
Also fixed getfilter to use REG_EXTENDED|REG_NOSUB. (and fixed one
case where REG_BASIC was still used).
s/strdup/LDAP_STRDUP/
Added ldap_pvt_str2lower/upper
1999-08-25 06:44:08 +00:00
Gary Williams
f8a3a664fc
LDAP_P is only for prototypes, remove from function def
1999-08-24 18:42:11 +00:00
Kurt Zeilenga
2d2719123d
Rename filter entry's strcpy_special() to strcpy_regex() to better
...
reflect its purpose. Modify switch to support REG_EXTENDED expressions.
Use REG_EXTENDED instead of REG_BASIC everywhere.
Modify <ac/regex.h> to support <gnuregex.h> for testing purposes.
Requires: env CPPFLAGS="-DHAVE_GNUREGEX_H=1" LIBS=-lgnuregex ./configure
1999-08-24 01:13:30 +00:00
Kurt Zeilenga
b8a3a153bb
Axe <varargs.h> support. Assume STDC C translator is available
...
to build OpenLDAP.
1999-08-24 00:27:53 +00:00
Hallvard Furuseth
2ae08eecad
Fix printf formats: print msgtype as %lu, remove spurious sval arg in apitest
1999-08-17 21:14:03 +00:00
Hallvard Furuseth
fa4c4448c4
Add const, to fix "cast away from const" warnings
1999-08-17 21:09:26 +00:00
Hallvard Furuseth
6147119dc8
Add ldap_*2name() in <include,libldap>/schema, use them in slapd/schema
1999-08-16 02:59:11 +00:00
Hallvard Furuseth
e5e91d94aa
Add missing newline and EOF
1999-08-16 02:40:00 +00:00
Kurt Zeilenga
83abd65d49
Add extensible filter support to -lldap. Need to implement server
...
side (which most is dependent upon having matching rule support).
1999-08-07 18:54:49 +00:00
Kurt Zeilenga
0fe5da0f9a
Fix filter escapes. ITS#247
1999-08-07 04:48:16 +00:00
Kurt Zeilenga
e0691dfbc0
create SASL_LIBS to hold -lsasl
...
create SECURITY_LIBS (top.mk) to order $SASL_LIBS $KRB_LIBS $TLS_LIBS
use $SECURITY_LIBS in Makefile.in's instead of $KRB_LIBS $TLS_LIBS
1999-08-05 02:25:19 +00:00
Kurt Zeilenga
3820b35870
Use -llber set_nonblock implementation.
...
Use ldap_int_tblsize instead of s+1 in select.
Need to eliminate all to read(2).
1999-08-04 18:32:38 +00:00
Kurt Zeilenga
b3ce9d497c
non-blocking connect needs special handling under Winsock.
1999-08-04 00:40:03 +00:00
Kurt Zeilenga
2b79ff2c48
Initial inet_aton() detection.
1999-08-03 20:02:44 +00:00
Kurt Zeilenga
1b41dfbce0
LDAP_OPT_NETWORK_TIMEOUT feature (ITS#239) from Lars Uffmann.
...
Needs a bit more work.
- global net/api timeouts are not inherited on session creation.
- need configure check for inet_aton() (coming soon)
- ioctl/fcntl portability issues (should share implementation
with lber routines)
1999-08-03 19:27:22 +00:00
Kurt Zeilenga
df8f7cbb9b
s/exit(1)/exit(EXIT_FAILURE)/
...
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +00:00
Kurt Zeilenga
97683ac5fd
ldap_perror: don't print matched DN or error text if length is zero.
1999-08-02 20:03:50 +00:00
Kurt Zeilenga
c73f17fd6e
Add -dn as a synonym for -dnt.
1999-08-02 17:19:05 +00:00
Kurt Zeilenga
236be7f5a7
Fix --enable-dns compilation problems.
1999-08-02 07:41:29 +00:00
Hallvard Furuseth
8a9b9292de
Change unsigned long cast of offset to size_t in ldap_build_filter()
1999-08-02 05:51:04 +00:00
Hallvard Furuseth
576956ceb0
Finish s/lber_bprint/ber_bprint/ renaming
1999-08-02 01:20:48 +00:00
Hallvard Furuseth
67ff28bf52
Include <ac/stdlib.h> instead of <stdlib.h>
1999-08-01 22:42:34 +00:00
Hallvard Furuseth
894b74d730
Use ber_set_option() instead of setting lber_debug
1999-08-01 20:22:26 +00:00
Kurt Zeilenga
b217a4fc51
Remove lint, remove YEAR_PEDANTIC macro, update comment.
1999-07-27 00:36:33 +00:00
Kurt Zeilenga
de67e6d327
Fix leak of default filter.
1999-07-23 22:02:57 +00:00
Kurt Zeilenga
eb4c486b90
Update RFC comments
1999-07-23 21:56:21 +00:00
Kurt Zeilenga
5fea91c3ec
Accept ldap://foo:port (ie: no trailing '/')
1999-07-23 21:54:18 +00:00
Julio Sánchez Fernández
9cdd2c2037
ldap_url_parse was fundamentally broken. It would quit before
...
time, skipping the filter, for instance. Also, we were parsing
twice the scope and the filter. I think this change is right,
but could use more eyeballs...
1999-07-23 20:36:11 +00:00
Randy Kunkee
6bef298437
Remove extra code (non-functional change, just produces warning on OSF4.0e).
1999-07-23 00:56:56 +00:00
Kurt Zeilenga
d147e609d2
Implement TCP_NODELAY on both client and server side.
1999-07-22 21:49:35 +00:00
Kurt Zeilenga
42304b7ada
Fix control parsing and controls free routine.
1999-07-22 04:47:58 +00:00
Kurt Zeilenga
17eb202732
Unhex url extensions.
1999-07-21 20:44:40 +00:00
Julio Sánchez Fernández
5f53b747a5
Partial support for a new option to help debug TLS connections,
...
not yet user-settable. Defaults "on" for now.
Partial support for temporary RSA keys, skeleton for DH.
Add call to X509V3_add_standard_extensions() on init, mod_ssl
does this too, but I am unsure about what it does.
Move management of client CA certificates to a new routine, since
it is going to get more complex than the current code.
1999-07-21 19:18:08 +00:00
Julio Sánchez Fernández
e892ebfc5e
Some content for tls_verify_cb where parts of our policy should
...
be implemented.
The rest of this change mostly contains random ideas taken from
mod_ssl. The purpose is to get the repository in sync with the
code I am testing. I still can't manage to make Netscape send
its certificate to slapd, though it works with Apache/mod_ssl
(with the same certificates). Trying s_client against both
does not shed any light. If anyone manages to make it work,
please let us know.
1999-07-20 18:31:53 +00:00
Julio Sánchez Fernández
463a7ec91d
We were freeing lud_dn when when lud_host was meant, leading to
...
arena corruption.
1999-07-20 11:11:57 +00:00
Kurt Zeilenga
543aafd991
Implement RFC2255 URL format.
1999-07-19 19:32:47 +00:00
Kurt Zeilenga
d2487f9219
s/time(0)/time(NULL)/
1999-07-19 19:28:21 +00:00
Hallvard Furuseth
cde93a6e06
make ldap.ld_lberoptions unsigned, like berelement.ber_options
1999-07-18 01:20:45 +00:00
Hallvard Furuseth
5ab862aee7
Pass socklen_t* instead of int* to getsockopt, accept, getpeername, recvfrom
1999-07-16 18:43:10 +00:00
Julio Sánchez Fernández
85acec922f
We were not remembering the allocated SSL thing in the Sockbuf.
...
Set flags without relying on errno (this change may be gratuitous
or wrong).
1999-07-16 15:46:15 +00:00
Julio Sánchez Fernández
7a64fcf7b3
Set ciphers from slapd.conf.
...
More error checking and reporting.
Slowly getting there, SSL_accept succeeds now, but connection breaks
immediately after that (my glue logic with slapd is broken).
1999-07-15 21:03:47 +00:00
Kurt Zeilenga
c7425738bb
Add missing arg to Debug macro call
1999-07-15 20:00:05 +00:00
Julio Sánchez Fernández
41de66a0b2
New routine tls_report_error to analyze errors from OpenSSL
...
Change temporarily the default protocol from TLSv1 to SSLv3 with
fallback to SSLv2. This seems necessary for slapd to accept connections
from Netscape.
Try to set the cipher list in the default context. Does not semm to
work yet.
1999-07-15 14:59:09 +00:00
Kurt Zeilenga
cbb5553b03
Newer versions of OpenSSL install headers in $prefix/include/openssl...
1999-07-14 00:03:52 +00:00
Julio Sánchez Fernández
710f697fb7
Get and set TLS options
1999-07-13 19:34:07 +00:00
Julio Sánchez Fernández
70fe83b1d2
First version with TLS. Untested.
1999-07-13 19:32:51 +00:00
Julio Sánchez Fernández
43fba8fcb1
First version with TLS. Untested.
1999-07-13 19:30:41 +00:00
Julio Sánchez Fernández
97a681910e
Options for TLS
1999-07-13 19:29:19 +00:00
Julio Sánchez Fernández
739466b85d
Add tls.c
...
Add use of TLS_LIBS so that test tools compile
1999-07-13 19:27:33 +00:00
Julio Sánchez Fernández
8f4f94d415
First version of TLS glue for SSLeay/OpenSSL originally written by
...
Bart Hartgers. Untested.
1999-07-13 19:11:53 +00:00
Hallvard Furuseth
2c27a6abcf
Eliminate htonl(unsigned_long_arg), which is wrong on 64-bit OSF1/alpha
1999-07-13 09:41:25 +00:00
Hallvard Furuseth
5f880ae022
Fix LDAP_CONST->const in explode_name(), it failed when LDAP_CONST was empty.
1999-07-13 06:48:35 +00:00
Hallvard Furuseth
fb3b8e5ef1
Fix LDAP_CONNECTIONLESS code rot
1999-07-13 06:39:55 +00:00
Hallvard Furuseth
c4a13efbea
Fix NULLxxx -> NULL
1999-07-13 06:37:19 +00:00
Hallvard Furuseth
6eef6bea01
ldap-int.h
1999-07-13 06:27:47 +00:00
Hallvard Furuseth
354702b94e
ldap-int.h
1999-07-13 06:21:14 +00:00
Hallvard Furuseth
96e8fafb51
constify use of invalue in <ber/ldap>_set_option()
1999-07-13 05:17:50 +00:00
Hallvard Furuseth
2cc187ffbf
constify ldap_int_put_controls, ldap_control_dup, ldap_controls_dup
1999-07-13 05:13:33 +00:00
Hallvard Furuseth
95b64907d3
Fix read_next_searchobj prototype: long*blenp -> ber_len_t*blenp
1999-07-13 05:04:06 +00:00
Hallvard Furuseth
55fa595f56
Add missing newline at EOF
1999-07-13 04:11:49 +00:00
Kurt Zeilenga
7574b70c6b
Add charray (from slapd) to -lldap/-lldap_r (not yet used)
...
Add digest md5 codes to -lldap/-lldap_r (work in progress)
1999-07-07 17:58:21 +00:00
Kurt Zeilenga
4831bb0a75
request value should be optional.
1999-07-07 17:52:06 +00:00
Kurt Zeilenga
a67b08d515
Minor editorial change.
1999-07-07 17:51:39 +00:00
Kurt Zeilenga
522cd72f43
Fix CRITICIAL typo
1999-07-07 17:49:15 +00:00
Julio Sánchez Fernández
c8e37af0ca
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.
1999-07-02 11:57:07 +00:00
Kurt Zeilenga
ddd0559284
Fairly complete slapd SASL bind parsing... and centralized cleanup code.
...
Update error strings and cldap misuse of server error.
1999-07-01 04:42:01 +00:00
Kurt Zeilenga
f4ff5a9299
EXPERIMENTAL: Use sasl bind for simple bind.
...
Add sasl.c to libldap_r.dsp.
1999-06-28 23:24:16 +00:00
Kurt Zeilenga
64d5725662
Allow ctrls argument to be NULL.
1999-06-28 22:47:20 +00:00
Kurt Zeilenga
5045f15b23
EXPERIMENTAL ldap_parse_result()
1999-06-28 22:33:03 +00:00
Kurt Zeilenga
8482d2b488
Provide build support for sasl.c.
1999-06-28 22:30:56 +00:00
Kurt Zeilenga
1fd3c797a8
Validate outvalue after session param.
1999-06-28 22:22:27 +00:00
Kurt Zeilenga
37fceeb662
Minor cleanup of ldap_result().
1999-06-28 22:20:04 +00:00
Kurt Zeilenga
80e5e3fead
First cut at SASL routines.
1999-06-28 22:19:21 +00:00
Kurt Zeilenga
613bf0b077
Return LDAP_BAD_PARAM if res is not EXOP result.
...
Skip over referrals that might exist in EXOP result.
1999-06-28 22:17:38 +00:00
Kurt Zeilenga
24c39b31b6
Add LDAP_VALID and other asserts.
1999-06-21 22:38:00 +00:00
Julio Sánchez Fernández
fd15804f63
Tokenization is not really well done. This is a temporary fix for parsing
...
answers from Innosoft servers, but expect better tokenization in the
future.
1999-06-21 10:08:03 +00:00
Kurt Zeilenga
669b8f4047
ber_int_t, ber_tag_t, ber_socket_t, ber_len_t
...
added lber_types.h.nt, lber_types.h.in
removal of NULLxxx internal macros (in favor of NULL).
ch_free added to slapd,slurpd/ch_malloc.c
#define free ch_free (should be removed after s/free/ch_free/g) in proto-slap.h
ch_malloc and friends use ber_memalloc and friends
1999-06-18 23:53:05 +00:00
Kurt Zeilenga
bbc568b21f
ldapconfig.h vs ldap_config.h changes
...
backout previous nt changes (actually, just don't include nt_svc.c)
1999-06-17 04:43:24 +00:00
Kurt Zeilenga
21e081dc5b
Separate autoconf generated values from "defaults".
...
ldap_defaults.h incorporates non-generated ldapconfig.h values.
ldap_config.h.in is new template for autoconf generated defaults
(namely directories and paths)
ldap_config.h.nt, NT template (must be manually copied)
s/<ldapconfig.h>/<ldap_defaults.h>/
s/DIRSEP/LDAP_DIRSEP/ & s/DEFAULT_/LDAP_/
1999-06-17 03:54:25 +00:00
Kurt Zeilenga
fdbb2b80bf
Remove misplaced LDAP_P() in declaration of ldap_int_get_controls.
1999-06-16 17:11:14 +00:00
Julio Sánchez Fernández
64d018c357
Make sure print_numericoid always returns with a value.
...
Remove some lint.
1999-06-16 12:31:18 +00:00
Julio Sánchez Fernández
2abcbd5a4d
Matching rules.
...
Replace be_liberal by allow_quoted in low level parsers since that
reflects better its semantics.
Add allow_quoted to parse_numericoid.
1999-06-14 13:40:52 +00:00
Julio Sánchez Fernández
3e6fe96a96
Constification.
1999-06-14 11:57:43 +00:00
Julio Sánchez Fernández
766a5832b1
Netscape DS quotes the SYNTAX values, we propagate the be_liberal
...
setting to parse_noidlen so that it can grok that.
Propagate be_liberal parse_oids so that it only accepts a qdstring when
necessary (i.e. in SUP) to cater for another Netscapism.
1999-06-14 11:31:42 +00:00
Julio Sánchez Fernández
8d2b71e6c1
ldap_*_free routines are new and replace the old static routines, all
...
references changed.
Parsers are now more liberal in that they can accept missing OIDs or
OIDs that are in the wrong syntax.
1999-06-13 23:34:41 +00:00
Kurt Zeilenga
cb68aab469
s/ldap_open/ldap_init/ calls... ldap_open is deprecated.
1999-06-13 21:49:35 +00:00
Kurt Zeilenga
2cb228a9ce
Clean up build_result_ber error handling.
1999-06-11 18:48:34 +00:00
Kurt Zeilenga
fde9d8702e
Fix build_result_ber to construct a new ber and to set ld_errno appropriately.
1999-06-10 18:00:04 +00:00
Julio Sánchez Fernández
92839e817f
Fixed inconsistent management of white space that was producing parsing
...
problems in slapd.
1999-06-09 11:51:31 +00:00
Julio Sánchez Fernández
9291bf6f44
Added whitespace in output in a few places.
...
Minor cosmetic changes.
Fixed parsing of noidlen.
1999-06-08 17:40:27 +00:00
Kurt Zeilenga
f257ee858c
Use LDAP_VERSION2 instead of LDAP_VERSION.
1999-06-07 18:45:52 +00:00
Kurt Zeilenga
8c772985c7
s/LDAP_OPT_MATCHED_STRING/LDAP_OPT_MATCHED_DN/
...
Added place holder for LDAP_FILTER_EXTENDED code.
Added assert() here and there and removed lint.
Removed version promotion code (version must be manually set).
Added messages.c to MSVC project.
1999-06-05 20:18:32 +00:00
Kurt Zeilenga
48c8aa035d
EXPERIMENTAL ldap_extended_operation() and ldap_parse_extended_result()
1999-06-04 00:34:04 +00:00
Kurt Zeilenga
a53823a613
Update comments to reflect RFC2251 specs.
1999-06-03 19:22:33 +00:00
Kurt Zeilenga
9fef42d3f8
Enable browsing info in MSVC debugging configurations.
...
Toy with dllimport/dllexport stuff (think I'll leave the real dll work to
somebody else).
Added ldap_strdup() wrapper of ber_strdup().
1999-06-03 18:24:22 +00:00
Kurt Zeilenga
21c70857f1
s/<stdlib.h>/<ac/stdlib.h>/
1999-06-03 00:37:44 +00:00
Kurt Zeilenga
3046c0449e
Fix up s/NULL.*/NULL/ errors
1999-06-02 23:21:06 +00:00
Kurt Zeilenga
1f52f6e43e
Add ber_strdup(), remove ldap_int_strdup(), add LDAP_STRDUP macro
...
and ripple change through -lldap.
1999-06-02 22:28:22 +00:00