You are not logged in.
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
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
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
[SOLVED]
Settings at Configuration/Authentication/LDAP-directory
connection filter: (&(objectClass=user)(objectCategory=person))
BaseDN DC=technologie,DC=local
Login Feld samaccountname
Synchronisationsfeld objectguid
Offline