Commit Graph

842 Commits

Author SHA1 Message Date
Pierangelo Masarati
9f8adeb289 make sure cred is freed 2011-01-08 12:49:38 +00:00
Pierangelo Masarati
cef31a77a7 make sure msg is freed 2011-01-08 12:49:21 +00:00
Kurt Zeilenga
be897b6679 Outline SASL interactive API (no meat) 2011-01-06 18:37:23 +00:00
Pierangelo Masarati
12cee3bfcb plug leak on usage() 2011-01-05 23:00:51 +00:00
Pierangelo Masarati
d82a1127d0 allow clients to set USERNAME in session tracking control request (6779); plug minor leaks 2011-01-05 22:54:20 +00:00
Kurt Zeilenga
966cef8c9a Happy New Year 2011-01-05 00:42:37 +00:00
Pierangelo Masarati
674ada062f plug one time leak (this time should be correct; ITS#6778) 2011-01-04 23:17:42 +00:00
Pierangelo Masarati
98be1e240c revert previous commit (ITS#6777) 2011-01-04 22:34:22 +00:00
Pierangelo Masarati
c4da17093d cleanup 2011-01-04 21:45:43 +00:00
Pierangelo Masarati
f8761cfebb plug minor leak 2011-01-04 18:45:21 +00:00
Pierangelo Masarati
31199e1847 cleanup controls logging in LDIF mode (-L[L[L]], ITS#6775) 2011-01-04 18:20:04 +00:00
Pierangelo Masarati
2ae62e86bc add generic support for RFC 3829 authzid control (bauthzid) 2011-01-04 16:03:31 +00:00
Pierangelo Masarati
e2440ccb00 fix previous commit 2011-01-04 01:02:12 +00:00
Pierangelo Masarati
180ad95b16 quick fix; needs work 2011-01-04 00:08:12 +00:00
Pierangelo Masarati
a2df1c60ff fix previous commit 2011-01-03 23:37:48 +00:00
Kurt Zeilenga
4e515a8a65 Add VC support for ppolicy and authzid inner controls 2011-01-03 22:54:48 +00:00
Kurt Zeilenga
37dcb1d791 Remove authzid parameter from verify credential response.
If client wants authzid, it can ask by adding an Authorization Identity
Request inner control.
2011-01-03 22:05:23 +00:00
Kurt Zeilenga
7f4c7ebc1c Extend Verify Credentials encode/decode per -devel post.
(ldapvc doesn't yet request/handle inner password policy control.
2011-01-03 21:49:26 +00:00
Pierangelo Masarati
59b220506d more about ITS#6645 2011-01-01 20:50:00 +00:00
Hallvard Furuseth
77a7ef0adf Plug one-time LDAPMessage leak 2010-12-20 12:39:48 +00:00
Hallvard Furuseth
78a0be6a42 Plug memory leaks 2010-12-20 10:51:14 +00:00
Kurt Zeilenga
0d15e145be Add basic client 2010-12-15 01:41:30 +00:00
Kurt Zeilenga
5875113f4d Very back ldapvc (verify credentials) client 2010-12-14 21:39:08 +00:00
Kurt Zeilenga
2be415a0dd fix perror 2010-12-14 18:20:43 +00:00
Kurt Zeilenga
0ba7be7a6f Use ldap_parse_whoami 2010-12-14 18:17:28 +00:00
Hallvard Furuseth
e0adc1aa69 Fix rev 1.270: free def_urlpre correctly. Also free urlpre. 2010-12-04 18:53:04 +00:00
Hallvard Furuseth
bc38ec228b For ITS#5421: Remove unnecessary #include "ldap_log.h" 2010-11-23 15:25:49 +00:00
Kurt Zeilenga
d271154ffb Allow all common controls (namely for ppolicy) 2010-10-27 01:00:47 +00:00
Pierangelo Masarati
5524873079 fix multiple generic control parsing 2010-09-18 18:24:31 +00:00
Pierangelo Masarati
18bf64a726 plug one-time leak 2010-09-06 03:09:54 +00:00
Pierangelo Masarati
00fe7f1a7c fix ITS#6638 2010-09-06 03:09:08 +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
Ralf Haferkamp
42b870f9bb print diagnostic messages when sasl_interactive_bind or start_tls_s failed 2009-09-29 17:19:28 +00:00
Pierangelo Masarati
08b43a89f6 check for timeout allowed by options (ITS#6282) 2009-09-08 07:55:57 +00:00
Pierangelo Masarati
e3a2b273a4 silence warning; cleanup code 2009-08-19 12:46:39 +00:00
Pierangelo Masarati
9abaf38d1f silence warnings 2009-08-19 12:23:27 +00:00
Pierangelo Masarati
f32bc8bc85 advertise known exops 2009-08-13 15:52:56 +00:00
Pierangelo Masarati
8fc79e1116 rework common options (ITS#6049) 2009-08-03 13:40:28 +00:00
Howard Chu
82874bed6e ITS#6233 don't advance ptr after storing final NUL. 2009-07-28 22:04:13 +00:00
Howard Chu
048f24150f ITS#6145 free/close before exit 2009-07-22 07:19:41 +00:00
Howard Chu
8f336e9107 Add VLV support 2009-07-13 12:41:02 +00:00
Howard Chu
3f39c79411 Cleanup sss result string 2009-07-13 08:28:11 +00:00
Howard Chu
cb594c7128 Fix typo in derefcrit control 2009-07-13 01:57:25 +00:00
Howard Chu
72e319bd02 ITS#5892 return -1 from ldif_read_record on error 2009-07-07 22:30:55 +00:00
Hallvard Furuseth
8171f077ca Silence warning in print_deref(): cast lutil_b64_ntop() arg to unsigned char* 2009-04-29 22:19:39 +00:00
Howard Chu
4b078ab617 ITS#6014, partial revert 1.121 for now. We should unconditionally use
our own getpassphrase function to avoid these system-dependent problems
2009-03-17 18:07:14 +00:00
Howard Chu
789388ddfe ITS#6005 strings from ber_scanf must be ber_memfree'd 2009-03-08 00:08:09 +00:00
Howard Chu
7029d640cb mem cleanup (see ITS#6005) not worth chasing them all down 2009-03-07 01:31:34 +00:00
Howard Chu
0189fb0828 More for #5812, ifdef NOCANON option 2009-02-06 00:01:38 +00:00
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Pierangelo Masarati
416a544a9e fix one-time leak (non critical) 2008-12-11 23:18:54 +00:00
Pierangelo Masarati
7681642bcf fix LDAP deref control response; fix tool response handling; add lutil_memcopy() for API uniformity (more about ITS#5768) 2008-12-11 23:17:08 +00:00
Howard Chu
86b5de38be ITS#5812 add SASL_NOCANON / -N option 2008-11-21 03:30:15 +00:00
Pierangelo Masarati
308b24a327 allow to override (more than one \!) specs requirements on control criticality (for testing purposes; do not advertise) 2008-11-01 16:55:45 +00:00
Pierangelo Masarati
7ad03166b6 add "What Failed?" LDAP control (ITS#5784) 2008-11-01 15:15:57 +00:00
Hallvard Furuseth
dffe8d37fa ITS#5770: Fix unaligned BerElements: Use BerElementBuffer, not char[size]. 2008-10-24 17:52:05 +00:00
Pierangelo Masarati
543a75355c slight fixes and improvements to previous commit 2008-10-22 23:01:20 +00:00
Pierangelo Masarati
91e14ca638 add support for (experimental) dereference control (ITS#5768); need to re-run autoconf (and autoheader?) 2008-10-22 22:19:49 +00:00
Pierangelo Masarati
eba56f0ec9 default to simple bind when -D is specified and no SASL-related options are used (ITS#5753) 2008-10-19 21:15:24 +00:00
Pierangelo Masarati
4cef770d2b add ldapurl command 2008-10-19 20:35:18 +00:00
Hallvard Furuseth
0d7ee548e1 Warning cleanup: signed meets unsigned. (Adds variable dosearch():outlen.) 2008-10-17 16:35:24 +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
f40582fc7d Warning cleanup: signed meets unsigned. ber_printf() returns -1 on
error, not LBER_ERROR.
2008-10-13 08:09:52 +00:00
Pierangelo Masarati
1b983cfb77 note RFC for each standard track control 2008-09-28 20:44:53 +00:00
Pierangelo Masarati
43ae03fc10 silence warnings 2008-09-16 14:10:02 +00:00
Howard Chu
689b51fe48 Add server side sorting control 2008-08-01 22:53:47 +00:00
Pierangelo Masarati
7e3c9a07e9 add client API for assertion control (ITS#5560) 2008-06-14 17:49:47 +00:00
Quanah Gibson-Mount
55e8763433 More for ITS#5317 2008-02-12 20:59:20 +00:00
Pierangelo Masarati
648fc5aabb don't use subentries control unless needed (ITS#5293) 2008-02-09 12:35:24 +00:00
Hallvard Furuseth
f247093031 Remove uninitialized variable since last change 2008-01-09 20:25:51 +00:00
Hallvard Furuseth
f150ef3edd for ITS#5317: initialize exit code for -f/dev/null 2008-01-09 20:24:29 +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
Pierangelo Masarati
0d9e140e95 allow to workaround size limits when deleting recursively (ITS#5294) 2007-12-27 21:08:29 +00:00
Pierangelo Masarati
9ab9162f4d fix one-time leaks 2007-12-15 11:51:20 +00:00
Howard Chu
707a09b704 ITS#5247 fix verbose completion messages 2007-12-15 01:51:04 +00:00
Hallvard Furuseth
e5de6a9400 Fix typo in error message 2007-12-08 18:01:47 +00:00
Hallvard Furuseth
adea0057f8 ITS#5248: use volatile sig_atomic_t for signal variables gotintr, abcan 2007-12-06 17:37:41 +00:00
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