Description
Getting permission exception when running apahceds tools for diagnostic command and graceful shutdown command.
Exception in thread "main" javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name ''
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2993)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
at com.sun.jndi.ldap.LdapCtx.extendedOperation(LdapCtx.java:3110)
at javax.naming.ldap.InitialLdapContext.extendedOperation(InitialLdapContext.java:164)
at org.apache.directory.server.tools.DiagnosticCommand.execute(DiagnosticCommand.java:84)
at org.apache.directory.server.tools.ApachedsTools.main(ApachedsTools.java:115)