You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Steven Carty <sc...@us.ibm.com> on 2010/11/17 01:19:03 UTC
Error while exporting LDIF - expecting EOF, found '2010'
I'm trying to export a directory using Studio. Regardless whether I choose
LDIF, CSV, whatever, it reaches a certain point ~5,004 entries and fails.
I've increased the size limit (client-side and server slapd.conf
nsslapd-sizelimit) as well as the search limit (server
nsslapd-lookthroughlimit). Error::
---
Error while exporting LDIF
- expecting EOF, found '2010'
javax.naming.InvalidNameException: expecting EOF, found '2010' [Root
exception is line 1:14: expecting EOF, found '2010']
at
org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(Unknown
Source)
at
org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(Unknown
Source)
at org.apache.directory.shared.ldap.name.LdapDN.<init>(Unknown
Source)
at
org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(Unknown
Source)
at
org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifJob$JndiLdifEnumeration.next(Unknown
Source)
at
org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifJob.export(Unknown
Source)
at
org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifJob.executeAsyncJob(Unknown
Source)
at
org.apache.directory.studio.ldapbrowser.core.jobs.AbstractEclipseJob.run(Unknown
Source)
at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
Caused by: line 1:14: expecting EOF, found '2010'
at antlr.Parser.match(Unknown Source)
at
org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(Unknown
Source)
... 9 more
expecting EOF, found '2010'
------
Thoughts?
Steven Carty
Re: Error while exporting LDIF - expecting EOF, found '2010'
Posted by Emmanuel Lecharny <el...@gmail.com>.
On 11/17/10 10:44 PM, Steven Carty wrote:
> ldapsearch with the opposite filter returned:
>
> cn: Paulmoore#2010
> cn: Dav.Prez2010
> cn: unakaybrown2010
> cn: 2010Longshore
>
> Hope this helps.
Without the DN, we can't deduce anything, sadly :/
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com
Re: Error while exporting LDIF - expecting EOF, found '2010'
Posted by Steven Carty <sc...@us.ibm.com>.
ldapsearch with the opposite filter returned:
cn: Paulmoore#2010
cn: Dav.Prez2010
cn: unakaybrown2010
cn: 2010Longshore
Hope this helps.
Steven Carty
Stefan Seelmann <se...@apache.org>
Sent by: mail@stefan-seelmann.de
11/17/2010 12:41 PM
Please respond to
users@directory.apache.org
To
users@directory.apache.org
cc
Subject
Re: Error while exporting LDIF - expecting EOF, found '2010'
Hi Steven,
On Wed, Nov 17, 2010 at 7:47 PM, Steven Carty <sc...@us.ibm.com> wrote:
> Thanks, Filtering (!(cn=*2010*)) got around the LDIF export problem. How
> can I view the offending DN since the browser won't return it? Would I
> need to be on the server (I don't have direct access)?
No, you could try another LDAP browser (Jxplorer, Softerra Browser) or
ldapsearch command line to find that entry. It would be nice if you
could share the bad DN with us.
Kind Regards,
Stefan
Re: Error while exporting LDIF - expecting EOF, found '2010'
Posted by Stefan Seelmann <se...@apache.org>.
Hi Steven,
On Wed, Nov 17, 2010 at 7:47 PM, Steven Carty <sc...@us.ibm.com> wrote:
> Thanks, Filtering (!(cn=*2010*)) got around the LDIF export problem. How
> can I view the offending DN since the browser won't return it? Would I
> need to be on the server (I don't have direct access)?
No, you could try another LDAP browser (Jxplorer, Softerra Browser) or
ldapsearch command line to find that entry. It would be nice if you
could share the bad DN with us.
Kind Regards,
Stefan
Re: Error while exporting LDIF - expecting EOF, found '2010'
Posted by Steven Carty <sc...@us.ibm.com>.
Thanks, Filtering (!(cn=*2010*)) got around the LDIF export problem. How
can I view the offending DN since the browser won't return it? Would I
need to be on the server (I don't have direct access)?
Steven Carty
Stefan Seelmann <se...@apache.org>
Sent by: mail@stefan-seelmann.de
11/17/2010 12:04 AM
Please respond to
users@directory.apache.org
To
users@directory.apache.org
cc
Subject
Re: Error while exporting LDIF - expecting EOF, found '2010'
Hi Steven,
Either there is an entry with an invalid DN in your directory server,
or there is a bug in our DN parser. Unfortunately we don't see the
full DN (as string). Do you know of any entry that has a '2010' in its
DN?
Kind Regards,
Stefan
On Wed, Nov 17, 2010 at 1:19 AM, Steven Carty <sc...@us.ibm.com> wrote:
> I'm trying to export a directory using Studio. Regardless whether I
choose
> LDIF, CSV, whatever, it reaches a certain point ~5,004 entries and
fails.
> I've increased the size limit (client-side and server slapd.conf
> nsslapd-sizelimit) as well as the search limit (server
> nsslapd-lookthroughlimit). Error::
> ---
> Error while exporting LDIF
> - expecting EOF, found '2010'
> javax.naming.InvalidNameException: expecting EOF, found '2010' [Root
> exception is line 1:14: expecting EOF, found '2010']
> at
>
org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(Unknown
> Source)
> at
> org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(Unknown
> Source)
> at org.apache.directory.shared.ldap.name.LdapDN.<init>(Unknown
> Source)
> at
>
org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(Unknown
> Source)
> at
>
org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifJob$JndiLdifEnumeration.next(Unknown
> Source)
> at
>
org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifJob.export(Unknown
> Source)
> at
>
org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifJob.executeAsyncJob(Unknown
> Source)
> at
>
org.apache.directory.studio.ldapbrowser.core.jobs.AbstractEclipseJob.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
> Caused by: line 1:14: expecting EOF, found '2010'
> at antlr.Parser.match(Unknown Source)
> at
>
org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(Unknown
> Source)
> ... 9 more
>
> expecting EOF, found '2010'
> ------
>
> Thoughts?
>
> Steven Carty
Re: Error while exporting LDIF - expecting EOF, found '2010'
Posted by Stefan Seelmann <se...@apache.org>.
Hi Steven,
Either there is an entry with an invalid DN in your directory server,
or there is a bug in our DN parser. Unfortunately we don't see the
full DN (as string). Do you know of any entry that has a '2010' in its
DN?
Kind Regards,
Stefan
On Wed, Nov 17, 2010 at 1:19 AM, Steven Carty <sc...@us.ibm.com> wrote:
> I'm trying to export a directory using Studio. Regardless whether I choose
> LDIF, CSV, whatever, it reaches a certain point ~5,004 entries and fails.
> I've increased the size limit (client-side and server slapd.conf
> nsslapd-sizelimit) as well as the search limit (server
> nsslapd-lookthroughlimit). Error::
> ---
> Error while exporting LDIF
> - expecting EOF, found '2010'
> javax.naming.InvalidNameException: expecting EOF, found '2010' [Root
> exception is line 1:14: expecting EOF, found '2010']
> at
> org.apache.directory.shared.ldap.name.ComplexLdapDnParser.parseDn(Unknown
> Source)
> at
> org.apache.directory.shared.ldap.name.LdapDnParser.parseInternal(Unknown
> Source)
> at org.apache.directory.shared.ldap.name.LdapDN.<init>(Unknown
> Source)
> at
> org.apache.directory.studio.ldapbrowser.core.utils.JNDIUtils.getDn(Unknown
> Source)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifJob$JndiLdifEnumeration.next(Unknown
> Source)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifJob.export(Unknown
> Source)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.ExportLdifJob.executeAsyncJob(Unknown
> Source)
> at
> org.apache.directory.studio.ldapbrowser.core.jobs.AbstractEclipseJob.run(Unknown
> Source)
> at org.eclipse.core.internal.jobs.Worker.run(Unknown Source)
> Caused by: line 1:14: expecting EOF, found '2010'
> at antlr.Parser.match(Unknown Source)
> at
> org.apache.directory.shared.ldap.name.AntlrDnParser.relativeDistinguishedNames(Unknown
> Source)
> ... 9 more
>
> expecting EOF, found '2010'
> ------
>
> Thoughts?
>
> Steven Carty