[
https://issues.apache.org/jira/browse/GUACAMOLE-825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16871549#comment-16871549
]
Michael Jumper commented on GUACAMOLE-825:
------------------------------------------
{quote}
{code:none}
guacd[1582]: ERROR: Auth key import failed: no start line
{code}
{quote}
Assuming that {{attribute: < URI}} syntax does pull the value of the LDAP
attribute from a file when the LDIF file is imported, you need to ensure that
the private key is indeed an SSH private key in OpenSSH format. The error you
are seeing is occurring because the private key is missing the {{--- BEGIN RSA
PRIVATE KEY ---}} (or similar) line. If you are sure the key is in the correct
format, the next thing to check would be whether the key was actually correctly
imported to LDAP through executing an LDAP query from the command line. You
should see the actual key present.
If after the above you're unable to figure out why your private key is not
working, please open a thread on the [email protected] mailing list.
> Loading SSH private key from Active Directory LDAP fails
> --------------------------------------------------------
>
> Key: GUACAMOLE-825
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-825
> Project: Guacamole
> Issue Type: Bug
> Components: guacamole
> Affects Versions: 1.0.0
> Environment: Docker connected to Active Directory 2019
> Reporter: Ian Reinhart Geiser
> Priority: Major
> Attachments: docker-compose.yml, guacamole.conf, guacamole.ldif
>
>
> I have imported an ldif file to my active directory for a SSH account.
> Password authentication works just fine, but no matter how I import it I
> cannot get the SSH private key to be loaded. It keeps asking me for a key
> passphrase, when in fact it should have none. When I press the enter key on
> the terminal i see the error below:
> {code:java}
> guacd[6]: INFO: Creating new client for protocol "ssh"
> guacd[6]: INFO: Connection ID is "$dfe3c6c8-7f5f-4e35-b48c-724d6bdbe135"
> guacd[1582]: INFO: User "@45ad52dc-8118-4a72-ac51-71ab0eedec18" joined
> connection "$dfe3c6c8-7f5f-4e35-b48c-724d6bdbe135" (1 users now present)
> guacd[1582]: ERROR: Auth key import failed: no start line
> guacd[1582]: INFO: User "@45ad52dc-8118-4a72-ac51-71ab0eedec18"
> disconnected (0 users remain)
> guacd[1582]: INFO: Last user of connection
> "$dfe3c6c8-7f5f-4e35-b48c-724d6bdbe135" disconnected
> guacd[6]: INFO: Connection "$dfe3c6c8-7f5f-4e35-b48c-724d6bdbe135" removed.
> {code}
> I have attached the ldif file, the docker compose, and the configuration
> file. I have confirmed that password interactive does work correctly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)