Error connecting to the LDAP server: Failed to parse DN

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Error connecting to the LDAP server: Failed to parse DN

JeremyMcCully

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

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

Yoav Landman
Administrator
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 <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

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

JeremyMcCully



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
> <[hidden email]
>> 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
>> [hidden email]
>> 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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>

The DNs that's fail contain a forward slash.
--
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

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

Yoav Landman
Administrator
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 <[hidden email]> 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
> <[hidden email]
>> 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
>> [hidden email]
>> 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
> [hidden email]
> 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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users
Reply | Threaded
Open this post in threaded view
|

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

Noam Y. Tenne

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
> <[hidden email]
>> 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
>> > <[hidden email]
>> >> 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
>> >> [hidden email]
>> >> 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
>> > [hidden email]
>> > 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
>> [hidden email]
>> 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
> [hidden email]
> 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-tp23259007p23580555.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 licensing 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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/artifactory-users