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

How does Liberum use anonymous IIS Login?

rated by 0 users
Not Answered This post has 0 verified answers | 18 Replies | 3 Followers

Top 25 Contributor
14 Posts
Belladonna posted on 10-08-2011 11:47 AM

I want to use Liberum Helpdesk and I tested it on my Windows XP PC but it really needs to be on a server. The trouble is I don't know where to put it, I  have Virtual servers and I have 13 of them. Trouble is they are all doing important work already and a lot of them are already MS SQL Server and IIS.  I did try to put liberum onto a windows 2003 server which is running MS SQL 2000 and IIS 6 but I came across problems when I went to configure it. There is already a website running on this server and using the anonymous login. I also think that I may have run the helpdesk script in Query Analyzer without first logging in. I'm not used to Query analyzer as I have SQL 2005 or 2008 on other servers. I will try to run this again but do I need to reset the password for anonymous user or something. Or am I not going to be able to run Liberum alongside another MS SQL DB and IIS setup? 

Any help much appreciated. I know that I should be able to work this stuff out but I have an awful lot of stuff on my plate at the moment.

All Replies

Top 25 Contributor
14 Posts

Nobody has replied to this yet, but I have tried again unfortunately with the same result. I get as far as config but then get a HTTP 500 error. I have changed the IUSER password on this server and changed it for the helpdesk and library systems in IIS luckily this is still working. 

I also reran the script knowing that I had put the right sa user and password into the query analyser but I still have these problems.

Top 25 Contributor
14 Posts

My browser says

Active Server Pages error 'ASP 0131'

Disallowed Parent Path

/S1Helpdesk/admin/Default.asp, line 24

The Include file '../settings.asp' cannot contain '..' to indicate the parent directory.

This is what my default.asp looks like


<%@ LANGUAGE="VBScript" %>
<%
  Option Explicit
  'Buffer the response, so Response.Expires can be used
  Response.Buffer = TRUE
%>

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

  <!--
  Liberum Help Desk, Copyright (C) 2000-2001 Doug Luxem
  Liberum Help Desk comes with ABSOLUTELY NO WARRANTY
  Please view the license.html file for the full GNU General Public License.

  Filename: default.asp
  Date:     $Date: 2002/01/24 14:57:50 $
  Version:  $Revision: 1.52.2.1 $
  Purpose:  This is the main administrative menu.  A password prompt will be
  displayed before the menu is shown.
  -->
 
  <!--  #include file = "..settings.asp" -->
  <!--     #include file = "..public.asp" -->

  <%
    Call SetAppVariables

    Dim cnnDB, sid
    Set cnnDB = CreateCon
    sid = GetSid
  %>

  <head>
    <title>
      <%=lang(cnnDB, "HelpDesk")%>&nbsp;-&nbsp;<%=lang(cnnDB, "AdministrativeMenu")%>
    </title>
    <link rel="stylesheet" type="text/css" href="../default.css">
  </head>
  <body>

    <%
      ' Ask for password if the user has not already entered it.
      If Not Session("lhd_IsAdmin") Then

        ' If the password was submitted to the page via a form, check
        ' it and allow access, setting IsAdmin to TRUE
        If Trim(Request.Form("password")) = Cfg(cnnDB, "AdminPass") Then
          Session("lhd_IsAdmin") = TRUE
        Else    ' Else display form
        %>
        <div align="center">
          <table class="Normal">
            <tr class="Head1">
              <td>
                <%=lang(cnnDB, "AdministrativeLogon")%>
              </td>
            </tr>
            <tr class="Body1">
              <td>
                <p>&nbsp;
                <% 'Look for a wrong password and display an error
                   If Len(Request.Form("password")) > 0 Then %>
                     <div align="center">
                      <%=lang(cnnDB, "Passwordisincorrect")%>
                     </div>
                <% End If %>
                <form method="post" action="default.asp">
                  <p>
                  <div align="center">
                    <b><%=lang(cnnDB, "Password")%>:</b> <input type="password" name="password" size="20">
                    <input type="submit" Value="<%=lang(cnnDB, "Logon")%>">
                  </div>
                </form>
              </td>
            </tr>
          </table>
        </div>

        <%
        Call DisplayFooter(cnnDB, sid)

        ' Don't allow the browser to cache the logon page
        Response.Expires = -1
        Response.End

        End If
      End If

    ' User is logged in with admin privs, now
    ' display the normal menu

    %>
    <div align="center">
      <table class="Normal">
        <tr class="Head1">
          <td>
            <%=lang(cnnDB, "AdministrativeMenu")%>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="config.asp"><%=lang(cnnDB, "Configure")%>&nbsp;<%=lang(cnnDB, "Site")%></a>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="test.asp"><%=lang(cnnDB, "TestConfiguration")%></a>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="cfgemail.asp"><%=lang(cnnDB, "Configure")%>&nbsp;<%=lang(cnnDB, "EmailMessages")%></a>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="adminpass.asp"><%=lang(cnnDB, "ChangeAdminPassword")%></a>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="viewusers.asp"><%=lang(cnnDB, "Manage")%>&nbsp;<%=lang(cnnDB, "Users")%></a>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="viewcat.asp"><%=lang(cnnDB, "Manage")%>&nbsp;<%=lang(cnnDB, "Categories")%></a>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="viewdep.asp"><%=lang(cnnDB, "Manage")%>&nbsp;<%=lang(cnnDB, "Departments")%></a>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="viewpri.asp"><%=lang(cnnDB, "Manage")%>&nbsp;<%=lang(cnnDB, "Priorities")%></a>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="viewstatus.asp"><%=lang(cnnDB, "Manage")%>&nbsp;<%=lang(cnnDB, "Statuses")%></a>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="viewlang.asp"><%=lang(cnnDB, "Manage")%>&nbsp;<%=lang(cnnDB, "Languages")%></a>
          </td>
        </tr>
        <tr class="Body1" align="center">
          <td>
            <a href="reports.asp"><%=lang(cnnDB, "Reports")%></a>
          </td>
        </tr>
      </table>
    </div>

    <%
      Call DisplayFooter(cnnDB, sid)

      cnnDB.Close

    %>
  </body>
</html>

 

location C:\Inetpub\wwwroot\S1Helpdesk\admin

There is however another site under wwwroot called Searchstar which is a library system.

Top 10 Contributor
53 Posts

you should have no problems running liberum alongside other ms sql db's and using your IIS setup. I take it you have created the db on the ms sql server? and have filled in the settings.asp file to point to this server?

Top 10 Contributor
53 Posts

regarding the parent path try this:

 

Internet Information Services 7.0

  1. Start Internet Services Manager.
  2. Click Default Web Site, and then click Properties.
  3. Double-click ASP in the Features pane.
  4. Expand Behavior.
  5. Click Enable Parent Paths.
  6. Click True for Enable Parent Paths.
  7. Click Apply.

Internet Information Services 6.0

  1. Open the Internet Services Manager in the Microsoft Management Console (MMC).
  2. Right-click on your Default Web Site and select Properties.
  3. Click the Home Directory tab.
  4. Click the Configuration button.
  5. Click the App Options tab.
  6. Click to select the Enable Parent Paths checkbox.
  7. Click the OK button until you return to the MMC.
Top 25 Contributor
14 Posts

 

May be a problem?

Top 25 Contributor
14 Posts

Don't even know which version of IIS it is but it is the one installed with Windows Server 2003.

After enabling parent path get

Active Server Pages error 'ASP 0126'

Include file not found

/S1Helpdesk/admin/Default.asp, line 24

The include file '..settings.asp' was not found.

however as the png above showed (very small) S1Helpdesk was not listed as a child here to use the new setting on the only thing listed was the searchstar.


 


Top 10 Contributor
53 Posts

ok this is quite hard to think what could be wrong/try remotely.  can we look to setup another seperate website or do you need this to be part of the same "default web site"

we can then enable host headers so you can access the sites like so:

default - http://servername

heldesk - http://helpdesk.domainname

etc..

this should allow us to do changes/play about without it affecting any other pages/sites you have.

Top 10 Contributor
53 Posts

also if you have any remote capabilities e.g. logmein or vnc or teamviewer and your company policy allows I could dial-in and try see what the problem is/setup the helpdesk. obviously you want a remote software that will show you what is being done ont he console (like logmein, vnc or teamviewer) remote desktop is ok too if you have setup the remote view capability.

Michael.

Top 25 Contributor
14 Posts

Cannot allow the remote access which is a great pity.

Top 25 Contributor
14 Posts

To confirm it is IIS 6.0 but I think that you know that.  I should n't think that it needs to be part of the same default web site.

I like the idea of http://helpdesk.domainname if we can get this to work so can you talk me through enable host headers? and what else needs to be done? 

 

 

 

Top 10 Contributor
53 Posts

open IIS and right click web sites and then go down to new > web site. then enter a desciption e.g. HelpDesk. then leave IP and Port alone unless you have a reason to change and enter something like helpdesk.yourdomain.local in the host header bit. then in the path type something like C:\inetpub\wwwroot\helpdesk this is where you want to store all the webpages for the helpdesk. leave anonymous access ticked. then leave read access ticked for now.

you will need to add a dns entry on your dns server (usually your DC) under the mydomain.local section for the helpdesk you have just created and point it to the IP of the IIS server.

then copy all the helpdesk web pages to the c:\inetpub\wwwroot\helpdesk folder and then you should be able to browse to http://helpdesk.mydoman.local this assumes you have setup and enabled .asp on the IIS.

Top 25 Contributor
14 Posts

Couldn't get back to settings.asp after following your instructions but did get to admin and started to configure things are looking more hopeful.

Top 10 Contributor
53 Posts

ok, drop a line if you need any more help.

Top 25 Contributor
14 Posts

I want to use email and I knew that a 2003 server does not have CDONTS so downloaded CDO and installed this. I had to install outlook 2007 first because the server unsurprisingly did not have office on it but it does now.  I then installed CDONTS no errors or anything. I went back to config and chose CDONTS because I had it on disabled before. However I am not getting

Application Error

Number: 424 0x000001A8

Source: Microsoft VBScript Runtime error.

Description: Object required

No more Information is available.

Have tried rebooting server but it hasn't go me any further. I am logged onto the server as Administrator. I am going to log in with the owner of the account which has the Helpdesk admin address and have outlook 2007 build a profile to see if this fixes it. Would again be very grateful of help.

 

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