You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an Active Directory user with a password that has a specific number of three @'s. Recently, the user's password expired and was changed to one with four @'s (as suggested in the repro steps).
After changing the password, GLPI kept returning an invalid username/password when trying to log in. I was unable to capture logs for this event. Didn't find anything, after hour of searching.
As an attempt to perform tests, after suspecting that there was some error in the synchronization of the registry, I deleted the user and synchronized it again. Same error. The login with other users in the domain occurred perfectly.
As a last attempt, I changed the user's password to one with fewer @ characters (only one). The result was positive, there were no more login errors. I then interpreted that there was some kind of error in GLPI when handling this login data in communication with Active Directory.
Relevant log output
Page URL
No response
Steps To reproduce
Configure a new Active Directory authentication source with appropried filters
PHP version (8.1.2-1ubuntu2.20) is supported.
Sessions configuration is OK.
Allocated memory is sufficient.
mysqli extension is installed.
Following extensions are installed: dom, fileinfo, filter, libxml, json, simplexml, xmlreader, xmlwriter.
curl extension is installed.
gd extension is installed.
intl extension is installed.
zlib extension is installed.
The constant SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES is present.
Database engine version (10.6.18) is supported.
No files from previous GLPI version detected.
The log file has been created successfully.
Write access to /_dados/www/glpi-data/files/_cache has been validated.
Write access to /_dados/www/glpi-data/files/_cron has been validated.
Write access to /_dados/www/glpi-data/files has been validated.
Write access to /_dados/www/glpi-data/files/_dumps has been validated.
Write access to /_dados/www/glpi-data/files/_graphs has been validated.
Write access to /_dados/www/glpi-data/files/_lock has been validated.
Write access to /_dados/www/glpi-data/files/_pictures has been validated.
Write access to /_dados/www/glpi-data/files/_plugins has been validated.
Write access to /_dados/www/glpi-data/files/_rss has been validated.
Write access to /_dados/www/glpi-data/files/_sessions has been validated.
Write access to /_dados/www/glpi-data/files/_tmp has been validated.
Write access to /_dados/www/glpi-data/files/_uploads has been validated.
Web server root directory configuration seems safe.
Sessions configuration is secured.
OS and PHP are relying on 64 bits integers.
exif extension is installed.
ldap extension is installed.
openssl extension is installed.
Following extensions are installed: bz2, Phar, zip.
Zend OPcache extension is installed.
Following extensions are installed: ctype, iconv, mbstring, sodium.
Write access to /_dados/www/glpi-www/marketplace has been validated.
Access to timezone database (mysql) is not allowed.
htmlawed/htmlawed version 1.2.14 in (/_dados/www/glpi-www/vendor/htmlawed/htmlawed)
phpmailer/phpmailer version 6.8.0 in (/_dados/www/glpi-www/vendor/phpmailer/phpmailer/src)
simplepie/simplepie version 1.5.8 in (/_dados/www/glpi-www/vendor/simplepie/simplepie/library)
tecnickcom/tcpdf version 6.7.5 in (/_dados/www/glpi-www/vendor/tecnickcom/tcpdf)
michelf/php-markdown in (/_dados/www/glpi-www/vendor/michelf/php-markdown/Michelf)
true/punycode in (/_dados/www/glpi-www/vendor/true/punycode/src)
iamcal/lib_autolink in (/_dados/www/glpi-www/vendor/iamcal/lib_autolink)
sabre/dav in (/_dados/www/glpi-www/vendor/sabre/dav/lib/DAV)
sabre/http in (/_dados/www/glpi-www/vendor/sabre/http/lib)
sabre/uri in (/_dados/www/glpi-www/vendor/sabre/uri/lib)
sabre/vobject in (/_dados/www/glpi-www/vendor/sabre/vobject/lib)
laminas/laminas-i18n in (/_dados/www/glpi-www/vendor/laminas/laminas-i18n/src)
laminas/laminas-servicemanager in (/_dados/www/glpi-www/vendor/laminas/laminas-servicemanager/src)
monolog/monolog in (/_dados/www/glpi-www/vendor/monolog/monolog/src/Monolog)
sebastian/diff in (/_dados/www/glpi-www/vendor/sebastian/diff/src)
donatj/phpuseragentparser in (/_dados/www/glpi-www/vendor/donatj/phpuseragentparser/src/UserAgent)
elvanto/litemoji in (/_dados/www/glpi-www/vendor/elvanto/litemoji/src)
symfony/console in (/_dados/www/glpi-www/vendor/symfony/console)
scssphp/scssphp in (/_dados/www/glpi-www/plugins/trademark/vendor/scssphp/scssphp/src)
laminas/laminas-mail in (/_dados/www/glpi-www/vendor/laminas/laminas-mail/src/Protocol)
laminas/laminas-mime in (/_dados/www/glpi-www/vendor/laminas/laminas-mime/src)
rlanvin/php-rrule in (/_dados/www/glpi-www/vendor/rlanvin/php-rrule/src)
ramsey/uuid in (/_dados/www/glpi-www/vendor/ramsey/uuid/src)
psr/log in (/_dados/www/glpi-www/vendor/psr/log/Psr/Log)
psr/simple-cache in (/_dados/www/glpi-www/vendor/psr/simple-cache/src)
psr/cache in (/_dados/www/glpi-www/vendor/psr/cache/src)
league/csv in (/_dados/www/glpi-www/vendor/league/csv/src)
mexitek/phpcolors in (/_dados/www/glpi-www/vendor/mexitek/phpcolors/src/Mexitek/PHPColors)
guzzlehttp/guzzle in (/_dados/www/glpi-www/vendor/guzzlehttp/guzzle/src)
guzzlehttp/psr7 in (/_dados/www/glpi-www/vendor/guzzlehttp/psr7/src)
glpi-project/inventory_format in (/_dados/www/glpi-www/vendor/glpi-project/inventory_format/lib/php)
wapmorgan/unified-archive in (/_dados/www/glpi-www/vendor/wapmorgan/unified-archive/src)
paragonie/sodium_compat in (/_dados/www/glpi-www/vendor/paragonie/sodium_compat/src)
symfony/cache in (/_dados/www/glpi-www/vendor/symfony/cache)
html2text/html2text in (/_dados/www/glpi-www/vendor/html2text/html2text/src)
symfony/css-selector in (/_dados/www/glpi-www/vendor/symfony/css-selector)
symfony/dom-crawler in (/_dados/www/glpi-www/vendor/symfony/dom-crawler)
twig/twig in (/_dados/www/glpi-www/vendor/twig/twig/src)
twig/string-extra in (/_dados/www/glpi-www/vendor/twig/string-extra)
symfony/polyfill-ctype not found
symfony/polyfill-iconv not found
symfony/polyfill-mbstring not found
symfony/polyfill-php80 not found
symfony/polyfill-php81 not found
symfony/polyfill-php82 in (/_dados/www/glpi-www/vendor/symfony/polyfill-php82)
league/oauth2-client in (/_dados/www/glpi-www/vendor/league/oauth2-client/src/Provider)
league/oauth2-google in (/_dados/www/glpi-www/vendor/league/oauth2-google/src/Provider)
thenetworg/oauth2-azure in (/_dados/www/glpi-www/vendor/thenetworg/oauth2-azure/src/Provider)
I cannot recreate the issue.
Tested with Active Directory on Windows Server 2016 with the exact password given and also tried doing a password reset with the provided password. In all cases, the user was able to log in to GLPI. I also tested on PHP 8.2 and PHP 8.1.
Code of Conduct
Is there an existing issue for this?
Version
10.0.17
Bug description
I have an Active Directory user with a password that has a specific number of three @'s. Recently, the user's password expired and was changed to one with four @'s (as suggested in the repro steps).
After changing the password, GLPI kept returning an invalid username/password when trying to log in. I was unable to capture logs for this event. Didn't find anything, after hour of searching.
As an attempt to perform tests, after suspecting that there was some error in the synchronization of the registry, I deleted the user and synchronized it again. Same error. The login with other users in the domain occurred perfectly.
As a last attempt, I changed the user's password to one with fewer @ characters (only one). The result was positive, there were no more login errors. I then interpreted that there was some kind of error in GLPI when handling this login data in communication with Active Directory.
Relevant log output
Page URL
No response
Steps To reproduce
Your GLPI setup information
Information about system installation and configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
No response
The text was updated successfully, but these errors were encountered: