Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #3932
Closed
Open
Issue created Jul 07, 2015 by bmortier@bmortierMaintainer

Password default hashes of type CRYPT/XXX other than CRYPT/MD5 are not working

When the configuration is adjusted as follows:

fdPasswordDefaultHash: crypt/sha-512

the password is saved in crypt/md5 format and if I change the password I get the following error:

fusiondirectory/include/password-methods/class_password-methods-crypt.inc (Line 122): "Undefined variable: salt"

It seems that on this call @$this->hash@ is empty.

I've been looking at the code and on the file @fusiondirectory/plugins/personal/password/class_password.inc@ I've found a @forceHash@ function that nobody seems to use and a class variable @forcedHash@ that nobody uses either... just a hint for someone more familiar with the code.

(from redmine: issue id 3932, created on 2015-07-07, closed on 2015-07-08)

  • Relations:
    • copied_to #3938
    • copied_to #3959
  • Changesets:
    • Revision a84ff824 by Côme Chilliet on 2015-07-07T15:02:03.000Z:
Fixes #3932 Password default hashes of type CRYPT/XXX other than CRYPT/MD5 are not working
  • Custom Fields:
    • Bug in version: 1.0.8.8
  • Uploads:
    • fusiondirectory-bug-report.txt Bug trace
    • 0001-Fixes-3932-Password-default-hashes-of-type-CRYPT-XXX.patch
Assignee
Assign to
Time tracking