Liberum Help Desk
The free, open source solution for the web-based help desk.

NT Authentication

rated by 0 users
This post has 8 Replies | 3 Followers

Top 10 Contributor
Posts 29
tyampoo Posted: 05-15-2009 5:32 PM

Hi all,

 

I have configured Liberum Help Desk (LHD) system for NT Authentication. From what I see is the authentication is taken care by IIS and not LDH, correct me if I am wrong because, when the “Authentication Type” is set to database. It will ask for username/password after the browser asks for it. And when Authentication Type is set to NT Authentication and the IIS set to use anonymous, the LDH gives “Unable to obtain username with NT authentication”

Now my issue is I don’t want to have user type in their username and password when they already are in the network.

Also LDH is storing user information in database while it already is in AD.

Has anyone gone through this issue?

Any help is appreciated.

 

Thanks for such a great product.

Top 10 Contributor
Posts 71

You can find descriptions of IIS authentication in the IIS online help.  NT authentication means your IIS must be configured to use windows authentication only, not anonymous.

 

Doug G

Top 10 Contributor
Posts 29

Thanks for such a great product.

 

Thank u for the reply Doug,

Ok, my question is: when I am using NT authentication, why is LHD asking/storing user information? I am looking for the module that take care of authentication and I’d appreciate if you could guide me in to the module(s) that take care of NT authentication.

 

Thanks for the great product.

Top 10 Contributor
Posts 29

Ok,

I solved it using a another session variable "username" that would save NT username and will by pass all call to CheckUser if that session variable is present.

Thank you for the reply Doug.

Top 150 Contributor
Posts 2

can you post how you did this? I would like for users to not have to log in this way either

Top 10 Contributor
Posts 29

Hi kwilliams,

In the file /logon.asp, there is the "Select" statement where authentication type is dealt. In case 1 (NT Authentication) here is what i changed (line numbers are specific to my editor but offset will work :))

61-----Case 1 'NT Authentication

:

:

81-----If ntUserRes.EOF Then ' my comment: this is general user and not rep

now comment out lines from

82----- Dim utUpdRes, ntSidRes

 to

86-----url = "register.asp?edit=1&new=1"

add the following

Session ("username") = username

in the else part, add

Session ("username") = ""  'when the user is rep this session variable will be empty.

Having said that, now everywhere "Call CheckUser(cnnDB, sid) is called replace it with

If (Session ("username") = "") then

     Call CheckUser (cnnDB, sid)

End If

 

Remember to add

Session (“username”) = “”

In logoff.asp

 

This is how u start playing with code. Please keep a back up so that if u mess some where u’ll recover. You will need to change few codes in /public.asp in Header and Footer function. Let me know if this help and/or if I can help you further.

 

Thanks.

 

Top 150 Contributor
Posts 2

Can you post more detailed instructions? I am a newbie and am having trouble following where to make changes to the code? My  lines numbers are exactly as yours.

 

Thanks

Top 10 Contributor
Posts 29

What is your email address? I can send you my entire code and you can go through it. By the mean time I would go though functions in each scripts to have a better understanding. A good starting point is /logon.asp

Thanks.

Top 500 Contributor
Posts 1

I'm still puzzled.  I've downloaded, viewed, and put the code of your "logon.asp" file in the folder with the help desk files.  I've set IIS up for Windows authentication, but when I'm logged on as a domain user, the system still prompts me for a username & password with a dialog box.  I've double checked and Liberum is set for NT Authentications.

Am I missing something?

Thanks,
Dan

Page 1 of 1 (9 items) | RSS
Copyright © Doug Luxem 2000-2010
Powered by Community Server (Non-Commercial Edition), by Telligent Systems