Openfire with Ldap error when using '/' in group name

I found problem when using ‘/’ group name on ldap ? and user in this group can not logon with spark client.

ex.

group name : All I/T : javax.naming.InvalidNameException: “CN=“All I/T”,OU=“AA Group””: close quote appears before end of component

at javax.naming.NameImpl.extractComp(Unknown Source)

at javax.naming.NameImpl.(Unknown Source)

at javax.naming.CompositeName.(Unknown Source)

at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.getAttributes(Unknown Source)

at javax.naming.directory.InitialDirContext.getAttributes(Unknown Source)

at org.jivesoftware.openfire.ldap.LdapGroupProvider.getGroup(LdapGroupProvider.jav a:86)

at org.jivesoftware.openfire.group.GroupManager.getGroup(GroupManager.java:278)

at org.jivesoftware.openfire.group.GroupManager.getGroup(GroupManager.java:257)

at

thank you .

That is because you are using an invalid character by using the / in the name. LDAP is a web protocol and should use naming as such. You should not use spaces, [, {, /, , etc. Just because an operating system is allows you to use these characters in the name of LDAP objects does not mean it is proper structure. You should fix these errors in your LDAP structure.

Thanks you Todd Getz.