Commit Graph

710 Commits

Author SHA1 Message Date
Howard Chu
96621c71d4 unifdef LDAP_DEVEL for relax control in usage message 2007-08-29 23:41:15 +00:00
Pierangelo Masarati
a90d052775 forgot one commit 2007-08-23 20:27:10 +00:00
Pierangelo Masarati
57316ae1ac move session tracking control creation to helper 2007-08-22 18:33:41 +00:00
Kurt Zeilenga
a9b4c04f1c Use MAXHOSTNAMELEN from <ac/socket.h> instead of HOST_NAME_MAX as the latter ain't available here. 2007-08-22 18:05:18 +00:00
Pierangelo Masarati
d1b68d3135 support session tracking during tool binds 2007-08-22 09:17:42 +00:00
Pierangelo Masarati
b0d2063d92 client side of draft-wahl-ldap-session 2007-08-21 23:52:03 +00:00
Pierangelo Masarati
caa5123975 further fix previous commit 2007-08-21 22:15:09 +00:00
Pierangelo Masarati
620d77eaf4 fix extra controls in tools 2007-08-21 14:50:08 +00:00
Pierangelo Masarati
145e6fc1f8 fix or comment Calysto findings 2007-08-21 10:52:16 +00:00
Pierangelo Masarati
f69306c84a fix previous commit (may be called more than once) 2007-08-17 14:41:32 +00:00
Pierangelo Masarati
e3c515604b allow unknown generic controls (by OID=b64value) 2007-08-17 09:46:02 +00:00
Hallvard Furuseth
6e63bac9eb Remove lint 2007-08-16 22:46:38 +00:00
Pierangelo Masarati
4bc19cbbb9 cleanup tools 2007-08-16 09:22:07 +00:00
Howard Chu
3d1dcceb8e Delete -C description, should not have been documented 2007-07-22 18:16:03 +00:00
Kurt Zeilenga
206b1aed55 Parse server controls on each response, and print them. 2007-07-18 17:38:30 +00:00
Pierangelo Masarati
1734ae7e1c trim unneeded arg (ITS#5041) 2007-07-06 08:22:10 +00:00
Kurt Zeilenga
73ad5a7217 have error match API call 2007-06-21 22:02:08 +00:00
Kurt Zeilenga
ae47797cc8 Send common request controls with extended request.
Only bitch about missing genPassword in success response.
2007-06-21 22:01:36 +00:00
Pierangelo Masarati
f4239db146 better implementation for ITS#4996 and docs (ldapsearch(1) only; need to duplicate in other tools man pages) 2007-06-19 22:58:20 +00:00
Kurt Zeilenga
8eb0741a1c Ppolicy control should be sent with every request...
handle returns in ldappasswd(1) and ldapwhoami(1).  Likely needs to be
added to other ldap*(1) commands.
2007-06-19 01:02:42 +00:00
Kurt Zeilenga
fa6aa0688a Revert last commit
Purports to remove kbind, but adds a ldap_search_s() request.
2007-06-19 00:58:35 +00:00
Pierangelo Masarati
0f8b273ca6 allow host resolution via DNS SRV based on the DN portion of the URI if no host is provided (ITS#4996) 2007-06-09 18:25:51 +00:00
Howard Chu
1365ec745e ITS#4939 fix typo 2007-04-29 06:14:03 +00:00
Quanah Gibson-Mount
2fa94d3f7e Use correct memory free function (ITS#4901) 2007-04-02 00:43:16 +00:00
Quanah Gibson-Mount
fb55cd3f3c Fix typo 2007-04-01 23:27:37 +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
Pierangelo Masarati
58b918bea2 add support to test exceptional behavior (abandon/cancel/ignore) 2007-01-13 15:03:15 +00:00
Pierangelo Masarati
fb2e448e87 cleanup 2007-01-11 18:57:37 +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
Howard Chu
78ea542572 timeval requires <ac/time.h> 2006-12-26 05:05:28 +00:00
Pierangelo Masarati
8b49d50e92 (blind) fix type format 2006-12-18 08:21:06 +00:00
Pierangelo Masarati
6911e557de fix type format 2006-12-18 08:20:43 +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
Howard Chu
b42d93f24f ITS#3755 silence strict-aliasing warnings 2006-11-10 10:39:54 +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
Pierangelo Masarati
9bc2cd3987 allow continuous mode 2006-08-25 16:20:48 +00:00
Kurt Zeilenga
e2f4ca480d ITS#4647: error on bad filter patterns 2006-08-24 03:15:57 +00:00
Kurt Zeilenga
3d667a4705 remove dontusecopy ifdefs 2006-08-22 20:57:33 +00:00
Kurt Zeilenga
97fa3f1efd More LDAP_DEVEL cleanup
Rename ManageDIT to Relax
2006-08-22 00:45:16 +00:00
Kurt Zeilenga
8e5699e60f fix confused comment 2006-08-17 00:26:25 +00:00
Kurt Zeilenga
423a93019f Misc RFC reference updates 2006-06-21 07:09:39 +00:00
Pierangelo Masarati
d0fc998454 split lines in additional info (ITS#4543) 2006-05-13 00:46:06 +00:00
Howard Chu
4d85c307c4 ITS#4453 don't print error message on stdout 2006-05-12 07:56:20 +00:00