Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ dbms.security.ldap.authorization.system_username=cn=search-account,cn=Users,dc=e
+
[source, properties]
----
dbms.security.ldap.authorization.system_password=mypassword
dbms.security.ldap.authorization.system_password=your_password
----

.. Configure which attribute to search for by adding the following lines to the _neo4j.conf_ file (replacing `myattribute` with the actual attribute name):
Expand Down Expand Up @@ -490,7 +490,7 @@ ldapsearch -v -H ldap://myactivedirectory.example.com:389 -x -D cn=john,cn=Users
----
# ldapsearch -v -H ldap://<dbms.security.ldap.host> -x -D <dbms.security.ldap.authorization.system_username> -w <dbms.security.ldap.authorization.system_password> -b <dbms.security.ldap.authorization.user_search_base> "<dbms.security.ldap.authorization.user_search_filter>" <dbms.security.ldap.authorization.group_membership_attributes>

ldapsearch -v -H ldap://myactivedirectory.example.com:389 -x -D cn=search-account,cn=Users,dc=example,dc=com -w mypassword -b cn=Users,dc=example,dc=com "(&(objectClass=*)(cn=john))" memberOf
ldapsearch -v -H ldap://myactivedirectory.example.com:389 -x -D cn=search-account,cn=Users,dc=example,dc=com -w your_password -b cn=Users,dc=example,dc=com "(&(objectClass=*)(cn=john))" memberOf
----

. Verify that the value of the returned membership attribute is a group that is mapped to a role in `dbms.security.ldap.authorization.group_to_role_mapping`.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/docker/configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ docker build --file /example/Dockerfile --tag neo4j:{neo4j-version-exact}-enterp

# Create and run a container based on the custom image:

docker run --interactive --tty --name custom-container-1 -p7687:7687 -p7474:7474 -p7473:7473 --env NEO4J_AUTH=neo4j/password --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes neo4j:{neo4j-version-exact}-enterprise-custom-container-1
docker run --interactive --tty --name custom-container-1 -p7687:7687 -p7474:7474 -p7473:7473 --env NEO4J_AUTH=neo4j/your_password --env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes neo4j:{neo4j-version-exact}-enterprise-custom-container-1
----

The recommended best practices and methods for building efficient Docker images can be found at link:https://docs.docker.com/develop/develop-images/dockerfile_best-practices/[the Docker documentation -> Best practices for writing Dockerfiles].
4 changes: 2 additions & 2 deletions modules/ROOT/pages/docker/operations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ docker run --rm \
--volume /path/to/local/examples:/examples \
--publish=7474:7474 \
--publish=7687:7687 \
--env NEO4J_AUTH=neo4j/<password> \
--env NEO4J_AUTH=neo4j/your_password \
neo4j:{neo4j-version-exact}

# Run the Cypher Shell tool with the --file option passing the example.cypher file:
Expand All @@ -251,7 +251,7 @@ docker run --rm \
--volume /path/to/local/examples:/examples \
--publish=7474:7474 \
--publish=7687:7687 \
--env NEO4J_AUTH=neo4j/<password> \
--env NEO4J_AUTH=neo4j/your_password \
neo4j:{neo4j-version-exact}

# Use the container ID or name to get into the container, and then, run the cypher-shell command and authenticate.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ image:
imageCredentials:
- registry: "https://index.docker.io/v1/"
username: "myusername"
password: "mypassword"
password: "your_password"
email: "myusername@example.com"
name: "mysecret"
----
14 changes: 7 additions & 7 deletions modules/ROOT/pages/tutorial/tutorial-clustering-docker.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ dbms.routing.default_router=SERVER
# The advertised address for the intra-cluster routing connector.
server.routing.advertised_address=$(hostname)

# Automatically enable servers, rather than needing to explicitly do so for Free servers
# Automatically enable servers, rather than needing to explicitly do so for Free servers
initial.dbms.automatically_enable_free_servers=true
----
======
Expand Down Expand Up @@ -357,7 +357,7 @@ docker run --name=server1 --detach --network=neo4j-cluster \
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
--env NEO4J_server_bolt_advertised__address=localhost:7687 \
--env NEO4J_server_http_advertised__address=localhost:7474 \
--env NEO4J_AUTH=neo4j/mypassword \
--env NEO4J_AUTH=neo4j/your_password \
neo4j:{neo4j-version-exact}-enterprise

docker run --name=server2 --detach --network=neo4j-cluster \
Expand All @@ -369,7 +369,7 @@ docker run --name=server2 --detach --network=neo4j-cluster \
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
--env NEO4J_server_bolt_advertised__address=localhost:8687 \
--env NEO4J_server_http_advertised__address=localhost:8474 \
--env NEO4J_AUTH=neo4j/mypassword \
--env NEO4J_AUTH=neo4j/your_password \
neo4j:{neo4j-version-exact}-enterprise

docker run --name=server3 --detach --network=neo4j-cluster \
Expand All @@ -381,7 +381,7 @@ docker run --name=server3 --detach --network=neo4j-cluster \
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
--env NEO4J_server_bolt_advertised__address=localhost:9687 \
--env NEO4J_server_http_advertised__address=localhost:9474 \
--env NEO4J_AUTH=neo4j/mypassword \
--env NEO4J_AUTH=neo4j/your_password \
neo4j:{neo4j-version-exact}-enterprise
----
======
Expand All @@ -400,7 +400,7 @@ docker run --name=server1 --detach --network=neo4j-cluster \
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
--env NEO4J_server_bolt_advertised__address=localhost:7687 \
--env NEO4J_server_http_advertised__address=localhost:7474 \
--env NEO4J_AUTH=neo4j/mypassword \
--env NEO4J_AUTH=neo4j/your_password \
neo4j:{neo4j-version-exact}-enterprise

docker run --name=server2 --detach --network=neo4j-cluster \
Expand All @@ -411,7 +411,7 @@ docker run --name=server2 --detach --network=neo4j-cluster \
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
--env NEO4J_server_bolt_advertised__address=localhost:8687 \
--env NEO4J_server_http_advertised__address=localhost:8474 \
--env NEO4J_AUTH=neo4j/mypassword \
--env NEO4J_AUTH=neo4j/your_password \
neo4j:{neo4j-version-exact}-enterprise

docker run --name=server3 --detach --network=neo4j-cluster \
Expand All @@ -422,7 +422,7 @@ docker run --name=server3 --detach --network=neo4j-cluster \
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
--env NEO4J_server_bolt_advertised__address=localhost:9687 \
--env NEO4J_server_http_advertised__address=localhost:9474 \
--env NEO4J_AUTH=neo4j/mypassword \
--env NEO4J_AUTH=neo4j/your_password \
neo4j:{neo4j-version-exact}-enterprise
----
======
Expand Down
Loading