Error connecting to the LDAP server: Failed to parse DN

View: New views
5 Messages — Rating Filter:   Alert me  

Error connecting to the LDAP server: Failed to parse DN

by JeremyMcCully :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am getting the following error when testing LDAP settings with some user accounts but not others. I have updated to Spring-LDAP-1.3.0.RELEASE but it did not help.

Error connecting to the LDAP server: Failed to parse DN; nested exception is org.springframework.ldap.core.ParseException: Encountered "\"" at line 1, column 1.
Was expecting one of:
...
...
" " ...

Re: Error connecting to the LDAP server: Failed to parse DN

by Yoav Landman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Could you give an example for DNs that pass and for ones that do not?

Thanks,

Yoav

On Mon, Apr 27, 2009 at 6:34 PM, JeremyMcCully <jeremy.mccully@...> wrote:

I am getting the following error when testing LDAP settings with some user
accounts but not others. I have updated to Spring-LDAP-1.3.0.RELEASE but it
did not help.

Error connecting to the LDAP server: Failed to parse DN; nested exception is
org.springframework.ldap.core.ParseException: Encountered "\"" at line 1,
column 1.
Was expecting one of:
...
...
" " ...

--
View this message in context: http://www.nabble.com/Error-connecting-to-the-LDAP-server%3A-Failed-to-parse-DN-tp23259007p23259007.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: Error connecting to the LDAP server: Failed to parse DN

by JeremyMcCully :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The DNs that's fail contain a forward slash.

example:
Errors: CN=Lastname, Firstname (AA/AA-Company)
Works: CN=Lastname, Firstname (AA-AA-Company)

Yoav Landman wrote:
Could you give an example for DNs that pass and for ones that do not?

Thanks,

Yoav

On Mon, Apr 27, 2009 at 6:34 PM, JeremyMcCully <jeremy.mccully@accenture.com
> wrote:

>
> I am getting the following error when testing LDAP settings with some user
> accounts but not others. I have updated to Spring-LDAP-1.3.0.RELEASE but it
> did not help.
>
> Error connecting to the LDAP server: Failed to parse DN; nested exception
> is
> org.springframework.ldap.core.ParseException: Encountered "\"" at line 1,
> column 1.
> Was expecting one of:
> ...
> ...
> " " ...
>
> --
> View this message in context:
> http://www.nabble.com/Error-connecting-to-the-LDAP-server%3A-Failed-to-parse-DN-tp23259007p23259007.html
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty-free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Artifactory-users mailing list
> Artifactory-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Artifactory-users mailing list
Artifactory-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: Error connecting to the LDAP server: Failed to parse DN

by Yoav Landman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Jeremy.
Looks like it a Spring LDAP bug.
I created http://issues.jfrog.org/jira/browse/RTFACT-1687 to follow it up.

Yoav

On Wed, May 13, 2009 at 7:46 PM, JeremyMcCully <jeremy.mccully@...> wrote:

The DNs that's fail contain a forward slash.

example:
Errors: CN=Lastname, Firstname (AA/AA-Company)
Works: CN=Lastname, Firstname (AA-AA-Company)


Yoav  Landman wrote:
>
> Could you give an example for DNs that pass and for ones that do not?
>
> Thanks,
>
> Yoav
>
> On Mon, Apr 27, 2009 at 6:34 PM, JeremyMcCully
> <jeremy.mccully@...
>> wrote:
>
>>
>> I am getting the following error when testing LDAP settings with some
>> user
>> accounts but not others. I have updated to Spring-LDAP-1.3.0.RELEASE but
>> it
>> did not help.
>>
>> Error connecting to the LDAP server: Failed to parse DN; nested exception
>> is
>> org.springframework.ldap.core.ParseException: Encountered "\"" at line 1,
>> column 1.
>> Was expecting one of:
>> ...
>> ...
>> " " ...
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Error-connecting-to-the-LDAP-server%3A-Failed-to-parse-DN-tp23259007p23259007.html
>> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Crystal Reports &#45; New Free Runtime and 30 Day Trial
>> Check out the new simplified licensign option that enables unlimited
>> royalty&#45;free distribution of the report engine for externally facing
>> server and web deployment.
>> http://p.sf.net/sfu/businessobjects
>> _______________________________________________
>> Artifactory-users mailing list
>> Artifactory-users@...
>> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Artifactory-users mailing list
> Artifactory-users@...
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
--
View this message in context: http://www.nabble.com/Error-connecting-to-the-LDAP-server%3A-Failed-to-parse-DN-tp23259007p23525655.html
Sent from the Artifactory-Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Artifactory-users mailing list
Artifactory-users@...
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Re: Error connecting to the LDAP server: Failed to parse DN

by Noam Tenne :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The issue is with backward slashes, not forward slashes.
It is solved in spring's ldap 1.3.0, but you must double escape the slashes


Yoav Landman wrote:
Thanks Jeremy.
Looks like it a Spring LDAP bug.
I created http://issues.jfrog.org/jira/browse/RTFACT-1687 to follow it up.

Yoav

On Wed, May 13, 2009 at 7:46 PM, JeremyMcCully <jeremy.mccully@accenture.com
> wrote:

>
> The DNs that's fail contain a forward slash.
>
> example:
> Errors: CN=Lastname, Firstname (AA/AA-Company)
> Works: CN=Lastname, Firstname (AA-AA-Company)
>
>
> Yoav  Landman wrote:
> >
> > Could you give an example for DNs that pass and for ones that do not?
> >
> > Thanks,
> >
> > Yoav
> >
> > On Mon, Apr 27, 2009 at 6:34 PM, JeremyMcCully
> > <jeremy.mccully@accenture.com
> >> wrote:
> >
> >>
> >> I am getting the following error when testing LDAP settings with some
> >> user
> >> accounts but not others. I have updated to Spring-LDAP-1.3.0.RELEASE but
> >> it
> >> did not help.
> >>
> >> Error connecting to the LDAP server: Failed to parse DN; nested
> exception
> >> is
> >> org.springframework.ldap.core.ParseException: Encountered "\"" at line
> 1,
> >> column 1.
> >> Was expecting one of:
> >> ...
> >> ...
> >> " " ...
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Error-connecting-to-the-LDAP-server%3A-Failed-to-parse-DN-tp23259007p23259007.html
> >> Sent from the Artifactory-Users mailing list archive at Nabble.com.
> >>
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Crystal Reports - New Free Runtime and 30 Day Trial
> >> Check out the new simplified licensign option that enables unlimited
> >> royalty-free distribution of the report engine for externally facing
> >> server and web deployment.
> >> http://p.sf.net/sfu/businessobjects
> >> _______________________________________________
> >> Artifactory-users mailing list
> >> Artifactory-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >>
> >
> >
> ------------------------------------------------------------------------------
> > Register Now & Save for Velocity, the Web Performance & Operations
> > Conference from O'Reilly Media. Velocity features a full day of
> > expert-led, hands-on workshops and two days of sessions from industry
> > leaders in dedicated Performance & Operations tracks. Use code vel09scf
> > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> > _______________________________________________
> > Artifactory-users mailing list
> > Artifactory-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/artifactory-users
> >
> >
> --
> View this message in context:
> http://www.nabble.com/Error-connecting-to-the-LDAP-server%3A-Failed-to-parse-DN-tp23259007p23525655.html
> Sent from the Artifactory-Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Artifactory-users mailing list
> Artifactory-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Artifactory-users mailing list
Artifactory-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/artifactory-users