@stephdl did GLPI for ns7 have pre-configured Ldap?
Also, would you be open to creating an NS7 to NS8 migration from the same?
@Shane_Treweek documented here some LDap on the interface
from this: GLPI-Latest with FlyveMDM and Fusion inventory - Howto - NethServer Community
Step 5.
To Setup LDAP(Nethserver AD) Under the glpi webinterface go to Setup > Authentication > LDAP directories and fill out the following:
------------------------------------------------LDAP Server Connection----------------------------------------------------
Default server=Servername-(or fqdn either works i believe it’s more of a descriptive name) Active=Yes Server=ldaps://ad.yourdomain.tld Port=636 Connexion filter (all users) : (&(objectClass=user)(objectCategory=person)) Connexion filter (all enabled users) :(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2))) BaseDN=dc=ad,dc=yourdomain,dc=com,dc=au RootDN=ldapservice@AD.YOURDOMAIN.COM.AU Password your password for ldapservice Login Field=samaccountname Synchronization field=objectguid
---------------------------Binding to the LDAP directory (at least for anyone using Nethserver as ad)---------
Surname=sn First name=givenname Email=mail Phone=telephonenumber Mobile phone=mobile Picture=thumbnailphoto Location=%{streetaddress},%{postalcode},%{st},%{co}
--------------------Belonging to groups--------------
Search type=Users and Groups User attribute containing its groups=memberof Filter to search in groups=(objectClass=user)
I am not really sure if this timezone thing is currently an issue on NS8, Maybe some one could help test this out
--------------------------------------------Advanced information---------------------------------------------------------
LDAP directory timezone=yourGMT Offset if unsure check here *Note if you get an error about mysql cant access timezone use this script thanks to @stephdl
fixtimezone.sh
#!/bin/bash source /opt/rh/rh-mariadb105/enable mysql --socket=/run/rh-mariadb105-mariadb/glpi-mysql.sock -e "GRANT SELECT ON mysql.time_zone_name TO 'glpi'@'%';" mysql --socket=/run/rh-mariadb105-mariadb/glpi-mysql.sock -e "FLUSH PRIVILEGES" su - apache -s /bin/bash -c "/opt/rh/rh-php73/root/bin/php /usr/share/glpi/bin/console glpi:maintenance:enable" mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql --socket=/run/rh-mariadb105-mariadb/glpi-mysql.sock mysql su - apache -s /bin/bash -c "/opt/rh/rh-php73/root/bin/php /usr/share/glpi/bin/console glpi:migration:timestamps --no-interaction" su - apache -s /bin/bash -c "/opt/rh/rh-php73/root/bin/php /usr/share/glpi/bin/console glpi:maintenance:disable"
Domain name used by inventory tool for link the user=
ad.yourdomain.com.au
then go to Administration > Users
click on [LDAP Directory Link]
Then Click on
[Import new users]
and on
[expert mode]
and
[search]
then do the same for groups