From 7e4c48c0caddb6e1fef8d72935e5737713dafd7f Mon Sep 17 00:00:00 2001 From: Carla Schroder Date: Wed, 18 Feb 2015 17:22:43 -0800 Subject: [PATCH] add occ ldap:check-user --- admin_manual/configuration/occ_command.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/admin_manual/configuration/occ_command.rst b/admin_manual/configuration/occ_command.rst index dcbc2a8cc..208176ea6 100644 --- a/admin_manual/configuration/occ_command.rst +++ b/admin_manual/configuration/occ_command.rst @@ -221,6 +221,11 @@ This example searches for usernames that includes "rob":: $ sudo -u www-data php occ ldap:search rob +Check if an LDAP user exists. This works only if the ownCloud server is +connected to an LDAP server:: + + $ sudo -u www-data php occ ldap:check-user robert + You can see your whole LDAP configuration, or the configuration for a single configID:: @@ -237,7 +242,7 @@ example that sets search attributes:: the server:: $ sudo -u www-data php occ ldap:test-config "" - The configuration is valid and the connection could be established! + The configuration is valid and the connection could be established! File Scanning -------------