Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG server
Viewing all articles
Browse latest Browse all 7074

LDAP login broke down after an upgrade to OCS 2.5

$
0
0
Hello!

I just upgraded OCS Inventory server to version 2.5, but after an upgrade if I try to log in with domain user, it says "User not registered". If I log in with admin account, then I can see domain users that have been registered before.

CONEX_LDAP_CHECK_FIELD_NAME is memberof.
I have tried to change it to comment, department and so on.

In apache error.log I can see lot of notices about duplicate entries:

[Thu Nov 08 14:18:34.344984 2018] [core:notice] [pid 30603] AH00094: Command line: '/usr/sbin/apache2'
DBD::mysql::db do failed: Duplicate entry '1709' for key 'PRIMARY' at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.
DBD::mysql::db do failed: Duplicate entry '5596' for key 'PRIMARY' at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.
DBD::mysql::db do failed: Duplicate entry '1845' for key 'PRIMARY' at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.
DBD::mysql::db do failed: Duplicate entry '5631' for key 'PRIMARY' at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Server/Inventory/Update/AccountInfos.pm line 66.

Also it marks down:

[Thu Nov  8 14:18:34 2018] OCSINVENTORY: (SOAP): Cannot find XML::Entities
Scalar value @part_query[...] better written as $part_query[...] at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
Scalar value @args[...] better written as $args[...] at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Thu Nov  8 14:18:34 2018] OCSINVENTORY: (SOAP): Cannot find XML::Entities
Scalar value @part_query[...] better written as $part_query[...] at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
Scalar value @args[...] better written as $args[...] at /usr/local/share/perl/5.22.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Thu Nov 08 14:18:34.344911 2018] [mpm_prefork:notice] [pid 30603] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g mod_perl/2.0.9 Perl/v5.22.1 configured -- resuming normal operations

Could you help me to solve the situation with ldap logging?

Viewing all articles
Browse latest Browse all 7074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>