Discussion:
How to tell if dirmngr supports LDAP?
(too old to reply)
n***@example.invalid
2022-03-30 12:35:55 UTC
Permalink
Does anyone know how to tell if GPG has LDAP enabled?

When I test it out I get:

gpg --keyserver ldap://localhost/ --send-keys F....1

gpg: sending key F...1 to ldap://localhost/
gpg: keyserver send failed: Not supported
gpg: keyserver send failed: Not supported

There is no pause, the above error is immediate. No sign of network
timeouts.

I look over at the logs for slapd and I don't see any efforts to
connect to the LDAP server, not even authentication errors which
makes me wonder if gpg is even trying to connect to ldap on
localhost?


Thanks!
n***@example.invalid
2022-03-30 12:40:02 UTC
Permalink
Post by n***@example.invalid
Does anyone know how to tell if GPG has LDAP enabled?
gpg --keyserver ldap://localhost/ --send-keys F....1
gpg: sending key F...1 to ldap://localhost/
gpg: keyserver send failed: Not supported
gpg: keyserver send failed: Not supported
There is no pause, the above error is immediate. No sign of network
timeouts.
I forgot to add this:

ldd /usr/bin/dirmngr
..
..
libldap_r-2.4.so.2 => /lib/arm-linux-gnueabihf/libldap_r-2.4.so.2
..
..

So it seems to be linked against the LDAP library(?) I'm stumped.
Loading...