Knowledge Base

How to configure mixed-mode security (native and LDAP) in Neo4j

For environments where you need both LDAP authentication as well as some native user accounts, there is a way to allow this in Neo4j 3.1 and newer. Use the configuration setting instead of the singular version This will allow you to supply a list of providers to use for authentication.

To allow both LDAP and native users to login, use the following setting in conf/neo4j.conf:,native

To control at a finer level which auth provider does (authentication and/or authorization), use the following settings as well (in the example we are setting all to true, but this can differ based on specific needs):