Qn about the security_principal string needed for authenticating user
0 posts in topic
Flat View  Flat View

Posted By:   neal_ravindran
Posted On:   Monday, March 3, 2003 08:22 AM

String securityPrincipal="cn="+userId+",ou=IT,ou=Corp,o=MyCompany";

To authorise somebody against LDAP would I need to store the string "ou=IT,ou=Corp,o=MyCompany" in the DB
so that I can tack it to the end of the userId?
That would be absurd because an ldap server can be set up with infinite number of organizational units(ou)......and diff users will have different strings to be tacked on depending on where they are on the tree.

For making the distinguished name(which I believe I think that String shown above is used for) and "bind" with the server what data should I store in my DB?

About | Sitemap | Contact