From 5f161ea94d5248926a622cb2c2035e80209bea07 Mon Sep 17 00:00:00 2001 From: Edwin Kempin Date: Mon, 25 Jun 2012 16:31:35 +0200 Subject: [PATCH] create-group: document that account is created if LDAP auth succeeds The 'create-group' command allows to add initial group members with the '--member' option. Trying to add a user that doesn't have an account in Gerrit fails, unless LDAP is used for authentication. If LDAP is used for authentication and the user is not found, Gerrit tries to authenticate the user against the LDAP backend. If the authentication is successful a user account is automatically created, so that the user can be added to the group. Describe this feature in the documentation of the 'create-group' command. Change-Id: I753e546c311b963afd0ebd8571dc3df63183b86d Signed-off-by: Edwin Kempin --- Documentation/cmd-create-group.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/cmd-create-group.txt b/Documentation/cmd-create-group.txt index 475d2c5664..8d404ec0a8 100644 --- a/Documentation/cmd-create-group.txt +++ b/Documentation/cmd-create-group.txt @@ -53,6 +53,13 @@ Description values containing spaces should be quoted in single quotes --member:: User name to become initial member of the group. Multiple --member options may be specified to add more initial members. ++ +Trying to add a user that doesn't have an account in Gerrit fails, +unless LDAP is used for authentication. If LDAP is used for +authentication and the user is not found, Gerrit tries to authenticate +the user against the LDAP backend. If the authentication is successful +a user account is automatically created, so that the user can be added +to the group. --group:: Group name to include in the group. Multiple --group options may