Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 50
    • Issues 50
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #5792
Closed
Open
Issue created Mar 13, 2018 by Krügl Matthias@kmatthiasReporter

Locking fails with multiple SSH Keys

Description

When trying to lock a user with two entries of type ssh-rsa I receive an error regarding a failed ldap modify, followed by a misleading warning (see fd issue 5788

Distribution Name and Version

Debian / also present at demo.fusiondirectory.org

FusionDirectory Version

1.0.19-1-debian / 1.2

Plugin with the defect

SSH?

PHP version used

7.0+49 (Debian Stretch)

Origin of php packages

Debian Stretch

Steps to Reproduce

  1. Install / activate plugin SSH
  2. Add Two SSH-Keys for a user (e.g. in the form ssh-rsa AAgibberish= comment )
  3. Try to lock the user
  4. Receive an error and a warning : /

Expected behavior:

Locking of the user.

Actual behavior:

Error message:

LDAP error LDAP modify operation failed! Object: uid=testsasl,ou=people,dc=fusiondirectory,dc=org Error: Type or value exists (sshPublicKey: value #0 provided more than once, while operating on 'uid=testsasl,ou=people,dc=fusiondirectory,dc=org' using LDAP server 'ldap://demo.fusiondirectory.org')

Followed by a warning message (see other issue to be created):

Account locking Password method "sasl" does not support locking. Account "uid=testsasl,ou=people,dc=fusiondirectory,dc=org" has not been locked!

Reproduces how often: 100% (5/5 tries)

Additional Information

The warning message is mis-leading, I will create an other issue for that. (see fd issue 5788).

Edited Mar 13, 2018 by Krügl Matthias
Assignee
Assign to
Time tracking