You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-09-18 10:38:48

kam46
Member
Registered: 2023-09-18
Posts: 2

10.0.0.9 LDAP filter error

Hi!

When I try to add users from LDAP I get a filter error in CLI "Bad search filter (-7) in /var/www/glpi/src/AuthLDAP.php at line 1941".
In the web interface, users are not searched for or added in the same way.
CLI:

root@invent:/var/www/glpi# php bin/console glpi:ldap:synchronize_users
+--------------+------------------+
| LDAP servers | Insigma_LDAP (1) |
| LDAP filter  |                  |
| Begin Date   |                  |
| End date     |                  |
+--------------+------------------+
Do you want to continue? [Yes/no]y
Processing LDAP server "1"...
PHP User Warning (512): LDAP search with base DN `DC=udevelopment,DC=local` and filter `(& (objectguid=*) (&(objectClass=user)(memberOf=CN=Helpdesk,OU=ServiceAccounts,DC=udevelopment,DC=local))
)` failed
error: Bad search filter (-7) in /var/www/glpi/src/AuthLDAP.php at line 1941
PHP Warning:  LDAP search with base DN `DC=udevelopment,DC=local` and filter `(& (objectguid=*) (&(objectClass=user)(memberOf=CN=Helpdesk,OU=ServiceAccounts,DC=udevelopment,DC=local))
)` failed
error: Bad search filter (-7) in /var/www/glpi/src/AuthLDAP.php on line 1941
Error while contacting the LDAP server "1".
PHP User Warning (512): LDAP search with base DN `DC=udevelopment,DC=local` and filter `(& (objectguid=*) (&(objectClass=user)(memberOf=CN=Helpdesk,OU=ServiceAccounts,DC=udevelopment,DC=local))
)` failed
error: Bad search filter (-7) in /var/www/glpi/src/AuthLDAP.php at line 1941
PHP Warning:  LDAP search with base DN `DC=udevelopment,DC=local` and filter `(& (objectguid=*) (&(objectClass=user)(memberOf=CN=Helpdesk,OU=ServiceAccounts,DC=udevelopment,DC=local))
)` failed
error: Bad search filter (-7) in /var/www/glpi/src/AuthLDAP.php on line 1941
Error while contacting the LDAP server "1".
+-------------+----------+--------------+-------------------+--------------------+
| LDAP server | Imported | Synchronized | Deleted from LDAP | Restored from LDAP |
+-------------+----------+--------------+-------------------+--------------------+
| 1           | 0        | 0            | 0                 | 0                  |
+-------------+----------+--------------+-------------------+--------------------+

Web interface:
LDAP-conf-1.jpg
LDAP-conf-2.jpg
LDAP-conf-3.jpg
Try-import-user-1.jpg
Try-import-user-2.jpg
Try-import-user-3.jpg

How to fix? What am I doing wrong?

Offline

#2 2023-09-21 11:41:54

kam46
Member
Registered: 2023-09-18
Posts: 2

Re: 10.0.0.9 LDAP filter error

Problem has selffixed...

Offline

Board footer

Powered by FluxBB