Commit Graph

322 Commits

Author SHA1 Message Date
Howard Chu
32a38866b7 Fix typo in KRBV4 handling 2003-02-27 05:51:41 +00:00
Howard Chu
a667cd989b Fix undef'd code for empty attributes. 2003-02-10 07:41:30 +00:00
Kurt Zeilenga
29304f0cee s/LDAP_SUCCESS/LDAP_OPT_SUCCESS/ 2003-02-10 01:48:04 +00:00
Kurt Zeilenga
8c79e4b7c3 Add library version check to prevent mismatch during dynamic linking 2003-02-10 01:43:41 +00:00
Kurt Zeilenga
6d324e6148 Fix DESTDIR to work without --static 2003-02-09 23:21:15 +00:00
Kurt Zeilenga
737f4b0d34 Misc LCUP cleanup 2003-02-09 08:43:20 +00:00
Kurt Zeilenga
89489ae534 add domainScope control support 2003-02-09 06:14:06 +00:00
Kurt Zeilenga
48d47954a6 Rework #ifdef'ing of expermental controls to ease release engineering
using LDAP_DEVEL (to indicate experimental) to enable experimental features
(true for HEAD unless LDAP_REL_ENG is defined)
2003-02-08 21:53:05 +00:00
Jong Hyuk Choi
5288450294 remove printf 2003-02-05 15:38:11 +00:00
Jong Hyuk Choi
85b1783d5c LDAP Sync Operation (draft-zeilenga-ldup-sync) as a groundwork for an LDAP replication design 2003-02-05 07:37:02 +00:00
Kurt Zeilenga
c41a87c587 Use version strings provided by build system for -V 2003-01-20 20:48:06 +00:00
Kurt Zeilenga
dab6bdaaad First cut at -V (version) argument. Needs work. 2003-01-20 20:11:57 +00:00
Hallvard Furuseth
6a51371fc5 Silence gcc warnings (signed vs. unsigned, implicit declarations, unused vars). 2003-01-19 15:03:25 +00:00
Hallvard Furuseth
120e39b533 Cast ctype.h arguments to unsigned char. 2003-01-19 14:05:23 +00:00
Hallvard Furuseth
265b7e22c6 Insert missing initializers, to silence gcc warnings. 2003-01-19 13:38:44 +00:00
Hallvard Furuseth
1fbbc11811 Fix LBER_ERROR vs. -1 confusion. 2003-01-19 13:10:17 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Pierangelo Masarati
446f40316a more readable diffs and reduced number of conflicts when adding new client-side controls 2002-12-27 14:57:52 +00:00
Jong Hyuk Choi
5e343548ab lcup persistent search option 2002-12-18 22:09:25 +00:00
Howard Chu
c102809fab Use ber_flatten2 to avoid excess mallocs 2002-12-18 19:16:31 +00:00
Hallvard Furuseth
b84c33ce31 Plug memory leaks from ldap_get_option(). 2002-12-18 09:37:21 +00:00
Pierangelo Masarati
689710e2ca Dunno in advance how many controls will be set by a client 2002-12-14 16:34:59 +00:00
Hallvard Furuseth
5b8302f655 Factor out common client code to file common.c 2002-12-12 16:32:26 +00:00
Hallvard Furuseth
6e82d5b45e Plug memory leak from ldap_<first/next>_attribute(). 2002-12-11 08:28:42 +00:00
Hallvard Furuseth
a42908f2e7 Update '-c' error handling, so error in any operation returns error from main. 2002-12-09 11:02:28 +00:00
Howard Chu
5efa571ad2 Fix Solaris SEGV when base is not specified 2002-12-04 16:47:35 +00:00
Kurt Zeilenga
da76c1951e First-cut proxy authorization support. 2002-12-03 06:11:32 +00:00
Hallvard Furuseth
416aeb9347 Never let ldif_parse_line() return a NULL value with success. 2002-12-02 22:46:07 +00:00
Hallvard Furuseth
334ff687d6 Esthetic change: Move break; out of if() to before the next case: 2002-12-02 15:46:53 +00:00
Pierangelo Masarati
3f32b6fe17 put 'break' only at the end of the 'case' 2002-12-01 19:07:05 +00:00
Hallvard Furuseth
44620410d5 ldapsearch -E subentries=... lacked a break; for case 'E': 2002-11-30 19:17:14 +00:00
Kurt Zeilenga
ca84693b12 Clean up error messages 2002-11-29 02:49:11 +00:00
Kurt Zeilenga
e918c3b5a7 Add -e authzid argument processing 2002-11-28 05:56:19 +00:00
Kurt Zeilenga
8754c8f2a3 #unifdef paged results, remove lint 2002-11-28 04:38:41 +00:00
Kurt Zeilenga
053da4db7b Use ldap_whoami_s(3) 2002-11-28 03:14:54 +00:00
Kurt Zeilenga
5fe7d38e1c Add whoami.c and passwd.c and other minor tweaks to control cleanups 2002-11-28 02:44:38 +00:00
Kurt Zeilenga
235973571a proxy authz control (client only)
Misc control cleanups (client only)
2002-11-28 02:26:55 +00:00
Pierangelo Masarati
e8439a9276 enforce the declared behavior when using -L[L[L]] 2002-11-21 22:13:07 +00:00
Pierangelo Masarati
415a8d325f add limits to entries count for paged results 2002-11-21 20:49:02 +00:00
Pierangelo Masarati
b26ecba01a - allow interactive pagedResults size change
- implement pagedResults abandon by setting size=0
- misc code cleanup
2002-11-21 03:36:37 +00:00
Pierangelo Masarati
c354bb23bf Support for RFC 2696:
LDAP Control Extension for Simple Paged Results Manipulation

contributed by Lynn Moss <lynnmoss@us.ibm.com> (ITS#2189)

applied with changes.
2002-11-21 02:16:53 +00:00
Kurt Zeilenga
26e1043576 Add more LDIF comments 2002-10-23 18:34:54 +00:00
Kurt Zeilenga
6b7cee69c2 Patch: 'ldapmodify -c' should return error on failure (ITS#2133)
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.

'ldapmodify -c' returned the error status from the _last_ LDIF entry,
so a bad entry followed by a good entry returns success.
This patch makes it return the status of the last _failed_ entry,
or 0 if all entries succeeded.
2002-10-12 04:35:42 +00:00
Howard Chu
3f41c614a1 Added ldapcompare.c to SRCS so it will be processed by make depend 2002-09-08 22:01:29 +00:00
Howard Chu
ee30206bc2 Merged ldap_get_values_ber into ldap_get_attribute_ber. 2002-09-06 04:57:21 +00:00
Howard Chu
bbc22d5318 Added 2nd version of print_entry using new ldap_get_*_ber functions.
#if'd out by default, but it works fine. Kept both for easy comparison.
2002-09-05 11:38:07 +00:00
Kurt Zeilenga
a83cc88edd Move ldap_control_dup() to ldap_pvt.h 2002-09-04 02:14:12 +00:00
Pierangelo Masarati
fd3302699e add ldif control support (ITS#2060, patch from David Steck <dsteck@novell.com>) 2002-08-31 12:02:39 +00:00
Kurt Zeilenga
0cd3720e0d Generate subentries control 2002-08-30 07:43:47 +00:00
Kurt Zeilenga
4ce42af196 Add client-side subentries control support.
Make sure client controls are not specified multiple times.
NT port updates.
2002-08-30 07:05:12 +00:00