summaryrefslogtreecommitdiffstats
path: root/usr.bin/ldap/aldap.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rm a few more $Id which cannot be usefultedu2019-01-171-2/+1
|
* LDAP returns values as OCTET STRINGs, which can be LDAPStrings, but isn'tmartijn2018-11-271-29/+30
| | | | | | | | | | | | | 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@
* Change ber_write_elements() to return ssize_t instead of int.rob2018-08-121-4/+4
| | | | ok claudio@
* Fix some debugging output now that ber type and encoding are unsigned int.rob2018-07-311-4/+4
| | | | ok claudio@
* Make ber type and encoding a unsigned int instead of unsigned long.claudio2018-07-311-10/+9
| | | | | This way the size is the same on all archs and 32bit should be good enough. OK rob@
* Fix DEBUG messagereyk2018-06-211-3/+3
|
* Import ldap(1), a simple ldap search client.reyk2018-06-131-0/+1394
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@