Commit Graph

137 Commits

Author SHA1 Message Date
Kurt Zeilenga
0e2af54a3f Update copyright statements 2002-01-04 21:17:25 +00:00
Howard Chu
773b3aff16 more cleanup from jon@symas.com 2001-12-18 04:52:55 +00:00
Howard Chu
6159dfbe01 Just use mkstemp unconditionally; liblutil will fill in if the system doesn't. 2001-12-18 03:04:32 +00:00
Kurt Zeilenga
abd9be4def Remove lint and misc MSVC updates 2001-12-09 02:34:45 +00:00
Howard Chu
0552b1c53f NT updates from jon@symas.com. 2001-12-07 04:03:25 +00:00
Howard Chu
e6d6faf3c9 From jon@symas.com - patches for consistent use of directory separators
in pathnames.
2001-12-07 01:46:26 +00:00
Kurt Zeilenga
ac2cd34aaf ITS#1482 patch from Michael.Gerdts@usa.alcatel.co
MSVC cannot build clients/ud because the symbol mkstemp
is not found.  Add tmpfile() support.
2001-12-06 21:19:10 +00:00
Kurt Zeilenga
40b069f5ee Finish friendly_name() removal 2001-12-02 01:07:50 +00:00
Kurt Zeilenga
15fc0cccae Don't bother with friendly name 2001-12-01 03:40:19 +00:00
Kurt Zeilenga
11b6d1f284 Misc updates for NT4 2001-06-15 04:16:55 +00:00
Kurt Zeilenga
2d33a76ff7 Restore 2001-06-14 05:30:26 +00:00
Kurt Zeilenga
5cf21f13fe Rip most of Kbind out in prep for adding SASL. 2001-06-14 05:28:46 +00:00
Kurt Zeilenga
85a2c40ca0 Remove more UFN cruft 2001-06-11 21:25:14 +00:00
Kurt Zeilenga
86acd7eb20 unifdef -ULDAP_UFN 2001-06-11 21:08:49 +00:00
Kurt Zeilenga
44bef574c8 Updated pthread test and usage (avoid pthread_detach if possible)
don't use tmpnam()
2001-06-09 01:05:35 +00:00
Kurt Zeilenga
efe39c999f modify ldap_dn2ufn() to return completely typeless UFNs
hide rest of UFN code behind #ifdef LDAP_UFN in preparation
for eventual removal.
2000-09-16 04:33:52 +00:00
Ben Collins
0bd5e418be remove unused var 'actions' 2000-09-15 02:49:27 +00:00
Ben Collins
7c90250fba missed newline in printf 2000-09-13 23:32:06 +00:00
Ben Collins
85747c5c55 init output_string to NULL, and check in printbase() to make sure we don't pass garbage 2000-09-13 21:44:37 +00:00
Kurt Zeilenga
4af57deb51 Fix kbind typo (ITS#717) 2000-09-06 21:25:28 +00:00
Kurt Zeilenga
5b856458a2 s/SAFEMEMCPY/AC_MEMCPY/
Use AC_FMEMCPY where appropriate (-llber)
2000-07-28 01:07:07 +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
51bacc2c99 Do not include <lber.h> 2000-06-26 01:24:03 +00:00
Kurt Zeilenga
e2fa599482 Move old files to the Attic 2000-06-25 22:01:42 +00:00
Kurt Zeilenga
5f20cf1ed5 Modify ldapsearch(1) significantly. Now handles LDAPv3 search
references, extended results, and extended partial results.  LDIF
extended to support these new features and reported version 2.
-L now limits output to LDIFv1 for compatibility reasons.  No
-L is now LDIFv2.  Old alternative form is no longer supported.

Use LDAP_TMPDIR (in ldap_config.h) instead of hardcoded /tmp
Use LDAP_FILE_URI_PREFIX (in ldap_config.h) instead of hardcoded
	file://tmp/
2000-06-25 00:35:17 +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
a56c161bdb Misc code cleanup. 2000-06-10 22:39:30 +00:00
Kurt Zeilenga
ea069cb7c2 New indexer/filter codes (test suite works) with cheats
Updated NT Project files (with Cyrus SASL library depend)
2000-06-04 22:59:38 +00:00
Kurt Zeilenga
34edec3107 Strip installed executables
better library clean
2000-05-30 18:23:56 +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
Kurt Zeilenga
0d1e76246a Don't depend error handling on exact resultCode. 2000-04-26 09:21:19 +00:00
Ben Collins
50a41f3ee2 when opening files in /tmp use O_CREAT|O_EXCL to overcome race conditions 2000-04-24 16:42:16 +00:00
Kurt Zeilenga
870dbca576 objectclass=* -> NULL 2000-04-12 01:00:48 +00:00
Kurt Zeilenga
3d4122962f Add print.c to handle GeneralizedTime.
Add creat* modify* attributes
2000-01-17 17:41:11 +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
Kurt Zeilenga
b1639dadd6 Remove lint
Add copyrights
1999-12-13 04:53:59 +00:00
Howard Chu
59dc262dc4 Removed RCS keywords from header comment. 1999-11-24 07:25:31 +00:00
Kurt Zeilenga
3a0d0dd29b Less crypto error message... 1999-11-19 02:03:31 +00:00
Kurt Zeilenga
be51328c8b ITS#349: if user hits RETURN at "Change base to?", return to UD prompt. 1999-11-17 21:50:35 +00:00
Kurt Zeilenga
5f6f7d06a6 ITS#352: don't pring NULL group names. 1999-11-17 21:47:08 +00:00
Kurt Zeilenga
a5dad347c2 ITS#356: don't print entry if name is NULL. 1999-11-17 21:39:39 +00:00
Kurt Zeilenga
eb000d9e6a no UD_BASE to use for my_ldap_dn2ufn(). Comment out strstr(s,NULL). 1999-11-03 22:02:30 +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
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
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
dd89498e85 Fix misc syntax warnings and/or bugs.
See README 1.27 log
1999-10-28 07:18:48 +00:00
Kurt Zeilenga
c0a6159844 Initial Kth Kerberos support. Changes based upon suggestions
from Booker Bense <bbense@networking.stanford.edu>.
1999-10-01 05:11:39 +00:00
Kurt Zeilenga
a0bd8e1764 Don't need <lber.h> 1999-09-25 23:12:55 +00:00