blob: 9189fee6bc3ca12dfd725bcb759d4c56ca7e93e3 [file] [log] [blame]
Edwin Kempinb3b0d292011-09-14 14:17:34 +02001LocalUsernamesToLowerCase
2=========================
3
4NAME
5----
6LocalUsernamesToLowerCase - Convert the local username of every
7account to lower case
8
9SYNOPSIS
10--------
11[verse]
12'java' -jar gerrit.war 'LocalUsernamesToLowerCase' -d <SITE_PATH>
13
14DESCRIPTION
15-----------
16Converts the local username for every account to lower case. The
17local username is the username that is used to login into the Gerrit
18WebUI.
19
20This task is only intended to be run if the configuration parameter
21link:config-gerrit.html#ldap.localUsernameToLowerCase[ldap.localUsernameToLowerCase]
22was set to true to achieve case insensitive LDAP login to the Gerrit
23WebUI.
24
25Please be aware that the conversion of the local usernames to lower
26case can't be undone.
27
28The program will produce errors if there are accounts that have the
29same local username, but with different case. In this case the local
30username for these accounts is not converted to lower case.
31
32This task can run in the background concurrently to the server if the
33database is MySQL or PostgreSQL. If the database is H2, this task
34must be run by itself.
35
36OPTIONS
37-------
38
39-d::
40\--site-path::
41 Location of the gerrit.config file, and all other per-site
42 configuration data, supporting libraries and log files.
43
44\--threads::
45 Number of threads to perform the scan work with. Defaults to
46 twice the number of CPUs available.
47
48CONTEXT
49-------
50This command can only be run on a server which has direct
51connectivity to the metadata database.
52
53EXAMPLES
54--------
55To convert the local username of every account to lower case:
56
57====
58 $ java -jar gerrit.war LocalUsernamesToLowerCase -d site_path
59====
60
61See Also
62--------
63
64* Configuration parameter link:config-gerrit.html#ldap.localUsernameToLowerCase[ldap.localUsernameToLowerCase]
65
66GERRIT
67------
68Part of link:index.html[Gerrit Code Review]