OpenBSD CVS

CVS log for src/usr.bin/ldap/ldapclient.c


[BACK] Up to [local] / src / usr.bin / ldap

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Thu Sep 2 21:09:29 2021 UTC (2 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, HEAD
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored)

rather than using sys/param.h, define a local replacement MINIMUM() instead
of MIN(), as done elsewhere

Revision 1.12 / (download) - annotate - [select for diffs], Sat Jan 26 10:58:54 2019 UTC (5 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

avoid double free, instead flowing through a free(NULL)
from Ville Valkonen

Revision 1.11 / (download) - annotate - [select for diffs], Thu Nov 29 14:25:07 2018 UTC (5 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

update for libtls default cert changes.
bonus: this exposed a few missing const qualifiers.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 27 12:04:57 2018 UTC (5 years, 5 months ago) by martijn
Branch: MAIN
Changes since 1.9: +26 -20 lines
Diff to previous 1.9 (colored)

LDAP returns values as OCTET STRINGs, which can be LDAPStrings, but isn't
always the case. This caused some malformed output when querying databases
returning data containing NUL-bytes. Fix this by also returning the
actual size.

With this diff we should produce basically identical output to openldap's
ldapsearch.

Lots of back and forths with claudio@

OK claudio@

Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 7 13:58:51 2018 UTC (5 years, 6 months ago) by martijn
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

RFC2849 requires us to have 2 colons after the value-spec.

OK claudio@

Revision 1.8 / (download) - annotate - [select for diffs], Tue Nov 6 20:38:42 2018 UTC (5 years, 6 months ago) by jsing
Branch: MAIN
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

Use TLS_CA_CERT_FILE instead of a separate define.

ok beck@ bluhm@ tb@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 6 14:15:29 2018 UTC (5 years, 6 months ago) by martijn
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Fix base64 outlen calculation.

OK claudio@

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 6 14:14:12 2018 UTC (5 years, 6 months ago) by martijn
Branch: MAIN
Changes since 1.5: +8 -3 lines
Diff to previous 1.5 (colored)

Implement SAFE-INIT-CHAR.

OK claudio@

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 23 08:28:34 2018 UTC (5 years, 6 months ago) by martijn
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

*** empty log message ***

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 23 08:24:50 2018 UTC (5 years, 6 months ago) by martijn
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

Fix off by one when wrapping long LDIF lines.

OK reyk@

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 3 10:10:09 2018 UTC (5 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

- instead of trying to show a 100% accurate synopsis for -H, simplify it
and add some explanatory text: originally from a diff proposed by
matthew martin, with an adjusted text by him

- while here, sync synopsis and usage(), and some other minor tweaks

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jun 26 09:47:20 2018 UTC (5 years, 10 months ago) by reyk
Branch: MAIN
Changes since 1.1: +35 -6 lines
Diff to previous 1.1 (colored)

Allow to read the password from a file with -y

Pointed out by Tim Chase

OK rob@ gsoares@ jmc@

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Jun 13 15:45:58 2018 UTC (5 years, 11 months ago) by reyk
Branch: reyk
CVS Tags: ldap_20180613
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import ldap(1), a simple ldap search client.

We have an ldapd(8) server and ypldap in base, so it makes sense to
have a simple LDAP client without depending on the OpenLDAP package.
This tool can be used in an ssh(1) AuthorizedKeysCommand script.

With feedback from many including millert@ schwarze@ gilles@ dlg@ jsing@

OK deraadt@

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 13 15:45:58 2018 UTC (5 years, 11 months ago) by reyk
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.