S
S
Sam Stay2017-09-20 19:07:21
linux
Sam Stay, 2017-09-20 19:07:21

How to send gpg key to LDAP server with authorization?

SUBJECT.
I try this way:

gpg --keyserver ldap://192.168.1.1:389 --keyserver-options 'binddn="uid=admin,ou=PGP Users,dc=example,dc=com"' --keyserver-options passwd=passwd -- send-keys XXXXXXXXXXXXXXXX

But I get a message:
gpg: keyserver option 'binddn' is unknown
gpg: keyserver option 'passwd' is unknown
gpg: Sending key XXXXXXXXXXXXXXXX to ldap://192.168.1.1:389 gpg: Failed to send to keyserver: Requires (more) strong gpg
LDAP authentication
: Failed to send to keyserver: Requires (stronger) LDAP authentication

Can you please tell me how to send using the command line.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question