-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSH Key was refused by the LDAP directory #235
Comments
Do you have loaded the LDAP schema needed to define the sshPublicKey attribute? |
I created the attribute with an ldif file:
and added it: ldapadd -Y EXTERNAL -H ldapi:/// -f config_sshpublickey.ldif Yes it looks like the schema is missing, but there is none in the folder: Edit:
|
You imported the schema correctly, it should now be inside OpenLDAP configuration. You can check with:
Now you must add the |
I added the attribute to one user and for ssh it is working, but its a simple string comparison with a bash script. When the new SSH key is pasted into the web form, are newlines allowed?
|
For the moment the SSH key value syntax is not checked, so new lines are allowed. An issue is opened to control the submitted value #108 |
Hi @liszca, do you still need assistance on this issue ? |
I am closing this issue because the questions were answered |
Hi,
I am not able to replace my existing sshPublicKey, who to get more Information about what could be wrong? Changing the password is working, I looked into the function for changeing the sshkey, but no idea what could be wrong.
/usr/share/self-service-password/conf/config.inc.php
The text was updated successfully, but these errors were encountered: