JNDI InvalidnameException for CN 'LastName, FirstName'

Posted by user321524 on Stack Overflow See other posts from Stack Overflow or by user321524
Published on 2010-05-07T20:02:10Z Indexed on 2010/05/07 20:08 UTC
Read the original article Hit count: 379

Filed under:
|
|

Hi:

I am writing to active directory using JNDI, it is successful for

"CN=Yuri Gagarin,OU=Admins,DC=ead,DC=ubc,DC=ca"; but fails for

"CN=Gagarin, Yuri,OU=Admins,DC=ead,DC=ubc,DC=ca".

I need to store displayName, cn, name in the format 'lastName, FirstName'.

What do I need to do to get this going?

Thanks very much.

© Stack Overflow or respective owner

Related posts about jndi

Related posts about active-directory