Along with derby.authentication.ldap.searchAuthPW, the derby.authentication.ldap.searchAuthDN property indicates how Derby should bind with the LDAP directory server to do searches for user DN (distinguished name).
This property specifies the DN; derby.authentication.ldap.searchAuthPW specifies the password to use for the search.
If these two properties are not specified, an anonymous search is performed if it is supported.
For more information about LDAP user authentication, see "Configuring LDAP authentication" in the Derby Security Guide.
derby.authentication.ldap.searchAuthDn=DN
If not specified, an anonymous search is performed if it is supported.
-- system-wide property derby.authentication.ldap.searchAuthDn= cn=guest,o=example.com -- database-wide property CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY( 'derby.authentication.ldap.searchAuthDn', 'cn=guest,o=example.com')
Static. For system-wide properties, you must reboot Derby for the change to take effect. For database-wide properties, you must reboot the database for the change to take effect.