On Wed, Jun 20, 2018 at 04:32:34PM +0200, Reyk Floeter wrote:
> Hi,
> 
> the following diff adds support for reading the bind secret from a
> file; this allows to hide it from ps.  The -y flag is once again
> compatible with OpenLDAP's client.
> 
> Pointed out by Tim Chase on Twitter.
> 
> OK?

builds and runs fine here.

;;x250 ~/hack/cvs/src/usr.bin/ldap> ./ldap search -c /etc/ldap/certs/lo0.crt -H 
ldaps://localhost -D \
        "cn=admin,dc=trusted,dc=com,dc=br" -b \
        "ou=people,dc=trusted,dc=com,dc=br" -y secret

ou: people
description: All people in organisation
objectclass: organizationalunit

dn: cn=gleydson soares,ou=people,dc=trusted,dc=com,dc=br
objectclass: inetOrgPerson
cn: Gleydson Soares
sn: Gleydson
uid: gsoares
<...>

i like it, ok gsoares@

Reply via email to