Kurt Zeilenga
9f0d190739
Add ldap_pvt_gai_strerror().
...
Calls to gai_strerror() should be replaced with calls AC_GAI_STRERROR().
2000-10-18 17:25:30 +00:00
Kurt Zeilenga
ff21d9d6b9
Define INET{,6}_ADDRSTRLEN if needed
2000-09-25 01:24:37 +00:00
Kurt Zeilenga
390fd72398
Remove redefine on MSC
2000-09-04 02:16:40 +00:00
Kurt Zeilenga
5d9f41e8dc
Use shutdown(2) prior to stream close(2).
2000-08-28 22:24:01 +00:00
Kurt Zeilenga
db060d8753
Add AC_MEMCPY and AC_FAST_MEMCPY macros to eventually replace
...
SAFEMEMCPY. AC_FAST_MEMCPY has a len==1 optimization for use
in -llber.
2000-07-27 20:10:44 +00:00
Kurt Zeilenga
a720b9a48f
Add additional comment explaining #error
2000-07-27 18:42:28 +00:00
Kurt Zeilenga
e82077b18b
Fix typo
2000-07-24 23:59:25 +00:00
Kurt Zeilenga
cd5aed0bbe
Use sigaction to set SA_RESTART (if appropriate).
...
Portability of this code needs to tested.
2000-07-22 00:37:51 +00:00
Kurt Zeilenga
1f1993989a
s/enable-unix/enable-local/
...
s/LDAP_PF_UNIX/LDAP_PF_LOCAL/
s/AF_UNIX/AF_LOCAL/
s/PF_UNIX/PF_LOCAL/
2000-07-09 21:49:36 +00:00
Kurt Zeilenga
4f4f59f333
Rework <ac/errno.h> to provide a STRERROR. Prefers errlist over
...
strerror() as strerror() may not be thread safe. Likely should
be used by SLAPD.
2000-07-06 01:24:52 +00:00
Kurt Zeilenga
2a370cc4d1
Clarify LinuxThreads USR1/USR2 issue
2000-06-24 00:46:07 +00:00
Kurt Zeilenga
4e3c32d816
Introduce LDAP_V() and friends
2000-06-20 03:53:12 +00:00
Mark Valence
463cc5479f
Update some prototype macros to build on NT.
2000-06-19 22:40:42 +00:00
Kurt Zeilenga
9ef1a740c2
Round one of LDAP_F() macro changes. In this round we rename
...
macros into our namespace and limit use to headers. A subsequent
round will add macros to separately handle forward declarations
of variables from declaration of function prototypes. The last
round will add additional macros for declaring actual variables and
functions.
2000-06-18 19:48:07 +00:00
Kurt Zeilenga
6ad1c45bd3
Use LDAP_VFREE and friends. Other misc code cleanup.
2000-06-07 05:17:29 +00:00
Kurt Zeilenga
8045b54124
Use getpassphrase() instead of getpass() if available.
2000-05-19 18:41:26 +00:00
Kurt Zeilenga
0bb431d3b3
Y2k copyright update
2000-05-13 02:25:54 +00:00
Howard Chu
3dc83998c0
Moved nt_err from liblutil to liblber, renamed WSAGetErrorString to
...
ber_pvt_wsa_err2string.
2000-05-12 21:16:15 +00:00
Howard Chu
9842b8fa87
Remove MINGW32 declarations of snprintf and vsnprintf, the new mingw32
...
distributions define them now.
2000-05-10 16:12:38 +00:00
Howard Chu
8a3100e636
Remove declaration of strerror_r, it clashes on AIX and we never use it
...
anyway.
2000-05-10 16:11:38 +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
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
Kurt Zeilenga
a3d0b9d667
Fix 2 vs 4 typo
1999-12-18 19:49:39 +00:00
Kurt Zeilenga
c061aaa81c
Temporary fix for BEOS.
...
tcp_read/write should not be used.
1999-12-17 21:31:44 +00:00
Howard Chu
eaaea51b53
Fixes for NT dynamic linking.
1999-11-27 23:40:08 +00:00
Kurt Zeilenga
8b99e6cdbd
Remove LBER_{TAG,INT,LEN}_{NTOH,HTON} macros. Rewrite code to
...
manual push bytes about. Allows ber_*_t to be any 32-bit or
larger type. Reworked AC_{HTON,NTOH}{L,S} macros to care only
about 32-bit (netlong) and 16-bit (netshort) reordering as
needed for BSD socket interface.
1999-11-26 23:32:18 +00:00
Kurt Zeilenga
357101793b
Use lber types instead of uint32 for md5. sha1 still requires
...
an integer type of exactly 32 bits.
1999-11-17 02:04:06 +00:00
Kurt Zeilenga
62e49d5c9d
Use LDAP_F for libc routines
1999-11-08 15:33:01 +00:00
Kurt Zeilenga
5b5db4def6
Additional mods to fix NT single threaded support.
1999-11-01 22:00:18 +00:00
Kurt Zeilenga
4cc712db53
Add <ac/param.h> to wrap <sys/param.h>
1999-11-01 17:21:24 +00:00
Howard Chu
17e1877a12
Fix broken MSVC builds. The previous round of Mingw32 patches changed some
...
ifdefs to depend on _WINNT, which is bogus. Added _WIN32 back on these ifs,
and fixed some other include problems.
1999-10-31 02:26:41 +00:00
Kurt Zeilenga
771a52499f
Add support for sizeof(short) == 4 when sizeof(int) > 4.
1999-10-30 02:53:24 +00:00
Howard Chu
0991e22550
Fixed the LDAP_F macro.
...
See README 1.27 log
1999-10-28 07:28:53 +00:00
Howard Chu
ff2908ffb8
For Mingw32, added declarations for snprintf and vsnprintf
1999-10-28 07:27:28 +00:00
Howard Chu
21a51c0628
Added LDAP_SIGUSR macros for NT
1999-10-28 07:27:00 +00:00
Kurt Zeilenga
a284b641b7
Move crypt(3) prototypes from <ac/unistd.h> to <ac/crypt.h> (new) to
...
avoid clashes with Kth Kerberos.
1999-10-01 04:48:30 +00:00
Hallvard Furuseth
33cc7d4cf1
Introduce and use LDAP_GCCATTR() = __attributes__() in gcc
1999-09-03 21:06:33 +00:00
Kurt Zeilenga
1459ab3495
Add comment concerning with it's acceptable to use pipe(2)
1999-08-31 17:24:32 +00:00
Kurt Zeilenga
0307dd3b38
Use pipe(2) if descriptors are selectable.
1999-08-31 17:01:10 +00:00
Kurt Zeilenga
ac8b5468aa
Clean up soctpair for NT. Add USE_PAIR to allow pair(2) use.
1999-08-31 16:47:42 +00:00
Kurt Zeilenga
40fa9d36ce
s/Id/OpenLDAP/ in RCSids
1999-08-30 08:08:00 +00:00
Kurt Zeilenga
9826f704b5
Back out to simple sock_errno sock_errstr macros and use WSAGetErrorString
...
instead of WSAGetLastErrorString to preserve errno like semantics.
1999-08-29 23:33:35 +00:00
Kurt Zeilenga
5333a58018
Add RCS ID again...
1999-08-29 23:29:08 +00:00
Howard Chu
3925d53ccd
Replaced sock_errno()/sock_errstr() macros with SOCK_ERR(num,str)
1999-08-29 23:09:27 +00:00
Kurt Zeilenga
657959b04d
Add RCS Id to "generic" headers (experimental)
1999-08-29 20:35:22 +00:00
Kurt Zeilenga
32aa582abe
Make sock_errstr expect an error value instead of relying on current
...
errno.
1999-08-29 20:32:34 +00:00
Howard Chu
74543e6c68
Defined tcp_read and tcp_write. Use them in daemon.c
1999-08-29 04:01:16 +00:00
Howard Chu
193d30bf84
In previous commit - change strerror() to STRERROR().
...
Use strerror() if available.
1999-08-29 02:59:29 +00:00
Howard Chu
801bac51c9
per Hallvard's advice: fixed definition of sock_errstr().
1999-08-29 02:54:58 +00:00
Howard Chu
35a3c5017f
Define sock_errno() and sock_errstr() for Unix and winsock.
1999-08-29 01:56:51 +00:00