Is there an API or any other way to authenticate a userID / Password against the NT security file or the novell logins. I'm thinking in terms a web applications.

I know that NT Authorization is availible, but that's not exactly what I am trying to do. I want a user to enter a userid/password when prompted. Then I want to be able to verify the login using existing rights that exist on our domain.