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 2024-10-29 11:47:33

krischeu
Member
Registered: 2023-10-26
Posts: 40

[SOLVED] GLPI ActiveDirectory - Test connection ok, No user is found

Hi,
I want to import/sync the User of the AD from my Windows 2019 server to GLPI.
LDAP-connections reply --> Test succesful

At the console: /var/www/glpi/bin# php console ldap:sync -u --ldap-filter=objectClass=user
+--------------+-----------------------------+
| LDAP Servers | Technologie GmbH (1) |
| LDAP Filter  | objectClass=user            |
| Startdatum   |                             |
| Gültig bis   |                             |
+--------------+-----------------------------+
Möchten Sie fortfahren? [Yes/no]Yes
Verarbeitung des LDAP-Servers "Technologie GmbH"...
Vorhandene Benutzer mit Server "Technologie GmbH" aktualisieren ...
Benutzer nicht gefunden
+-------------------------+------------+----------------+-------------------+--------------------------------+
| LDAP Server             | Importiert | Synchronisiert | Gelöscht vom LDAP | Aus dem LDAP wiederhergestellt |
+-------------------------+------------+----------------+-------------------+--------------------------------+
| Technologie GmbH | 0          | 0              | 0                 | 0                              |
+-------------------------+------------+----------------+-------------------+--------------------------------+








When I go to Administration, User --> from LDAP-directory --> import new User --> search

It fails with "no user found for importing".

My BaseDN is OU=technologie, DC=local, DC=Company
The users are located recursiv in folders and sub folders

e.g. technologie.local,Company,EDV,User --> here are some user
e.g. technologie.local,Company,ASDF,uhnj,User --> here are some other user
...

I don't set any connection filter.

Can anyone give me some help?

Cheers

Heinz

Last edited by krischeu (2024-11-06 09:54:00)

Offline

#2 2024-11-05 10:02:27

krischeu
Member
Registered: 2023-10-26
Posts: 40

Re: [SOLVED] GLPI ActiveDirectory - Test connection ok, No user is found

My AD looks like this

Office.local --> Company(first Folder)

SUB-Folder as follows
Folder01
Folder02
Folder03
...
FolderPLT
FolderASDF

When I go into a Folder, e.g. Folder03 there is mostly a Sub Folder named User

BaseDN: OU=office,DC=local,DC=Company

Last edited by krischeu (2024-11-05 10:02:55)

Offline

#3 2024-11-05 11:12:35

krischeu
Member
Registered: 2023-10-26
Posts: 40

Re: [SOLVED] GLPI ActiveDirectory - Test connection ok, No user is found

I tested the path within powershell.
This is the solution for me: OU=Company,DC=Technologie,DC=local

TEST at glpi to AD is working like a charme.

Importing user are still not possible. No user is found.

At the powershell with:
Get-aduser -Filter { Name -Like "*" } -Searchbase "OU=Company,DC=Technologie,DC=local"
I recieve a whole bunch of user

Offline

#4 2024-11-06 09:53:37

krischeu
Member
Registered: 2023-10-26
Posts: 40

Re: [SOLVED] GLPI ActiveDirectory - Test connection ok, No user is found

[SOLVED]
Settings at Configuration/Authentication/LDAP-directory
connection filter: (&(objectClass=user)(objectCategory=person))
BaseDN DC=technologie,DC=local
Login Feld samaccountname
Synchronisationsfeld objectguid

Offline

Board footer

Powered by FluxBB