Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

LDAP PHP Warning: ldap_bind():

Hello,

After Update OSC serveur i have the probleme to connecte to LPDA (AD serveur ):

  • Version de PHP :
  • Serveur Web :
  • Serveur SQL :
  • Version OCSReports:
  • 7.4.30
  • Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.4.30 mod_perl/2.0.11 Perl/v5.16.3
  • MySQL Community Server (GPL) version 5.7.39
  • 2.10.0

Warning:  ldap_bind(): Unable to bind to server: Invalid credentials in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php on line 143, referer: https://server/ocsreports/index.php
PHP Warning:  ldap_search(): supplied argument is not a valid ldap link resource in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php on line 83, referer: https://server/ocsreports/index.php
PHP Warning:  ldap_count_entries() expects parameter 1 to be resource, bool given in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php on line 84, referer: https://server/ocsreports/index.php
PHP Warning:  ldap_get_entries() expects parameter 1 to be resource, bool given in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php on line 85, referer: https://server/ocsreports/index.php
PHP Warning:  ldap_close() expects parameter 1 to be resource, bool given in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php on line 86, referer: https://server/ocsreports/index.php

php-ldap-7.4.30-1.el7.remi.x86_64
$list_methode = get_list_methode(2);

define('AUTH_TYPE', 2);

thx for help

in OCS Inventory NG server for Unix by (160 points)
edited by

3 Answers

0 votes

Hi all,

I'm in the same case after updated to 2.10

  • Version de PHP :
  • Serveur Web :
  • Serveur SQL :
  • Version OCSReports:
  • 7.3.33
  • Apache/2.4.37 (Red Hat Enterprise Linux) OpenSSL/1.1.1k mod_perl/2.0.12 Perl/v5.26.3
  • MariaDB Server version 10.3.32-MariaDB
  • 2.10.0

php-ldap-7.3.33-1.el8.remi.x86_64

thx.

by (400 points)
edited by
0 votes
Hello thank you for your reply.
In my case the os version is Redhat 7.9 and the php version is:
php-pdo-7.4.30-1.el7.remi.x86_64
php-gd-7.4.30-1.el7.remi.x86_64
php-json-7.4.30-1.el7.remi.x86_64
php-opcache-7.4.30-1.el7.remi.x86_64
php-PsrLog-1.1.3-1.el7.noarch
php-fedora-autoloader-1.0.1-2.el7.noarch
php-common-7.4.30-1.el7.remi.x86_64
php-cli-7.4.30-1.el7.remi.x86_64
php-mysqlnd-7.4.30-1.el7.remi.x86_64
php-intl-7.4.30-1.el7.remi.x86_64
php-xml-7.4.30-1.el7.remi.x86_64
php-xmlrpc-7.4.30-1.el7.remi.x86_64
php-pecl-zip-1.21.0-3.el7.remi.7.4.x86_64
php-soap-7.4.30-1.el7.remi.x86_64
php-mbstring-7.4.30-1.el7.remi.x86_64
php-pear-CAS-1.3.9-1.el7.noarch
oniguruma5php-6.9.8-1.el7.remi.x86_64
php-sodium-7.4.30-1.el7.remi.x86_64
php-7.4.30-1.el7.remi.x86_64
php-ldap-7.4.30-1.el7.remi.x86_64
php-pecl-apcu-5.1.21-1.el7.remi.7.4.x86_64
gd3php-2.3.3-7.el7.remi.x86_64

by (160 points)
0 votes

OS Red Hat Enterprise Linux release 8.6 (Ootpa)

php-xml-7.3.33-1.el8.remi.x86_64

php-sodium-7.3.33-1.el8.remi.x86_64

php-pear-CAS-1.4.0-1.el8.remi.noarch

php-pdo-7.3.33-1.el8.remi.x86_64

php-gd-7.3.33-1.el8.remi.x86_64

php-PsrLog-1.1.4-1.el8.remi.noarch

php-phpmailer6-6.5.3-1.el8.remi.noarch

php-common-7.3.33-1.el8.remi.x86_64

php-mbstring-7.3.33-1.el8.remi.x86_64

php-mysqlnd-7.3.33-1.el8.remi.x86_64

php-ldap-7.3.33-1.el8.remi.x86_64

php-fedora-autoloader-1.0.1-2.el8.remi.noarch

php-json-7.3.33-1.el8.remi.x86_64

php-fpm-7.3.33-1.el8.remi.x86_64

php-7.3.33-1.el8.remi.x86_64

php-intl-7.3.33-1.el8.remi.x86_64

php-cli-7.3.33-1.el8.remi.x86_64

php-imap-7.3.33-1.el8.remi.x86_64

oniguruma5php-6.9.7.1-1.el8.remi.x86_64

php-opcache-7.3.33-1.el8.remi.x86_64

php-soap-7.3.33-1.el8.remi.x86_64

by (400 points)
 
Powered by Question2Answer
...