[
https://issues.apache.org/jira/browse/DIRSTUDIO-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407066#comment-13407066
]
Pierre-Arnaud Marcelot commented on DIRSTUDIO-818:
--------------------------------------------------
Hi Baptiste,
This is because the underscore char ('_') isn't authorized in the name of an
attribute type if you stick to LDAP standards and RFCs 2252 & 4512.
What directory server are you using? Microsoft Active Directory I guess...
We should probably try to relax that but it's not that simple considering that
we're building Studio on a stack of standard compliant components...
Thanks,
Pierre-Arnaud
> javax.NamingException / invalid record
> --------------------------------------
>
> Key: DIRSTUDIO-818
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-818
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-ldapbrowser
> Affects Versions: 1.5.3
> Environment: windows 7 x64, LDAP 389
> Reporter: Baptiste Desprez
>
> An attributes with an _ (underscore) cannot be deleted. Example :
> description;poly_forward. Apache DS gives an error :
> Une erreur est survenue lors de l'exécution du LDIF
> - L'enregistrement est invalide
> javax.naming.NamingException: L'enregistrement est invalide
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdifRecord(ImportLdifJob.java:403)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdif(ImportLdifJob.java:267)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:143)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:58)
> at
> org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
> L'enregistrement est invalide
> There is no problem to delete this attribute with ldapvi.
> Thanks
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira