Import users
From users list, three options are available for adding a user :
Add user: Opens a user creation form, similar to the
Add
button; requires profile to be granted user creation authorization...From an external source: Import users from external source
LDAP directory link: Import and synchronize users from LDAP directory
Import users from external source
This button is available when profile is granted user External add authorization. The identifier of a user being known, GLPI allows to search user and to import user's authentication information from an external source. Once user's connection identifier filled, this identifier is search in available directories (button Import from directories) or in other sources (button Import from other sources).
if more that one user is identified by provided identifier, then adding is not performed
when using a mail directory for authentication, no import user list is available
User personal information can be imported under some conditions from a LDAP directory; users imported from a mail server do not get personal information.
Import and synchronize users from LDAP directory
This button is available when profile is granted user External add authorization. GLPI allows users advanced search in a LDAP directory. The interface is restricted to the list of entities for which GLPI connected user is granted authorization (see Administer user profiles). Once entity is selected (if GLPI is in multi-entities mode or if connected user is granted authorization for several entities), a list of criteria is displayed, based on personal information collected from directory. The search syntax for fields is similar to the syntax of GLPI search engine (see Search). Search can be limited to users added or modified in the directory during given time slot by following link Activate date filtering.
An Expert Mode is also proposed by following link on the right of table header. This mode is available for users granted with update authorization either for general configuration or for entities. Unlike simple interface, results are not filtered by entity: the only available criteria are directory, based and users search filter.
advanced interface is reserved for administrators having knowledge of both LDAP directory and GLPI users management.
Once imported from a directory, GLPI stores user's LDAP unique identifier (the distinguedName
or DN
) in addition to connection identifier. This allows to manage updating connection identifier when DN is left untouched. For example, if connection identifier is email address, GLPI will be able to update it without recreating a new user in the case of a change.
If an external authentication source is configured, it becomes possible to import and synchronize users using this source. For regular maintenance of the users base, it is recommended to use the GLPI CLI command glpi:ldap:synchronize_users
. For daily management, the manual import mechanism is available (see above).
Last updated
Was this helpful?