Commit Graph

9143 Commits

Author SHA1 Message Date
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
Hallvard Furuseth
12b9ad0954 Removed LDAP_P in unhex' prototype; unhex(char) is incompatible with unhex(). 1998-11-10 22:18:22 +00:00
Kurt Zeilenga
120f75219d Update apitest with to toy with additional ldap options and extensions. 1998-11-10 20:27:47 +00:00
Kurt Zeilenga
078c192c63 Add support for OSF1 c89's -thread option to enable threads.
Fix old -pthread -lmach ... support to check for -lc_r instead of -lc.
1998-11-10 19:48:52 +00:00
Kurt Zeilenga
e6ac1f46c3 Add support for runtime determination of API extensions. 1998-11-09 23:21:38 +00:00
Kurt Zeilenga
fd3000d5dc Initialize openldap_ldap_global_options struct (not yet used). 1998-11-09 23:02:27 +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
5960272713 Split out ldapoptions from struct ldap to facilate global options.
Add openldap_ldap_initialize() call to ldap_init/ldap_open/ldap_get/set_options.
1998-11-09 18:40:37 +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
3551c882c7 Don't try to use TIOCGWINSZ unless it's defined.
initialize_client() should return void.  Fix and forward declaration.
1998-11-08 17:26:23 +00:00
Hallvard Furuseth
214d545db9 Removed bad LDAP* argument to disambiguate() 1998-11-08 05:01:17 +00:00
Hallvard Furuseth
c7010a3ca0 Undo last change (I commited the wrong version) 1998-11-08 04:59:11 +00:00
Hallvard Furuseth
177c37a43c ld could be used uninitialized 1998-11-08 03:01:51 +00:00
Hallvard Furuseth
8761bbb6e9 ber_scanf() returns unsigned long, not int 1998-11-08 02:56:47 +00:00
Hallvard Furuseth
ee4ee470d5 dtest.c needed lber-int.h (struct berelement) 1998-11-08 02:31:31 +00:00
Hallvard Furuseth
745dfd0298 missing 2nd argument to faxtotpc() 1998-11-08 02:08:18 +00:00
Hallvard Furuseth
3bc58b5eec Removed bad LDAP* argument to disambiguate() 1998-11-08 01:16:36 +00:00
Kurt Zeilenga
435a502cbc Fix LDAP_DNS code to use LDAP_BOOL_GET 1998-11-08 01:11:09 +00:00
Kurt Zeilenga
ba8131d5be loginfo test... 1998-11-08 00:47:07 +00:00
Kurt Zeilenga
1b812b7629 Test new loginfo, only added a comment. 1998-11-08 00:44:17 +00:00
Kurt Zeilenga
f86c9b2f85 Added comment to test new loginfo commands. 1998-11-08 00:40:40 +00:00
Kurt Zeilenga
54c66420f0 Add additional LDAPD/ISODE checks 1998-11-08 00:26:20 +00:00
Kurt Zeilenga
21cb9a1c5d Fix LDBM_SYNC typo 1998-11-07 17:14:35 +00:00
Kurt Zeilenga
3f1b97481c Make flush_writes the default. Change option to 'dbcachenowsync'.
Change backend struct option to li_dbcachewsync.
1998-11-07 02:25:32 +00:00
Kurt Zeilenga
f67adafb44 Fix detach.c typo in OBJS 1998-11-07 00:33:02 +00:00
Kurt Zeilenga
d4a4a4cd25 Add lutil_passwd() 1998-11-06 22:04:14 +00:00
Kurt Zeilenga
09bff5c2d5 Should include lutil.h to get it's own prototype. 1998-11-06 22:03:15 +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
c63938a187 missing newlines bugfix from Dan. 1998-11-06 20:43:19 +00:00
Kurt Zeilenga
ab37c7c8b4 j_sanchez@stl.es 1998-11-06 20:40:47 +00:00
Kurt Zeilenga
9c3fa68fa5 mail500 changes from wesley.craig@umich.edu 1998-11-06 20:39:22 +00:00
Kurt Zeilenga
418c49de0c MSVC5 does like -1UL... replaced with (unsigned long) -1L 1998-11-06 02:04:07 +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
24a6a91cac Use TOUPPER macro. 1998-11-05 22:08:43 +00:00
Kurt Zeilenga
8777f818dc Fix datum typo. 1998-11-05 21:56:08 +00:00
Kurt Zeilenga
aacfd00141 Updated to 1.8 1998-11-05 19:39:26 +00:00
Kurt Zeilenga
3b7a3c35da Update version numbers. 1998-11-05 19:33:54 +00:00
Hallvard Furuseth
904afbcf6d Some gcc -W... cleanup 1998-11-05 08:03:48 +00:00
Hallvard Furuseth
177367bdb1 Some gcc -W... cleanup 1998-11-05 07:31:40 +00:00
Hallvard Furuseth
853a1371d1 Some gcc -W... cleanup 1998-11-05 06:49:49 +00:00
Kurt Zeilenga
b06e8682a9 add exit, check commitlogs 1998-11-05 06:18:06 +00:00
Kurt Zeilenga
7cd83cc8a0 Simple test to verify commitlog fix. 1998-11-05 06:16:11 +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
6b0a490026 Some gcc -W... cleanup 1998-11-05 06:05:52 +00:00
Hallvard Furuseth
a4411a9944 Some gcc -W... cleanup 1998-11-05 05:47:02 +00:00
Hallvard Furuseth
6df9dcc943 Prototype vs. K&R mismatch 1998-11-05 05:06:51 +00:00