Commit Graph

622 Commits

Author SHA1 Message Date
Kurt Zeilenga
50dd91de39 Fix typo in error message 2004-09-20 04:41:19 +00:00
Kurt Zeilenga
e0a9ea2f50 Move MSVC port to the Attic 2004-09-04 04:37:41 +00:00
Kurt Zeilenga
e29381da53 Fix typo 2004-08-28 02:30:18 +00:00
Pierangelo Masarati
284ca3ecf0 ldapsearch doesn't handle correctly setting paged results size to 0 to abort 2004-08-24 09:17:10 +00:00
Pierangelo Masarati
01a1eec957 fix ITS#3257 2004-07-25 23:05:29 +00:00
Pierangelo Masarati
42a6406bfb fix URI parsing error code 2004-07-05 12:03:39 +00:00
Pierangelo Masarati
db85e423d2 fix response output 2004-06-21 18:40:20 +00:00
Pierangelo Masarati
52e8543b7b parse page control only in case of succes... 2004-06-21 16:46:41 +00:00
Kurt Zeilenga
0b3f8c2303 Add LDAP_MAXINT macro
Add additional error checks
Fix a few typos and cleanup
2004-06-18 20:14:28 +00:00
Pierangelo Masarati
671e3c7651 allow max for time/size limits 2004-06-18 19:47:53 +00:00
Pierangelo Masarati
ff49d18a40 improve client parsing - first step 2004-06-18 08:30:46 +00:00
Kurt Zeilenga
d8dc230a25 Fix a limit typo
Use 0 not maxint when 'none' is selected.
2004-06-18 07:18:27 +00:00
Kurt Zeilenga
43b9b587fd Remove extra sequence 2004-05-15 22:14:12 +00:00
Howard Chu
dfd400df24 Just set ppolicy control in tool_bind() 2004-05-14 19:28:42 +00:00
Pierangelo Masarati
bbbe0db326 helper for unlimited time/size limits request 2004-05-07 17:43:22 +00:00
Kurt Zeilenga
fb57a33ced cleanup 2004-04-09 19:48:02 +00:00
Pierangelo Masarati
b641adad8c do not prompt for next page in case of search failure 2004-04-09 10:26:30 +00:00
Kurt Zeilenga
44349f4ac6 Further refine last commit 2004-04-05 15:40:07 +00:00
Kurt Zeilenga
f6d2bd8846 Fix last commit 2004-04-05 15:38:50 +00:00
Kurt Zeilenga
88915d8a8a ITS#3057: Forgot to call ldap_perror() 2004-04-05 15:29:35 +00:00
Kurt Zeilenga
e323437c6a cleanup for release engineering 2004-03-18 01:06:39 +00:00
Kurt Zeilenga
db18784462 Fix builds with LDAP_GROUPTING_TRANSACTION 2004-03-17 23:17:33 +00:00
Kurt Zeilenga
e32c872664 Be consistent with element separators. 2004-03-17 20:50:35 +00:00
Kurt Zeilenga
aa797c0eec #ifdef txn code 2004-03-17 03:13:00 +00:00
Howard Chu
12258ab798 Fix prev commit 2004-03-16 03:54:09 +00:00
Howard Chu
79994bad5d Clean up Bind ppolicy diagnostics 2004-03-16 02:59:03 +00:00
Howard Chu
2f86087e56 Hide password policy code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST 2004-03-16 01:47:16 +00:00
Howard Chu
d516556d27 Fix prev commit 2004-03-16 00:00:43 +00:00
Howard Chu
a2b582b0e2 Added password policy support 2004-03-15 23:54:38 +00:00
Kurt Zeilenga
0ba4b24c36 Rework to support txn intermediate responses
(if only they were implemented :-)
2004-03-15 02:20:38 +00:00
Kurt Zeilenga
647df2b9cb Start of client-side LDAP tranactions (non-working)
and lots of cleanup (hence the commit)
(ldapmodify will need much more work for transactions)
2004-03-14 23:32:00 +00:00
Kurt Zeilenga
25805a3bb2 -E/-e are not just for controls 2004-03-12 22:34:07 +00:00
Kurt Zeilenga
ad585f5692 unifdef -UOLD_WAY 2004-03-12 22:21:14 +00:00
Luke Howard
760c8506a6 Enable prompting of paged results with /prompt or /noprompt rather than /true or /false 2004-03-01 09:13:36 +00:00
Luke Howard
f4e0802d5d Allow paged results to be requested without interaction by specifying
/false after the page result size (/true is still the default)
2004-02-27 10:00:45 +00:00
Luke Howard
9cc32ac874 Fix crasher if paged results size is not specified 2004-02-27 09:32:16 +00:00
Luke Howard
bd8712ad36 Fix for RFC 2696 compliance - avoids infinite loop when talking to
Active Directory (which returns no cookie but size in the last
paged results - this is permitted).
2004-02-27 08:16:36 +00:00
Kurt Zeilenga
65b9c027f6 Allow no args 2004-02-27 02:12:46 +00:00
Kurt Zeilenga
95b74beed8 cleanup 2004-01-22 17:48:28 +00:00
Howard Chu
1f6369f984 ITS#2922 disable argument globbing under Cygwin and MinGW. 2004-01-15 21:27:32 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
2284f101fc Print UNDEFINED on compare error 2003-12-18 23:24:49 +00:00
Kurt Zeilenga
8db7cd5b26 Cleanup 2003-12-18 19:48:40 +00:00
Kurt Zeilenga
d779da4410 Clean error handling 2003-12-18 19:30:37 +00:00
Kurt Zeilenga
d2b9a4913b Use ldap_unbind_ext(3) 2003-12-18 19:15:57 +00:00
Kurt Zeilenga
271fff13de Sync with HEAD 2003-12-17 17:55:27 +00:00
Kurt Zeilenga
d5a1231a64 Remove -C(hasing) option. Doesn't make sense for update operations
(at least not with a secure authentication framework).
2003-12-17 00:34:37 +00:00
Kurt Zeilenga
d5936c1242 Remove LDAP_DEPRECATED dependency 2003-12-14 03:15:28 +00:00
Kurt Zeilenga
4d29df5bd1 Add LDAP_DEPRECATED macro
Need to remove use of deprecated functions.
2003-12-14 02:47:42 +00:00
Kurt Zeilenga
d78a5a4d25 Clarify that referrals are chased anonymously 2003-12-02 18:02:24 +00:00
Hallvard Furuseth
51f1b8ccd7 Avoid /* inside comments. 2003-11-29 17:29:44 +00:00
Kurt Zeilenga
e0e43961c8 Cleanup notices and attribution 2003-11-26 08:31:36 +00:00
Kurt Zeilenga
e3a4c4ec9c Notice/Acknowledge updates 2003-11-26 02:58:56 +00:00
Kurt Zeilenga
b24f96cd51 Berkeley DB 4.2 support (DB 4.2 required by default)
libldif to libutil updates
notice updates
2003-11-25 23:22:12 +00:00
Kurt Zeilenga
327880b984 Notice updates 2003-11-25 23:17:08 +00:00
Howard Chu
5788e12926 Revert/Fix prev commit 2003-10-18 12:59:55 +00:00
Howard Chu
7fd05f235c Fix parse order in new print_entry ( ctrls ) 2003-10-18 11:05:48 +00:00
Kurt Zeilenga
a2f36ae2d3 Rework of berbuf allocation:
Moved BerElementBuffer to lber_pvt.h
	Defined union by macro so it can be easily reused.
Updated client/tools/common.c.
2003-10-13 18:09:15 +00:00
Kurt Zeilenga
4f003dbdaf mv ldap_int_get_controls to ldap_pvt_get_controls 2003-10-12 08:14:28 +00:00
Howard Chu
c6cd37c5cf Fix prev commit for empty attrs 2003-09-23 11:29:20 +00:00
Howard Chu
87faffa2e6 Make new print_entry() the default 2003-09-23 11:06:21 +00:00
Kurt Zeilenga
04cecc7666 Fix pre/post attrs init bug (ITS#2728) 2003-09-18 17:12:27 +00:00
Kurt Zeilenga
99f968b597 Initial support for pre/post read controls.
TODO:
	Fix transactional consistency
	Add client response control handling
2003-09-16 18:56:04 +00:00
Kurt Zeilenga
aa8fd2f6b0 -y should not require -W 2003-09-12 20:10:05 +00:00
Kurt Zeilenga
6b9109466c ITS#2696:
ldappasswd -T and -t options don't work, they try to open the file ldappasswd
  instead of the argument passed.

Applied patch provided by Nicolas Schodet.
2003-09-09 17:17:21 +00:00
Jong Hyuk Choi
090ac0a772 unifdef LDAP_SYNC and LDAP_SYNCREPL 2003-08-27 22:16:04 +00:00
Kurt Zeilenga
794c4942bf ITS#2645: fix NULL DN bug 2003-08-09 17:45:34 +00:00
Kurt Zeilenga
afa2cd1893 ITS#2657: authzid (and assertion) should apply to most everything
(preliminary modify/incr client-side code)
2003-07-30 10:21:16 +00:00
Jong Hyuk Choi
262f8bf11f LCUP primitive routines removed 2003-06-27 17:39:48 +00:00
Kurt Zeilenga
3ca2a91ae1 Assertion control with no backend support (yet) 2003-06-10 02:19:30 +00:00
Hallvard Furuseth
6fab51e339 Rename setlocale,bindtextdomain,textdomain to ldap_pvt_<function> (ITS#2513).
#include "ldap_defaults.h" to get LDAP_LOCALEDIR.
2003-06-05 11:49:07 +00:00
Kurt Zeilenga
12304f64e5 Merge partial and intermediate responses 2003-05-31 05:01:49 +00:00
Howard Chu
203493bea7 ldap_pvt_tls_destroy depends on HAVE_TLS
These calls belong in an ldap_destroy() library function.
2003-05-22 23:25:10 +00:00
Kurt Zeilenga
65bfb44e8e Error when user tries to mix command line and default URI components.
Remove TLS hard as an ldap.conf option as being not a over-writable
default.  The appropriate way to request ldaps:// is use an ldaps://
URI.  A rewrite to only sent hard for the default URIs but ignored
if the application provides it own URI would be acceptable.
2003-05-22 00:13:00 +00:00
Kurt Zeilenga
0f2bb9f027 cleanup 2003-05-17 01:37:01 +00:00
Howard Chu
8e8fbe0908 Fix ldap_get_attribute_ber to get values in-place.
Revert previous memleak fix in ldapsearch.c
2003-05-14 13:16:56 +00:00
Howard Chu
7a720d4b40 plug memleak in alternate print_entry() 2003-05-12 14:29:35 +00:00
Hallvard Furuseth
5ee9264465 Fix assignment of <char/int>* to unsigned <char/int>* and vice versa. 2003-05-02 13:29:28 +00:00
Howard Chu
4abff760a0 Check HAVE_CYRUS_SASL for sasl_done(). 2003-04-29 20:21:48 +00:00
Hallvard Furuseth
28e1a3c9da #include "ldap_pvt.h", to get ldap_pvt_tls_destroy().
Cast argument to isspace() to unsigned char.
2003-04-29 14:42:58 +00:00
Kurt Zeilenga
a255dbb9e9 Add -y support 2003-04-12 03:46:45 +00:00
Kurt Zeilenga
bbfaf8c6c5 Misc translation tweaks 2003-04-06 03:27:52 +00:00
Kurt Zeilenga
0dcd32372c Mark translatable strings. Needs work. 2003-04-06 02:59:15 +00:00
Howard Chu
4f8a99e111 ITS#2423 plug some memleaks 2003-04-06 00:48:48 +00:00
Kurt Zeilenga
02028df6c6 Add additional password file support. 2003-03-31 06:29:59 +00:00
Kurt Zeilenga
a9e68ef991 Add -y support to ldappasswd.c
s/passwd/password/ in usage description
2003-03-31 05:47:13 +00:00
Howard Chu
d68391c37f Added version rules 2003-03-29 03:25:44 +00:00
Howard Chu
7f79b986e6 Remove unused reference to ldif_debug 2003-03-29 03:15:35 +00:00
Howard Chu
d0c81ff26b Tweak version.c rules 2003-03-29 00:33:39 +00:00
Howard Chu
3499a51dc1 Revert previous commit 2003-03-29 00:28:00 +00:00
Kurt Zeilenga
9f5163e602 Also fix -MM, -CC, etc.. 2003-03-27 18:11:18 +00:00
Howard Chu
c9cf840731 Fix: -ZZ was not requiring StartTLS to succeed. 2003-03-27 17:30:43 +00:00
Howard Chu
5db9c2c269 Use ol_version.h 2003-03-19 01:31:42 +00:00
Howard Chu
78f9fb45d4 Use ol_version.h 2003-03-18 23:37:14 +00:00
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