Novell is now a part of Micro Focus

Getting from LDAP FN to Novell FDN

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 7 Feb 2005

iChain and Novell's FDN

Reader Michael Longman sends us a tip for getting from commas to dots, and how that can help with integrating NSearch and iChain.

I have been trying to put Novell NSearch behind iChain. However, I have found that the NSearch login requires Novell's FDN, which uses the dotted notation (as do a few other Novell web services).

After scratching my head about how to get around the issues where the LDAP DN is supplied in a comma-delimited form, I came up with the following solution:

var r = /,/g; 
document.forms[0].userid.value = "." + document.forms[0].userid.value.replace(r, ".");

Basically, this little bit of code replaces the commas with dots and adds a leading dot. This can then be placed in the form-fill script.

I hope this helps other people who are trying to convert from an LDAP DN to a Novell FDN.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

© Copyright Micro Focus or one of its affiliates