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.

Connect OCS Inventory to LDAP server Failes

Config Server :

ldap.Firma.com

CN=Search,OU=X,OU=X,OU=X,DC=X,DC=Firma,DC=com

PW

389

OU=X,DC=X,DC=Firma,DC=com

 

sAMAccountName

3

RO

2

RO

Administratoren

 

First without filters

 

fehler : in apache 2 log :

 

 [php:warn] [pid 1885481] PHP Warning:  Undefined variable $filter in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php on line 99, referer: https://OCSServer /ocsreports/index.php

 [php:warn [client] PHP Warning:  Undefined variable $filter in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php on line 99, referer: https://OCSServer /ocsreports/index.php

 [php:warn] [pid 1885481] [client] PHP Warning:  ldap_bind(): Unable to bind to server: Strong(er) authentication required in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php on line 143, referer: https://OCSServer /ocsreports/index.php

[] [php:error] [pid 1885481] [] PHP Fatal error:  Uncaught TypeError: ldap_search(): Argument #1 ($ldap) must be of type LDAP|array, bool given in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php:102\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php(102): ldap_search()\n#1 /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php(66): search_on_loginnt()\n#2 /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php(45): verif_pw_ldap()\n#3 /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/auth.php(100): require_once('...')\n#4 /usr/share/ocsinventory-reports/ocsreports/require/header.php(321): require_once('...')\n#5 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('...')\n#6 {main}\n  thrown in /usr/share/ocsinventory-reports/ocsreports/backend/AUTH/methode/ldap.php on line 102, referer: https://OCSServer /ocsreports/index.php

 

 

Server:

  • PHP-Version :8.1.2
  • Apache/2.4.52 (Ubuntu)
  • Version OCSReports:2.12.1

In  var.php file is AUTH_TYPE value :  2

 

ANY HELP ? or Suggestion ?

ago in OCS Inventory NG server for Unix by (120 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...