Comments (11)
Do you use Active Directory Controller?
It was tested only on ADC.
Please, double check youre Connection filter and BaseDN.
The LDAP Admin (http://www.ldapadmin.org/index.html) may help you to find right both parameters.
from ldapcomputers.
from ldapcomputers.
Please, give me info about your php version.
from ldapcomputers.
PHP 7.3.7 (cli) (built: Jul 3 2019 11:30:22) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.7, Copyright (c) 1999-2018, by Zend Technologies
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 5890775
Server version: 10.1.40-MariaDB MariaDB Server
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-957.el7.x86_64
Architecture: x86-64
from ldapcomputers.
Please, try new release
from ldapcomputers.
I´ve already done.
LDAP computers | ldapcomputers | 0.4 | AGPLv3+ | Habilitado | Aleksey Kotryakhov
Still have the problem
from ldapcomputers.
Try to use simplest filter like in this article
for example (objectCategory=computer)
Ldapwiki: Active Directory Computer Related LDAP Query
https://ldapwiki.com/wiki/Active%20Directory%20Computer%20Related%20LDAP%20Query
The LDAP Admin (http://www.ldapadmin.org/index.html) may help you to find right DN and filter
Сould you send an error log file php-errors.log located in /var/www/glpi/files/_log folder
I hope you succeed
Regards
from ldapcomputers.
Hello
I confirm
Plugin : 0.4
GLPI 9.4.3
The test of Ldap is ok.
when trying to get computer (with the small rectangle and arrow)
no computer
In log :
[2020-02-26 14:51:41] glpiphplog.ERROR: Toolbox::userErrorHandlerNormal() in wwwroot\inc\toolbox.class.php line 659
*** PHP Warning(2): ldap_search(): Search: Can't contact LDAP server
Backtrace :
:
plugins\ldapcomputers\inc\computer.class.php:717 ldap_search()
plugins\ldapcomputers\inc\computer.class.php:656 PluginLdapcomputersComputer::searchForComputers()
plugins\ldapcomputers\inc\computer.class.php:475 PluginLdapcomputersComputer::getAllComputers()
plugins\ldapcomputers\inc\computer.class.php:453 PluginLdapcomputersComputer::importLdapComputers()
plugins\ldapcomputers\front\ldap.import.php:66 PluginLdapcomputersComputer::searchComputers()
from ldapcomputers.
In fact :
- after activating the LDAP server (in glpi), the filter is set to blank : we have to reset the filter
- there is still an error (due to size of ldap )
*** PHP Warning(2): ldap_search(): Partial search results returned: Sizelimit exceeded
Backtrace :
:
plugins\ldapcomputers\inc\computer.class.php:717 ldap_search()
plugins\ldapcomputers\inc\computer.class.php:656 PluginLdapcomputersComputer::searchForComputers()
plugins\ldapcomputers\inc\computer.class.php:475 PluginLdapcomputersComputer::getAllComputers()
plugins\ldapcomputers\inc\computer.class.php:453 PluginLdapcomputersComputer::importLdapComputers()
plugins\ldapcomputers\front\ldap.import.php:66 PluginLdapcomputersComputer::searchComputers()
from ldapcomputers.
Hm...
Go to the LDAP computers config, open settings of your domain controller.
Than go to Advanced information and change Use paged results from No to Yes
Try to use filter like in this article
Ldapwiki: Active Directory Computer Related LDAP Query
https://ldapwiki.com/wiki/Active%20Directory%20Computer%20Related%20LDAP%20Query
from ldapcomputers.
it's ok, and setting size page to 2000.
Thanks
from ldapcomputers.
Related Issues (15)
- Your plugin submission HOT 2
- No directory associated to entity: impossible search HOT 1
- How to help HOT 1
- Insertion into Computer HOT 10
- Status of Computer in AD HOT 3
- Conflict when two computers have the same name in different domains HOT 3
- Translation HOT 1
- Getting the computer attributes
- compatibility with GLPI 9.5.0 HOT 4
- Compatibilité HOT 1
- FQDN seems to be user to match with GLPI names HOT 1
- Match between GLPI name and plugin is done by FQDN HOT 2
- GLPI 9.5.5 incompatible HOT 1
- Clusters Objects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ldapcomputers.