O'Reilly logo

Learning Neo4j 3.x - Second Edition by Rik Van Bruggen, Jérôme Baton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring Neo4j to use LDAP

You already know that the action takes place in $NEO_HOME/conf/neo4j.conf. What must be done is a mapping of the LDAP groups to the Neo4j default roles. Add these few lines at the end of the file:

dbms.security.auth_provider=ldapdbms.security.ldap.host=ldap://127.0.0.1:389dbms.security.ldap.use_starttls=falsedbms.security.ldap.authentication.mechanism=simpledbms.security.ldap.authentication.user_dn_template=cn={0},ou=users,dc=learningneo4j,dc=comdbms.security.ldap.authentication.cache_enabled=falsedbms.security.ldap.authorization.use_system_account=truedbms.security.ldap.authorization.system_username=cn=admin,dc=learningneo4j,dc=comdbms.security.ldap.authorization.system_password=agentSmithdbms.security.ldap.authorization.user_search_base=dc=learningneo4j,dc=com ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required