Skip to content

Change authentication.md to correct error#3

Closed
rsmck wants to merge 1 commit intoIcinga:masterfrom
rsmck:master
Closed

Change authentication.md to correct error#3
rsmck wants to merge 1 commit intoIcinga:masterfrom
rsmck:master

Conversation

@rsmck
Copy link
Copy Markdown

@rsmck rsmck commented Jul 2, 2014

The hash_hmac function has the arguments in the order "sha256", password, salt.
Not "sha256", salt, password as is documented.

The hash_hmac function has the arguments in the order "sha256", password, salt. 
Not "sha256", salt, password as is documented.
@lippserd
Copy link
Copy Markdown
Member

Hi,

Thanks for the pull request but I'll close it because we changed how passwords are stored in a database.

Cheers,
Eric

@lippserd lippserd closed this Nov 24, 2014
DMajrekar added a commit to DMajrekar/icingaweb2 that referenced this pull request Nov 30, 2015
When users are in a different BaseDN to the groups, this causes no groups to be loaded out of Ldap. The following error is given:

2015-11-30T08:29:51+00:00 - ERROR - Stacktrace: #0 [internal function]: Icinga\Application\ApplicationBootstrap->Icinga\Application\{closure}(2, 'strpos(): Empty...', '/icingaweb2/lib...', 88, Array)
Icinga#1 /icingaweb2/library/Icinga/Repository/LdapRepository.php(88): strpos('<USER DN>', '')
Icinga#2 /icingaweb2/library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php(394): Icinga\Repository\LdapRepository->isRelatedDn('<USER DN>')
Icinga#3 /icingaweb2/library/Icinga/Authentication/UserGroup/LdapUserGroupBackend.php(487): Icinga\Authentication\UserGroup\LdapUserGroupBackend->isMemberAttributeAmbiguous()
Icinga#4 /icingaweb2/library/Icinga/Repository/Repository.php(436): Icinga\Authentication\UserGroup\LdapUserGroupBackend->initializeConversionRules()
Icinga#5 /icingaweb2/library/Icinga/Repository/Repository.php(590): Icinga\Repository\Repository->getConversionRules()
Icinga#6 /icingaweb2/library/Icinga/Repository/RepositoryQuery.php(329): Icinga\Repository\Repository->providesValueConversion('group', 'group_name')
Icinga#7 /icingaweb2/library/Icinga/Web/Widget/SortBox.php(126): Icinga\Repository\RepositoryQuery->order('group_name', 'asc')
Icinga#8 /icingaweb2/library/Icinga/Web/Controller.php(117): Icinga\Web\Widget\SortBox->handleRequest(Object(Icinga\Web\Request))
Icinga#9 /icingaweb2/application/controllers/GroupController.php(74): Icinga\Web\Controller->setupSortControl(Array, Object(Icinga\Repository\RepositoryQuery))
Icinga#10 /icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Controllers\GroupController->listAction()
Icinga#11 /icingaweb2/library/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch('listAction')
Icinga#12 /icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
Icinga#13 /icingaweb2/library/Icinga/Application/Web.php(361): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
Icinga#14 /icingaweb2/library/Icinga/Application/webrouter.php(109): Icinga\Application\Web->dispatch()
Icinga#15 /icingaweb2/public/index.php(4): require_once('/icingaweb2/lib...')
Icinga#16 {main}
@Crossovo Crossovo mentioned this pull request Nov 3, 2017
@MacFan4000 MacFan4000 mentioned this pull request Dec 11, 2019
@edsonblwolf edsonblwolf mentioned this pull request Jul 7, 2022
@whizps whizps mentioned this pull request Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants