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
check
Check if the LDAP objects imported users are linked to can still be found, optionally removing orphaned users
configure
Interactively configure or modify LDAP connection
downsync
Synchronize or import users from LDAP
dump
Print LDAP object
info
Show connection status
reload
Reload the LDAP configuration and reconnect
search
Search for users
Options
USER
LDAP object ID or search string
-a
,--all
Show all results, not only importable objects
-c
,--complete
Import or update all users from the LDAP tree
-f
,--force
Force update users that are linked to a different or no LDAP object
--format FORMAT
Output format. Can be one of csv, json-flat, json-kv, json-object, json-structured and pretty. Default is pretty.
-l
,--lang
Set language for imported users. Default is to not set any language.
-m
,--remove-maildirs
Also remove user files from disk
-n MAX_RESULTS
,--max-results MAX_RESULTS
Maximum 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 ORGSPEC
Use organization specific LDAP connection. Supports organization ID or name.
-p PAGE_SIZE
,--page-size PAGE_SIZE
Set batch size for paged search. Can be decreased when running into timeout errors with slow LDAP servers. Default is 1000.
-r
,--remove
Remove imported users of which the linked LDAP object could not be found
-t TYPES
,--types TYPES
Comma separated list of object types to search for. Supported are user, contact and group.
-y
,--yes
Do not prompt for confirmation, assume yes
See Also
grommunio-admin, grommunio-admin-fs, grommunio-admin-user