Commit Graph

218 Commits

Author SHA1 Message Date
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Hallvard Furuseth
78a0be6a42 Plug memory leaks 2010-12-20 10:51:14 +00:00
Hallvard Furuseth
bc38ec228b For ITS#5421: Remove unnecessary #include "ldap_log.h" 2010-11-23 15:25:49 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
9331182a07 union of operation-specific data in LDIFRecord (ITS#6194, by Rich Megginson) 2010-04-13 07:37:59 +00:00
Pierangelo Masarati
c5cf99dd4d move getpassphrase inside tool_bind; make sure password is always malloc'd and freed 2010-04-12 04:06:13 +00:00
Pierangelo Masarati
3a46af398c free LDIF handler in case of failure 2010-04-12 03:42:29 +00:00
Pierangelo Masarati
d033f680b5 (ITS#6194) Patch - Enhancement - provide LDIF support as libldif 2010-04-12 02:01:55 +00:00
Pierangelo Masarati
8fc79e1116 rework common options (ITS#6049) 2009-08-03 13:40:28 +00:00
Howard Chu
72e319bd02 ITS#5892 return -1 from ldif_read_record on error 2009-07-07 22:30:55 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Howard Chu
86b5de38be ITS#5812 add SASL_NOCANON / -N option 2008-11-21 03:30:15 +00:00
Hallvard Furuseth
9a542f526d Warning cleanup: signed meets unsigned: Replace BVICMP() with !BV_CASEMATCH().
BVICMP() tried (unnecessarily) to return <0 / 0 / >0, but could be unsigned.
2008-10-17 16:34:04 +00:00
Hallvard Furuseth
f247093031 Remove uninitialized variable since last change 2008-01-09 20:25:51 +00:00
Howard Chu
b2cf21e625 Trim replog-related cruft 2008-01-09 16:05:28 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
707a09b704 ITS#5247 fix verbose completion messages 2007-12-15 01:51:04 +00:00
Hallvard Furuseth
6e63bac9eb Remove lint 2007-08-16 22:46:38 +00:00
Kurt Zeilenga
206b1aed55 Parse server controls on each response, and print them. 2007-07-18 17:38:30 +00:00
Quanah Gibson-Mount
2fa94d3f7e Use correct memory free function (ITS#4901) 2007-04-02 00:43:16 +00:00
Howard Chu
d38f2d8096 Coverity - check for malloc failure (however unlikely...) 2007-02-13 11:27:06 +00:00
Ralf Haferkamp
caaef2103a Printout ldap_result() error message (ITS #4812) 2007-01-23 11:05:43 +00:00
Howard Chu
29bda3922a ITS#4800 2007-01-10 20:30:29 +00:00
Howard Chu
d0d709fadd ITS#4799 remove kbind 2007-01-10 00:01:38 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
8b49d50e92 (blind) fix type format 2006-12-18 08:21:06 +00:00
Luke Howard
b7c41e655f Add common -o nettimeout option to specify network timeout 2006-12-18 03:17:43 +00:00
Howard Chu
181982470f Reject malformed LDIF - missing modops, or mismatched attributes 2006-11-27 04:49:30 +00:00
Howard Chu
ead61fbfad Revert rbuf length setting in prev commit 2006-11-27 04:15:55 +00:00
Howard Chu
712129fe11 Parser rewrite:
use liblutil's ldif_read_record instead of read_one_record
  track line numbers across entire LDIF instead of just for a single
	entry, to allow easier locating of errors. (we can also add the
	-j jump option later.)
  split Add/Modify parse paths, precompute size of pmods instead of
  	continuously using realloc.

Entry processing is now linear time instead of n^2 with entry size.
2006-11-24 17:05:45 +00:00
Pierangelo Masarati
968da1cb14 add LDAP_OPT_DIAGNOSTIC_MESSAGE; replace deprecated option names 2006-10-14 17:04:17 +00:00
Howard Chu
8cf9982912 Portability cleanups 2006-09-14 07:58:02 +00:00
Kurt Zeilenga
40d75df606 Additional TXN changes (a work in progress) 2006-03-30 18:00:04 +00:00
Kurt Zeilenga
17c826f370 Add missing break, ugh. 2006-03-06 22:47:06 +00:00
Kurt Zeilenga
cafc204a13 fix prev commit 2006-03-06 22:32:11 +00:00
Kurt Zeilenga
d787d7692e Cleanup 2006-03-06 22:30:12 +00:00
Kurt Zeilenga
f45cf3002f Don't commit transactions if modify failed. 2006-03-06 22:25:11 +00:00
Kurt Zeilenga
d15ce4d967 Need to clear controls before ldap_txn_end_s call.
Provide proxy control in bind calls instead of via ldap_set_option()
2006-03-06 21:46:31 +00:00
Kurt Zeilenga
825ce79611 Initial and rough client-side implementation of the revised LDAP
Transactions specification.  A work in progress!  Comments welcomed.
2006-03-06 21:20:36 +00:00
Pierangelo Masarati
ade9272561 streamline server control requests 2006-01-09 23:00:28 +00:00
Pierangelo Masarati
57ca537d0c rework control response handling 2006-01-08 19:51:28 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
fcda57e90f use macros instead of numbers... 2005-12-13 20:11:26 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Pierangelo Masarati
337e297faf add some friendly output of server control responses; please review 2005-11-23 01:18:18 +00:00
Pierangelo Masarati
78ce7e2d32 print control response (may need to condition with an arg switch?) 2005-11-22 14:29:38 +00:00
Pierangelo Masarati
165fb447be even better wording (according to RFC2849) 2005-11-20 22:31:07 +00:00
Kurt Zeilenga
210638e3c5 slightly better wording 2005-11-20 21:28:32 +00:00
Pierangelo Masarati
55349537ad warn if one uses "dn:" inside an entry during add (likely forgot the newline between two entries) 2005-11-20 19:10:13 +00:00
Pierangelo Masarati
1ce491e4f4 fix library checks; implement client side of "touch" modify (ITS#4183) 2005-11-20 14:17:37 +00:00