| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
so move our BER API to the unused ober_* prefix to avoid some
breakage in ports.
Problem diagnosed by jmatthew with ber_free() in samba, but
there are many others as pointed out by sthen.
tests & ok rob
ok sthen (who had an almost identical diff for libutil)
"go head hit it" deraadt
|
|
|
|
|
|
|
|
|
|
|
| |
by ber_scanf_elements must exist.
aldap.c apparently abused the old behaviour by always trying to retrieve
the referral element, which according to RFC4511 section 4.1.9 is optional.
This diff only requests the referral element if we get a referral response.
OK rob@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
ok claudio@
|
|
|
|
| |
ok claudio@
|
|
|
|
|
| |
This way the size is the same on all archs and 32bit should be good enough.
OK rob@
|
| |
|
|
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@
|