{"id":28205172,"url":"https://github.com/ome/docker-example-omero-ldap","last_synced_at":"2026-02-04T15:08:21.910Z","repository":{"id":52721426,"uuid":"271559328","full_name":"ome/docker-example-omero-ldap","owner":"ome","description":"docker-compose example for authenticating OMERO against LDAP","archived":false,"fork":false,"pushed_at":"2021-04-20T08:17:13.000Z","size":9,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-17T08:12:48.688Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ome.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-11T13:53:38.000Z","updated_at":"2022-04-11T06:25:08.000Z","dependencies_parsed_at":"2022-08-22T10:01:20.844Z","dependency_job_id":null,"html_url":"https://github.com/ome/docker-example-omero-ldap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ome%2Fdocker-example-omero-ldap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ome%2Fdocker-example-omero-ldap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ome%2Fdocker-example-omero-ldap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ome%2Fdocker-example-omero-ldap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ome","download_url":"https://codeload.github.com/ome/docker-example-omero-ldap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":256592429,"owners_count":22412823,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-17T08:13:28.855Z","updated_at":"2026-02-04T15:08:21.880Z","avatar_url":"https://github.com/ome.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# OMERO.server and OMERO.web with LDAP (docker-compose)\n\n[![Actions Status](https://github.com/ome/docker-example-omero-ldap/workflows/Build/badge.svg)](https://github.com/ome/docker-example-omero-ldap/actions)\n\nThis is an example of running OMERO.server and OMERO.web in Docker\nalong with an ApacheDS container for LDAP authentication.\n\nOMERO.server is listening on the standard OMERO ports `4063` and `4064`.\nOMERO.web is listening on port `4080` (http://localhost:4080/).\nApacheDS is listening on port `10389`.\n\nLog in as user `root` password `omero`.\nThe initial password can be changed in [`docker-compose.yml`](docker-compose.yml).\n\n## Run\n\nFirst pull the latest major versions of the containers:\n\n    docker-compose pull\n\nThen start the containers:\n\n    docker-compose up -d\n    docker-compose logs -f\n\nFor more configuration options see:\n- https://github.com/ome/omero-server-docker/blob/master/README.md\n- https://github.com/ome/omero-web-docker/blob/master/README.md\n\n## User management\n\nIn the `ldap` container, you can use the pre-installed `ldapmanager` tool\nfrom the [apacheds-docker](https://github.com/ome/apacheds-docker/) repository\nto set up users and groups:\n\n```\ndocker-compose exec ldap bash\nldapmanager init\nldapmanager user u1 --password u1\nldapmanager group u1 --member u1\n```\n\nAdditionally, in the `ldap` container, you can modify a user using `ldapmodify`:\n\n```\nldapmodify -H ldap://localhost:10389 -D uid=admin,ou=system -W \u003c update.ldif\n```\nwith this being an example of `update.ldif` file:\n\n```\nversion: 1\ndn: uid=t,ou=Users,dc=openmicroscopy,dc=org\nchangetype: modify\nreplace: givenName\ngivenName: X.\n```\n\n## Testing with omero-ldaptool\n\n[omero-ldaptool](https://github.com/glencoesoftware/omero-ldaptool) provides a way to check if your\nOMERO configuration is talking to LDAP correctly.\n\nThen from the `omeroserver` container, download the configuration:\n\n```\ndocker-compose exec omeroserver /opt/omero/server/venv3/bin/omero config get --show-password \u003e cfg\n```\n\nThen, run the build and the tool:\n\n```\n./gradlew installDist\nbuild/install/omero-ldaptool/bin/omero-ldaptool cfg u1\n```\n\nYou should see output like this:\n\n```\n/opt/omero-ldaptool $ build/install/omero-ldaptool/bin/omero-ldaptool cfg u1\n2020-06-11 14:55:54,728 [main] INFO  com.glencoesoftware.ldaptool.Main - Loading LDAP configuration from: /opt/omero-ldaptool/cfg\n... skip bunch of lines ...\n2020-06-11 14:55:55,347 [main] INFO  com.glencoesoftware.ldaptool.Main - Experimenter field mappings id=null email=null firstName=J. lastName=Doe institution=null ldap=true middleName=null omeName=u1\n2020-06-11 14:55:55,348 [main] INFO  c.g.ldaptool.MockSimpleRoleProvider - Would have created ExperimenterGroup id=1 name=MyData perms=null strict=false isLdap=true\n2020-06-11 14:55:55,348 [main] INFO  com.glencoesoftware.ldaptool.Main - Would be member of Group IDs=[1]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fome%2Fdocker-example-omero-ldap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fome%2Fdocker-example-omero-ldap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fome%2Fdocker-example-omero-ldap/lists"}