directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Weber (JIRA) <j...@apache.org>
Subject [jira] Commented: (DIRSTUDIO-495) Cannot edit password field
Date Thu, 28 May 2009 12:53:45 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713970#action_12713970
] 

Jürgen Weber commented on DIRSTUDIO-495:
----------------------------------------

I don't see "Show decorated values", but copy as LDIF gives

userpassword:: e01ENX3UmEKcl7cCxY0bg96sbigb

(for password "studio")

When I enter the password with Jarek Gawor's Browser, Studio can edit the field afterwards.

LDIF is now

userpassword:: e01ENX15VVJqUlZER21QNjkyY2hvMjVDTm5RPT0=

When I enter the password with JXplorer and edit afterwards with Jarek 's Browser the password
seems to start with {MD5}, but does not verify.

So, I guess originally the password had a problem and JXplorer created the same problem (which?).

Still, Studio should catch the Exception and cope with the situation (offer to enter a new
password?).

Stacktrace is

java.lang.ArrayIndexOutOfBoundsException: -17
	at org.apache.commons.codec.binary.Base64.isBase64(Base64.java:137)
	at org.apache.commons.codec.binary.Base64.discardNonBase64(Base64.java:478)
	at org.apache.commons.codec.binary.Base64.decodeBase64(Base64.java:374)
	at org.apache.directory.studio.ldifparser.LdifUtils.base64decodeToByteArray(LdifUtils.java:154)
	at org.apache.directory.studio.ldapbrowser.core.model.Password.<init>(Password.java:116)
	at org.apache.directory.studio.ldapbrowser.core.model.Password.<init>(Password.java:94)
	at org.apache.directory.studio.valueeditors.password.PasswordDialog.<init>(PasswordDialog.java:148)
	at org.apache.directory.studio.valueeditors.password.PasswordValueEditor.openDialog(PasswordValueEditor.java:55)
	at org.apache.directory.studio.valueeditors.AbstractDialogValueEditor.activate(AbstractDialogValueEditor.java:159)
	at org.eclipse.jface.viewers.CellEditor.activate(CellEditor.java:899)
	at org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:203)
	at org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:443)
	at org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:680)
	at org.eclipse.jface.viewers.ColumnViewer.editElement(ColumnViewer.java:438)
	at org.eclipse.jface.viewers.TreeViewer.editElement(TreeViewer.java:1128)
	at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.AbstractOpenEditorAction.activateEditor(AbstractOpenEditorAction.java:130)
	at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.AbstractOpenEditorAction.run(AbstractOpenEditorAction.java:101)
	at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.OpenBestEditorAction.run(OpenBestEditorAction.java:198)
	at org.apache.directory.studio.ldapbrowser.common.actions.proxy.BrowserActionProxy.run(BrowserActionProxy.java:259)
	at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.OpenDefaultEditorAction.run(OpenDefaultEditorAction.java:126)


> Cannot edit password field
> --------------------------
>
>                 Key: DIRSTUDIO-495
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-495
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.4.0
>            Reporter: Jürgen Weber
>
> I have an entry which is a MD5 encoded password field. 
> userpassword     MD5 hashed password
> When I right click and select edit or "edit with" Password Editor or Hex editor nothing
happens, no error message, no popup dialog.
> I tried to edit that field with JXplorer, it works fine.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message