Kurt Zeilenga
5c2334c8a4
Updates based upon latest NT UserDirectory changes:
...
configure checks for getpwuid(), sys/resource.h, and pwd.h
Fix !TERMIOS && !SGTTY ifdef in ud/util.c
1998-11-12 23:25:53 +00:00
Kurt Zeilenga
a9d6d0c6a1
Move extern declarations to headers.
...
Update NT portable.h and features.h
1998-11-12 21:07:28 +00:00
Kurt Zeilenga
8c5a6151b1
Rework prototype ifdef to use __NO_PROTOTYPES and __NEED_PROTOTYPES
...
to force no prototypes or require them.
Remove _WIN32 clause. Will update portable.h.nt to define __NEED_PROTOTYPES.
1998-11-12 20:30:42 +00:00
Hallvard Furuseth
523fd2c891
Fix most `wider type truncated to int' bugs on OSF1 due to implicit decls:
...
#include <stdlib.h> to get malloc & co various places,
#include <ac/string.h> to get strlen & co in (liblutil/setproctitle.c),
declare ch_malloc & co (slurp.h), avl_find_lin (avl.h), Malloc (ud/edit.c).
Also changed ch_malloc & co from char* to void* functions.
1998-11-11 23:37:38 +00:00
Kurt Zeilenga
d6e05ecbd7
Update NT4 port.
1998-11-11 05:50:51 +00:00
Kurt Zeilenga
dcec4bf292
Add/Remove defines to make current with ldapconfig.h.edit 1.8
1998-11-11 03:13:55 +00:00
Kurt Zeilenga
10a013f8ce
Create feature file for NT build environment.
1998-11-11 03:03:03 +00:00
Kurt Zeilenga
376e1e02ff
Update configure to handle DEC OSF1 3.2 special cases.
...
-thread & -pthread are still treated as libraries, will need
additional work to use them as CFLAGS.
Eliminated HAVE_DCE define (was redundant) and its use. Code
now relies on draft4 and function existance tests.
1998-11-11 00:24:22 +00:00
Kurt Zeilenga
1fc810bfe5
Added support for ldap.conf file. See ldap.conf(5) for details.
...
Modified clients to reduce use of ldapconfig.h.edit.
ldap_{get,set}_option support is relatively complete. Needs
to be extended to support other "features" of OpenLDAP.
1998-11-10 23:37:30 +00:00
Kurt Zeilenga
962b8dc246
HAVE_PTHREAD_ATTR_SETDETACHSTATE_NP should be HAVE_PTHREAD_ATTR_SETDETACH_NP
1998-11-10 22:42:19 +00:00
Kurt Zeilenga
1f4b479b2b
Update thread detection:
...
ifndef HAVE_PTHREAD_KILL pthread_kill() code and prototype.
Fix HAVE_FUNC_PTHREAD defines from previous change.
1998-11-09 21:15:56 +00:00
Kurt Zeilenga
8cb0ff3a68
Fix rwlock pthread draft4 compatibility.
...
Fix pthread_attr_init/destroy pthread draft4 compatibility.
1998-11-09 20:50:52 +00:00
Kurt Zeilenga
a48b606a2f
Initial LDAP_API_FEATURE_X_OPENLDAP commit:
...
configure generates ldap_features.h based from ldap_features.h.in
LDAP_REFERRALS -> LDAP_API_FEATURE_OPENLDAP_V2_REFERRALS
LDAP_DNS -> LDAP_API_FEATURE_OPENLDAP_V2_DNS
1998-11-09 19:41:09 +00:00
Kurt Zeilenga
a5ee7b5842
Add -lresolv check for LDAP_DNS.
...
Updated portable.h.nt based upon portable.h.in (1.11).
1998-11-08 19:37:03 +00:00
Kurt Zeilenga
54c66420f0
Add additional LDAPD/ISODE checks
1998-11-08 00:26:20 +00:00
Kurt Zeilenga
d4a4a4cd25
Add lutil_passwd()
1998-11-06 22:04:14 +00:00
Kurt Zeilenga
fb45c9baba
Add LDAPD library checks.
...
Remove AC_GCC_TRADITIONAL check. Likely to cause more harm than good.
1998-11-06 21:14:19 +00:00
Kurt Zeilenga
36378ea411
Updated MSVC5 workspaces and projects.
...
Added ac/stdarg.h and updated liblber encode/decode to use it.
1998-11-06 01:18:49 +00:00
Kurt Zeilenga
0221763eac
Generic variable argument header. Hides ugly ifdef.
1998-11-06 01:03:14 +00:00
Kurt Zeilenga
aacfd00141
Updated to 1.8
1998-11-05 19:39:26 +00:00
Kurt Zeilenga
4646b76608
define _REENTRANT & _THREAD_SAFE to pull in reentrant/threadsafe prototypes.
...
modify apps to use TOLOWER/TOUPPER macros to ensure isupper/islower is
called when approprate.
1998-11-05 06:11:47 +00:00
Hallvard Furuseth
83ec12246e
Enclose debug variables in #ifdef LDAP_DEBUG
1998-11-05 05:03:12 +00:00
Kurt Zeilenga
c230adae6b
Add cross compiling warnings and errors.
...
Now require --enable-x-compile if cross compiling.
Add tests for threadsafe/reentrant functions.
Add tests for setconcurrency functions.
1998-11-05 02:50:28 +00:00
Hallvard Furuseth
71eef8a424
Added lutil_detach()
1998-11-05 01:22:42 +00:00
Kurt Zeilenga
efca851ac7
Favor termios over sgtty.
1998-11-05 00:09:41 +00:00
Hallvard Furuseth
f81ee9b63e
Added ldap_msgtype() and ldap_msgid()
1998-11-04 23:51:31 +00:00
Kurt Zeilenga
5009ee7b13
Add tests for vsnprintf and snprintf.
1998-11-04 23:29:52 +00:00
Hallvard Furuseth
41e25b4041
Added ldap_explode_rdn()
1998-11-04 23:28:51 +00:00
Kurt Zeilenga
6f3bb4adfb
Add additional defines to allow more compile time API checks.
1998-11-04 20:09:57 +00:00
Kurt Zeilenga
8333a03346
struct ldap is now opaque to clients.
...
updated clients to use ldap_get/set_options
ld_options is renamed ld_booleans. ldap-int.h has accessor macros.
updated libldap to use new accessor macros.
1998-11-04 01:41:00 +00:00
Kurt Zeilenga
1203736b7b
Add setproctile to liblutil
1998-11-04 01:36:44 +00:00
Kurt Zeilenga
0300aebdc5
autoconf update
1998-11-04 01:35:21 +00:00
Kurt Zeilenga
1c0f451699
Check in mach cthread fixes. Should make non-pthread detection
...
work better.
1998-11-01 18:11:11 +00:00
Kurt Zeilenga
34c945b86d
added ber_print_error() and renamed lber_bprint into ber_ namespace.
1998-10-27 07:50:07 +00:00
Stuart Lynne
80cf83ace8
1. add ldap_get_lderrno(), required if struct ldap is private
1998-10-27 07:10:20 +00:00
Kurt Zeilenga
48e53c8487
Add prototypes for LDAPv3 draft functions
1998-10-26 02:47:43 +00:00
Kurt Zeilenga
42f2a83607
rename ber_init() to ber_init_w_nullc in preparation of LDAPv3 ber_init()
1998-10-26 02:38:39 +00:00
Kurt Zeilenga
43f29c3cb8
More header work toward draft-ietf-ldapext-ldap-c-api-01.
1998-10-26 01:49:56 +00:00
Kurt Zeilenga
702109706b
update ldap/lber headers towards ldapext-ldap-c-api-01
1998-10-26 01:18:41 +00:00
Kurt Zeilenga
8ffd286942
bash(1) doesn't like empty if statements
1998-10-25 06:26:44 +00:00
Kurt Zeilenga
2a869f5a99
merged with autoconf branch
1998-10-25 01:41:42 +00:00
Kurt Zeilenga
bf6c1e0ad2
Added Will Ballantyne's General Aliasing code.
...
Not quite sure if the entry lock handling is correct yet.
1998-10-24 02:42:38 +00:00
Kurt Zeilenga
b978170b1a
More lint removal from Hallvard.
1998-10-23 23:10:49 +00:00
Kurt Zeilenga
a8040ca213
sched.h not actually required
1998-09-16 02:42:33 +00:00
Kurt Zeilenga
c1b676a13e
To the attic these should go.
1998-09-05 06:15:58 +00:00
Kurt Zeilenga
cac3ea1e92
Import public domain sha1 routines from Steve Reid <steve@edmweb.com>.
...
Modified for OpenLDAP use by Daniel J. Gregor <djg@gregor.com>.
1998-09-03 06:25:38 +00:00
Kurt Zeilenga
2054d40b7c
Added support for SleepyCat DB2 DBI.
...
Derived from public posting to ldap@umich.edu
by Kurt Spanier <kurt.spanier@zdv.uni-tuebingen.de>
See Make-common.dist for DB2 options
1998-09-03 00:50:13 +00:00
Kurt Zeilenga
8c5868b500
Add basic support for MD5 and SHA1 passwords.
...
SHA1 support is contributed by Daniel J. Gregor <dj@gregor.com>
MD5 support is contributed by me <kurt@OpenLDAP.org>
Uses public domain MD5 routines
Uses ISC/IBM freely redistributable Base64 routines
SHA1 support requires external SHA1 routines
1998-09-02 21:31:35 +00:00
Kurt Zeilenga
b015c8db24
Add support for OpenBSD. Provided by djg@gregor.com.
1998-08-31 20:49:27 +00:00
Kurt Zeilenga
e77708e516
Add prototypes for check functions provided by Stuart Lynne
1998-08-30 18:58:44 +00:00