Command line tool for working with OMERO and LDAP
- OMERO 5.4.x+
- Java 8+
$ omero-ldaptool --help
Usage: <main class> [--debug] [--help] <config> <username>
<config> LDAP configuration properties file
<username> Username to search for
--debug Set logging level to DEBUG
--help Display this help and exit
The format of "config" is a standard Java properties file which should at a
minimum include the omero.db.*
and omero.ldap.*
configuration
options from your OMERO server.
Additional non-standard options for socket timeout testing:
omero.ldap.connect_timeout
(in milliseconds; setscom.sun.jndi.ldap.connect.timeout
on the Spring LDAP default context source)omero.ldap.read_timeout
(in milliseconds; setscom.sun.jndi.ldap.read.timeout
on the Spring LDAP default context source)
-
Clone the repository::
git clone git@github.com:glencoesoftware/omero-ldaptool.git
-
Run the Gradle build and utilize the artifacts as required::
./gradlew installDist cd build/install ...
Using Gradle run the unit tests:
./gradlew test
-
Run the Gradle Eclipse task::
./gradlew eclipse