File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,13 +53,17 @@ User search attributes are set with ``ldap:set-config``
5353quickly. For example, you'll find Terri Hanson by searching for ``te ha ``.
5454Trailing whitespaces are ignored.
5555
56+ ldap\: check-user
57+ ^^^^^^^^^^^^^^^^
58+
5659Check if an LDAP user exists. This works only if the Nextcloud server is
5760connected to an LDAP server::
5861
5962 sudo -E -u www-data php occ ldap:check-user robert
6063
61- ldap\: check-user
62- ^^^^^^^^^^^^^^^^
64+ Use ``--update `` to update the account fields from LDAP::
65+
66+ sudo -E -u www-data php occ ldap:check-user --update robert
6367
6468Will not run a check when it finds a disabled LDAP
6569connection. This prevents users that exist on disabled LDAP connections from
@@ -69,6 +73,9 @@ use the ``--force`` option to force it to check all active LDAP connections::
6973
7074 sudo -E -u www-data php occ ldap:check-user --force robert
7175
76+ You can also use ``--all-seen-users `` to run the check on all users that logged into Nextcloud at least once.
77+ You may use ``--limit `` and ``--offset `` to do so by batch. You can combine this with ``--update `` to update the information of seen users.
78+
7279ldap\: check-group
7380^^^^^^^^^^^^^^^^^
7481
@@ -168,5 +175,3 @@ ldap\:show-remnants
168175
169176Used to clean up the LDAP mappings table, and is
170177documented in :doc: `../configuration_user/user_auth_ldap_cleanup `.
171-
172-
You can’t perform that action at this time.
0 commit comments