Skip to content

Commit 668d8bd

Browse files
authored
Fix the --env NEO4J_AUTH=neo4j/ (#2023)
1 parent a2f28f2 commit 668d8bd

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

modules/ROOT/pages/authentication-authorization/ldap-integration.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ dbms.security.ldap.authorization.system_username=cn=search-account,cn=Users,dc=e
197197
+
198198
[source, properties]
199199
----
200-
dbms.security.ldap.authorization.system_password=mypassword
200+
dbms.security.ldap.authorization.system_password=your_password
201201
----
202202

203203
.. Configure which attribute to search for by adding the following lines to the _neo4j.conf_ file (replacing `myattribute` with the actual attribute name):
@@ -490,7 +490,7 @@ ldapsearch -v -H ldap://myactivedirectory.example.com:389 -x -D cn=john,cn=Users
490490
----
491491
# 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>
492492
493-
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
493+
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
494494
----
495495

496496
. 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`.

modules/ROOT/pages/docker/configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ docker build --file /example/Dockerfile --tag neo4j:{neo4j-version-exact}-enterp
143143
144144
# Create and run a container based on the custom image:
145145
146-
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
146+
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
147147
----
148148

149149
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].

modules/ROOT/pages/docker/operations.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ docker run --rm \
232232
--volume /path/to/local/examples:/examples \
233233
--publish=7474:7474 \
234234
--publish=7687:7687 \
235-
--env NEO4J_AUTH=neo4j/<password> \
235+
--env NEO4J_AUTH=neo4j/your_password \
236236
neo4j:{neo4j-version-exact}
237237
238238
# Run the Cypher Shell tool with the --file option passing the example.cypher file:
@@ -251,7 +251,7 @@ docker run --rm \
251251
--volume /path/to/local/examples:/examples \
252252
--publish=7474:7474 \
253253
--publish=7687:7687 \
254-
--env NEO4J_AUTH=neo4j/<password> \
254+
--env NEO4J_AUTH=neo4j/your_password \
255255
neo4j:{neo4j-version-exact}
256256
257257
# Use the container ID or name to get into the container, and then, run the cypher-shell command and authenticate.

modules/ROOT/pages/kubernetes/operations/image-pull-secret.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ image:
5959
imageCredentials:
6060
- registry: "https://index.docker.io/v1/"
6161
username: "myusername"
62-
password: "mypassword"
62+
password: "your_password"
6363
6464
name: "mysecret"
6565
----

modules/ROOT/pages/tutorial/tutorial-clustering-docker.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ dbms.routing.default_router=SERVER
7878
# The advertised address for the intra-cluster routing connector.
7979
server.routing.advertised_address=$(hostname)
8080
81-
# Automatically enable servers, rather than needing to explicitly do so for Free servers
81+
# Automatically enable servers, rather than needing to explicitly do so for Free servers
8282
initial.dbms.automatically_enable_free_servers=true
8383
----
8484
======
@@ -357,7 +357,7 @@ docker run --name=server1 --detach --network=neo4j-cluster \
357357
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
358358
--env NEO4J_server_bolt_advertised__address=localhost:7687 \
359359
--env NEO4J_server_http_advertised__address=localhost:7474 \
360-
--env NEO4J_AUTH=neo4j/mypassword \
360+
--env NEO4J_AUTH=neo4j/your_password \
361361
neo4j:{neo4j-version-exact}-enterprise
362362
363363
docker run --name=server2 --detach --network=neo4j-cluster \
@@ -369,7 +369,7 @@ docker run --name=server2 --detach --network=neo4j-cluster \
369369
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
370370
--env NEO4J_server_bolt_advertised__address=localhost:8687 \
371371
--env NEO4J_server_http_advertised__address=localhost:8474 \
372-
--env NEO4J_AUTH=neo4j/mypassword \
372+
--env NEO4J_AUTH=neo4j/your_password \
373373
neo4j:{neo4j-version-exact}-enterprise
374374
375375
docker run --name=server3 --detach --network=neo4j-cluster \
@@ -381,7 +381,7 @@ docker run --name=server3 --detach --network=neo4j-cluster \
381381
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
382382
--env NEO4J_server_bolt_advertised__address=localhost:9687 \
383383
--env NEO4J_server_http_advertised__address=localhost:9474 \
384-
--env NEO4J_AUTH=neo4j/mypassword \
384+
--env NEO4J_AUTH=neo4j/your_password \
385385
neo4j:{neo4j-version-exact}-enterprise
386386
----
387387
======
@@ -400,7 +400,7 @@ docker run --name=server1 --detach --network=neo4j-cluster \
400400
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
401401
--env NEO4J_server_bolt_advertised__address=localhost:7687 \
402402
--env NEO4J_server_http_advertised__address=localhost:7474 \
403-
--env NEO4J_AUTH=neo4j/mypassword \
403+
--env NEO4J_AUTH=neo4j/your_password \
404404
neo4j:{neo4j-version-exact}-enterprise
405405
406406
docker run --name=server2 --detach --network=neo4j-cluster \
@@ -411,7 +411,7 @@ docker run --name=server2 --detach --network=neo4j-cluster \
411411
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
412412
--env NEO4J_server_bolt_advertised__address=localhost:8687 \
413413
--env NEO4J_server_http_advertised__address=localhost:8474 \
414-
--env NEO4J_AUTH=neo4j/mypassword \
414+
--env NEO4J_AUTH=neo4j/your_password \
415415
neo4j:{neo4j-version-exact}-enterprise
416416
417417
docker run --name=server3 --detach --network=neo4j-cluster \
@@ -422,7 +422,7 @@ docker run --name=server3 --detach --network=neo4j-cluster \
422422
--env NEO4J_ACCEPT_LICENSE_AGREEMENT=yes \
423423
--env NEO4J_server_bolt_advertised__address=localhost:9687 \
424424
--env NEO4J_server_http_advertised__address=localhost:9474 \
425-
--env NEO4J_AUTH=neo4j/mypassword \
425+
--env NEO4J_AUTH=neo4j/your_password \
426426
neo4j:{neo4j-version-exact}-enterprise
427427
----
428428
======

0 commit comments

Comments
 (0)