Issue Details (XML | Word | Printable)

Key: DIRSERVER-721
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alex Karasulu
Reporter: Alex Karasulu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

All extended operations in apacheds-tools no longer function

Created: 29/Aug/06 05:46 AM   Updated: 29/Aug/06 08:31 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 1.5.0, 1.0-RC4

Time Tracking:
Not Specified

Resolution Date: 29/Aug/06 08:31 PM


 Description  « Hide
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)


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alex Karasulu added a comment - 29/Aug/06 05:49 AM
this happens with more than one command

Alex Karasulu added a comment - 29/Aug/06 08:31 PM
Fixed in 1.0 branch with the following commit:

    http://svn.apache.org/viewvc?view=rev&revision=438195

Fixed in 1.1 branch with the following commit:

    http://svn.apache.org/viewvc?view=rev&revision=438197