grommunio-admin-ldap
Name
grommunio-admin ldap — LDAP tools
Synopsis
Description
The grommunio admin ldap module provides functions for configuring and testing the LDAP connection and downloading or updating users.
Commands
checkCheck if the LDAP objects imported users are linked to can still be found, optionally removing orphaned users
configureInteractively configure or modify LDAP connection
downsyncSynchronize or import users from LDAP
dumpPrint LDAP object
infoShow connection status
reloadReload the LDAP configuration and reconnect
searchSearch for users
Options
USERLDAP object ID or search string
-a,--allShow all results, not only importable objects
-c,--completeImport or update all users from the LDAP tree
-f,--forceForce update users that are linked to a different or no LDAP object
--format FORMATOutput format. Can be one of csv, json-flat, json-kv, json-object, json-structured and pretty. Default is pretty.
-l,--langSet language for imported users. Default is to not set any language.
-m,--remove-maildirsAlso remove user files from disk
-n MAX_RESULTS,--max-results MAX_RESULTSMaximum number of results or 0 to disable limit (default 0). Note that the actual number of results may exceed the limit due to paging and filtering.
-o ORGSPEC,--organization ORGSPECUse organization specific LDAP connection. Supports organization ID or name.
-p PAGE_SIZE,--page-size PAGE_SIZESet batch size for paged search. Can be decreased when running into timeout errors with slow LDAP servers. Default is 1000.
-r,--removeRemove imported users of which the linked LDAP object could not be found
-t TYPES,--types TYPESComma separated list of object types to search for. Supported are user, contact and group.
-y,--yesDo not prompt for confirmation, assume yes
See Also
grommunio-admin, grommunio-admin-fs, grommunio-admin-user