NTLM without IIS
I am using a custom webserver, developed by our own guys. So it doesn't have any built-in NTLM support. I had a requirement of validating users without popping up a login screen to them. I thought that the NTLM would be the best solution as when somebody tries to access a web page, his/her credentials are passed to the webserver and he is validated.
I wrote a simple dll which does the following:
1. acquires the credentials of the user logged into the system.
2. verifies and returns the user name ( I need the user name).
NOw , I am calling this dll from my asp page, so that when a remote client in my intranet accesses this page, he can see his name returned by this dll without being prompted for a username/password. But, a login screen is popped up which denies the access to him though he types his username/password correctly ( why so?..is it because dll calls acquireCredentials method which acquires the credentials of a user logged into the system rather than a user logged through the browser?)
I am confused!
Please suggest a way out to test this NTLM feature without taking IIS's feature. IIS supports NTLM and it doesn't pop-up a login screen when a remote client in the intranet tries to access a page.